arm64: dts: qcom: sc7280: Move USB2 controller nodes from common dtsi to SKU1
authorSandeep Maheswaram <quic_c_sanm@quicinc.com>
Thu, 2 Dec 2021 05:17:28 +0000 (10:47 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 31 Jan 2022 16:49:48 +0000 (10:49 -0600)
Move USB2 controller and phy nodes from common dtsi file as it is
required only for SKU1 board and change the mode to host mode as
it will be used in host mode for SKU1.

Signed-off-by: Sandeep Maheswaram <quic_c_sanm@quicinc.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1638422248-24221-1-git-send-email-quic_c_sanm@quicinc.com
arch/arm64/boot/dts/qcom/sc7280-idp.dts
arch/arm64/boot/dts/qcom/sc7280-idp.dtsi

index 19bd228760ed9927a778cb03b692c1d201180c69..a7be133a782f3ac84b360adcbbc5073aca373191 100644 (file)
                qcom,pre-scaling = <1 1>;
        };
 };
+
+&usb_2 {
+       status = "okay";
+};
+
+&usb_2_dwc3 {
+       dr_mode = "host";
+};
+
+&usb_2_hsphy {
+       status = "okay";
+
+       vdda-pll-supply = <&vreg_l10c_0p8>;
+       vdda33-supply = <&vreg_l2b_3p0>;
+       vdda18-supply = <&vreg_l1c_1p8>;
+};
index a146d0ddad0f497384d9d2ed12e484c2feaf52c9..e5cd0129ad10ed16afce9fdb4c0649eb92eb17af 100644 (file)
        vdda-pll-supply = <&vreg_l1b_0p8>;
 };
 
-&usb_2 {
-       status = "okay";
-};
-
-&usb_2_dwc3 {
-       dr_mode = "peripheral";
-};
-
-&usb_2_hsphy {
-       status = "okay";
-
-       vdda-pll-supply = <&vreg_l10c_0p8>;
-       vdda33-supply = <&vreg_l2b_3p0>;
-       vdda18-supply = <&vreg_l1c_1p8>;
-};
-
 &uart7 {
        status = "okay";