ARM: dts: qcom-sdx65: switch USB QMP PHY to new style of bindings
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Thu, 24 Aug 2023 21:19:52 +0000 (00:19 +0300)
committerBjorn Andersson <andersson@kernel.org>
Tue, 14 Nov 2023 17:05:46 +0000 (11:05 -0600)
Change the USB QMP PHY to use newer style of QMP PHY bindings (single
resource region, no per-PHY subnodes).

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20230824211952.1397699-17-dmitry.baryshkov@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm/boot/dts/qcom/qcom-sdx65.dtsi

index e559adaaeee7a48a6fa1430bc7dcf0ab89d6f8a8..726755c4f8a3cfd74128c3518be981ea2f13ff7a 100644 (file)
 
                usb_qmpphy: phy@ff6000 {
                        compatible = "qcom,sdx65-qmp-usb3-uni-phy";
-                       reg = <0x00ff6000 0x1c8>;
-                       #address-cells = <1>;
-                       #size-cells = <1>;
-                       ranges;
+                       reg = <0x00ff6000 0x2000>;
 
                        clocks = <&gcc GCC_USB3_PHY_AUX_CLK>,
+                                <&gcc GCC_USB3_PRIM_CLKREF_EN>,
                                 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
-                                <&gcc GCC_USB3_PRIM_CLKREF_EN>;
-                       clock-names = "aux", "cfg_ahb", "ref";
+                                <&gcc GCC_USB3_PHY_PIPE_CLK>;
+                       clock-names = "aux",
+                                     "ref",
+                                     "cfg_ahb",
+                                     "pipe";
+                       clock-output-names = "usb3_uni_phy_pipe_clk_src";
+                       #clock-cells = <0>;
+                       #phy-cells = <0>;
 
-                       resets = <&gcc GCC_USB3PHY_PHY_BCR>,
-                                <&gcc GCC_USB3_PHY_BCR>;
-                       reset-names = "phy", "common";
+                       resets = <&gcc GCC_USB3_PHY_BCR>,
+                                <&gcc GCC_USB3PHY_PHY_BCR>;
+                       reset-names = "phy",
+                                     "phy_phy";
 
                        status = "disabled";
 
-                       usb_ssphy: phy@ff6200 {
-                               reg = <0x00ff6e00 0x160>,
-                                     <0x00ff7000 0x1ec>,
-                                     <0x00ff6200 0x1e00>;
-                               #phy-cells = <0>;
-                               #clock-cells = <0>;
-                               clocks = <&gcc GCC_USB3_PHY_PIPE_CLK>;
-                               clock-names = "pipe0";
-                               clock-output-names = "usb3_uni_phy_pipe_clk_src";
-                       };
                };
 
                system_noc: interconnect@1620000 {
                                iommus = <&apps_smmu 0x1a0 0x0>;
                                snps,dis_u2_susphy_quirk;
                                snps,dis_enblslpm_quirk;
-                               phys = <&usb_hsphy>, <&usb_ssphy>;
+                               phys = <&usb_hsphy>, <&usb_qmpphy>;
                                phy-names = "usb2-phy", "usb3-phy";
                        };
                };