[PATCH 5/8] arm64: dts: qcom: Enable EUD on sm8450 hdk

Elson Roy Serrao
2024-07-30T22:24:49Z

Enable EUD on sm8450 hdk and route the role switch endpoints
accordingly.

Signed-off-by: Elson Roy Serrao <quic_eserrao@quicinc.com>
---
arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
index a754b8fe9167..21a63ad81aac 100644
--- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
@@ -111,7 +111,7 @@
reg = <0>;

pmic_glink_hs_in: endpoint {
- remote-endpoint = <&usb_1_dwc3_hs>;
+ remote-endpoint = <&eud_con>;
};
};

@@ -1102,9 +1102,22 @@
};

&usb_1_dwc3_hs {
+ remote-endpoint = <&eud_ep>;
+};
+
+&eud {
+ status = "okay";
+ usb-role-switch;
+};
+
+&eud_con {
remote-endpoint = <&pmic_glink_hs_in>;
};

+&eud_ep {
+ remote-endpoint = <&usb_1_dwc3_hs>;
+};
+
&usb_1_hsphy {
status = "okay";

--
2.17.1