Skip to content

Commit 46ee617

Browse files
Krishna Kurapatiandersson
authored andcommitted
arm64: dts: qcom: qcs8300-ride: Enable USB controllers
Enable primary USB controller on QCS8300 Ride platform. The primary USB controller is made "peripheral", as this is intended to be connected to a host for debugging use cases. For using the controller in host mode, changing the dr_mode and adding appropriate pinctrl nodes to provide vbus would be sufficient. Signed-off-by: Krishna Kurapati <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent ceb39e1 commit 46ee617

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

arch/arm64/boot/dts/qcom/qcs8300-ride.dts

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,3 +345,26 @@
345345
vdda-pll-supply = <&vreg_l5a>;
346346
status = "okay";
347347
};
348+
349+
&usb_1_hsphy {
350+
vdda-pll-supply = <&vreg_l7a>;
351+
vdda18-supply = <&vreg_l7c>;
352+
vdda33-supply = <&vreg_l9a>;
353+
354+
status = "okay";
355+
};
356+
357+
&usb_qmpphy {
358+
vdda-phy-supply = <&vreg_l7a>;
359+
vdda-pll-supply = <&vreg_l5a>;
360+
361+
status = "okay";
362+
};
363+
364+
&usb_1 {
365+
status = "okay";
366+
};
367+
368+
&usb_1_dwc3 {
369+
dr_mode = "peripheral";
370+
};

0 commit comments

Comments
 (0)