diff mbox series

[2/2] arm64: dts: qcom: sm8450-qrd: Enable USB nodes

Message ID 20211216110813.658384-2-vkoul@kernel.org (mailing list archive)
State Accepted
Headers show
Series [1/2] arm64: dts: qcom: sm8450: Add usb nodes | expand

Commit Message

Vinod Koul Dec. 16, 2021, 11:08 a.m. UTC
Enable the usb phy and usb controller in peripheral mode. This helps to
get the adb working with the QRD board.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
---
 arch/arm64/boot/dts/qcom/sm8450-qrd.dts | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts
index 6cf584ebf1ed..13d702946668 100644
--- a/arch/arm64/boot/dts/qcom/sm8450-qrd.dts
+++ b/arch/arm64/boot/dts/qcom/sm8450-qrd.dts
@@ -376,3 +376,26 @@  &ufs_mem_phy {
 	vdda-max-microamp = <173000>;
 	vdda-pll-max-microamp = <24900>;
 };
+
+&usb_1 {
+	status = "okay";
+};
+
+&usb_1_dwc3 {
+	dr_mode = "peripheral";
+};
+
+&usb_1_hsphy {
+	status = "okay";
+
+	vdda-pll-supply = <&vreg_l5b_0p88>;
+	vdda18-supply = <&vreg_l1c_1p8>;
+	vdda33-supply = <&vreg_l2b_3p07>;
+};
+
+&usb_1_qmpphy {
+	status = "okay";
+
+	vdda-phy-supply = <&vreg_l6b_1p2>;
+	vdda-pll-supply = <&vreg_l1b_0p91>;
+};