arm64: dts: qcom: sc7280: Set the default dr_mode for usb2
authorSouradeep Chowdhury <quic_schowdhu@quicinc.com>
Tue, 8 Feb 2022 17:54:28 +0000 (23:24 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Feb 2022 11:01:02 +0000 (12:01 +0100)
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>
arch/arm64/boot/dts/qcom/sc7280-idp.dts

index 9b991ba5daaf00570b85f49ea799a5b5b5b31a28..f40eaa51b5bc29714b3a4f8c7376183ae34b3706 100644 (file)
        modem-init;
 };
 
+&usb_2_dwc3 {
+       dr_mode = "otg";
+};
+
 &pmk8350_rtc {
        status = "okay";
 };