arm64: dts: qcom: sm8450-qrd: Enable USB nodes
authorVinod Koul <vkoul@kernel.org>
Thu, 16 Dec 2021 11:08:13 +0000 (16:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 21 Dec 2021 05:17:44 +0000 (23:17 -0600)
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>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20211216110813.658384-2-vkoul@kernel.org
arch/arm64/boot/dts/qcom/sm8450-qrd.dts

index 4b7ad19..b68ab24 100644 (file)
        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>;
+};