summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSouradeep Chowdhury <quic_schowdhu@quicinc.com>2022-02-08 23:24:28 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-02-11 12:01:02 +0100
commitc18553956f34819e224a79c9890eba2ba0604e15 (patch)
tree5ceee353a40106a8c68fdba8f79772968d1a8e5c
parenta0c68e493007a8c72b6b00f6ac95590a86edc937 (diff)
arm64: dts: qcom: sc7280: Set the default dr_mode for usb2
Set the default dr_mode for usb2 node to "otg" to enable role-switch for EUD(Embedded USB Debugger) connector node. Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com> Link: https://lore.kernel.org/r/22fb3bbc16f3a0ae894068e4420e08ea86389817.1644339918.git.quic_schowdhu@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/arm64/boot/dts/qcom/sc7280-idp.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
index 9b991ba5daaf..f40eaa51b5bc 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";
};