Commit 5c66811c authored by Krishna Kurapati's avatar Krishna Kurapati Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: qcs615-ride: Enable primary USB interface



Enable primary USB controller on QCS615 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: default avatarKrishna Kurapati <quic_kriskura@quicinc.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20241121063007.2737908-3-quic_kriskura@quicinc.com


[bjorn: Fixed subject]
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 4b2769c7
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
@@ -214,6 +214,29 @@ &uart0 {
	status = "okay";
};

&usb_1_hsphy {
	vdd-supply = <&vreg_l5a>;
	vdda-pll-supply = <&vreg_l12a>;
	vdda-phy-dpdm-supply = <&vreg_l13a>;

	status = "okay";
};

&usb_qmpphy {
	vdda-phy-supply = <&vreg_l5a>;
	vdda-pll-supply = <&vreg_l12a>;

	status = "okay";
};

&usb_1 {
	status = "okay";
};

&usb_1_dwc3 {
	dr_mode = "peripheral";
};

&watchdog {
	clocks = <&sleep_clk>;
};