From d67c6c0f03886f61229c52939e742a640820cc9b Mon Sep 17 00:00:00 2001 From: Krishna Kurapati Date: Tue, 4 Aug 2026 11:15:46 +0530 Subject: [PATCH] WORKAROUND: arm64: dts: qcom: nord-ride-sx: Enable peripheral mode on usb_0 Currently, enabling the second and third usb controllers is resulting in an smmu crash. So enable the primary controller in device mode for adb purpose. Signed-off-by: Krishna Kurapati --- arch/arm64/boot/dts/qcom/nord-ride-sx.dts | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/nord-ride-sx.dts b/arch/arm64/boot/dts/qcom/nord-ride-sx.dts index b6a3c9cc1a86..dfc65c0d4352 100644 --- a/arch/arm64/boot/dts/qcom/nord-ride-sx.dts +++ b/arch/arm64/boot/dts/qcom/nord-ride-sx.dts @@ -77,6 +77,8 @@ gpio = <&pmic_h_gpios 3 GPIO_ACTIVE_HIGH>; enable-active-high; regulator-always-on; + + status = "disabled"; }; }; @@ -544,6 +546,8 @@ vdd1v8-supply = <&vreg_l3l_1p8>; reset-gpios = <&pmic_i_gpios 10 GPIO_ACTIVE_LOW>; + + status = "disabled"; }; usb2_repeater: redriver@47 { @@ -554,7 +558,10 @@ vdd1v8-supply = <&vreg_l3l_1p8>; reset-gpios = <&pmic_l_gpios 3 GPIO_ACTIVE_LOW>; + + status = "disabled"; }; + }; &i2c18 { @@ -612,7 +619,7 @@ }; &usb_0 { - dr_mode = "host"; + dr_mode = "peripheral"; status = "okay"; }; @@ -635,8 +642,6 @@ &usb_1 { dr_mode = "host"; - - status = "okay"; }; &usb_1_hsphy { @@ -644,21 +649,15 @@ vdda12-supply = <&vreg_l2i_1p2>; phys = <&usb1_repeater>; - - status = "okay"; }; &usb_1_qmpphy { vdda-phy-supply = <&vreg_l1h_0p9>; vdda-pll-supply = <&vreg_l2h_1p2>; - - status = "okay"; }; &usb_2 { dr_mode = "host"; - - status = "okay"; }; &usb_2_hsphy { @@ -666,6 +665,4 @@ vdda12-supply = <&vreg_l2i_1p2>; phys = <&usb2_repeater>; - - status = "okay"; };