[PATCH V4 5/6] arm64: dts: qcom: sc7280: Set the default dr_mode for usb2

From: Souradeep Chowdhury
Date: Fri Jan 21 2022 - 08:55:57 EST


Set the default dr_mode for usb2 node to "otg" to enable
role-switch for EUD(Embedded USB Debugger) connector node.

Signed-off-by: Souradeep Chowdhury <quic_schowdhu@xxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sc7280-idp.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
index 9b991ba..f40eaa5 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts
+++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
@@ -61,6 +61,10 @@
modem-init;
};

+&usb_2_dwc3 {
+ dr_mode = "otg";
+};
+
&pmk8350_rtc {
status = "okay";
};
--
2.7.4