diff mbox series

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

Message ID 20240730222439.3469-6-quic_eserrao@quicinc.com (mailing list archive)
State Changes Requested
Headers show
Series Enable EUD on Qualcomm sm8450 SoC | expand

Commit Message

Elson Roy Serrao July 30, 2024, 10:24 p.m. UTC
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 mbox series

Patch

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";