ARM: dts: BCM5301X: use non-deprecated USB 2.0 PHY binding
authorRafał Miłecki <rafal@milecki.pl>
Tue, 23 Nov 2021 09:03:33 +0000 (10:03 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Tue, 23 Nov 2021 23:58:17 +0000 (15:58 -0800)
The new binding covers a single reg and uses syscon to reference shared
register.

References: 55b9b741712d ("dt-bindings: phy: brcm,ns-usb2-phy: bind just a PHY block")
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
arch/arm/boot/dts/bcm5301x.dtsi

index e1cffef..588e57d 100644 (file)
                };
        };
 
-       usb2_phy: usb2-phy@1800c000 {
-               compatible = "brcm,ns-usb2-phy";
-               reg = <0x1800c000 0x1000>;
-               reg-names = "dmu";
-               #phy-cells = <0>;
-               clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
-               clock-names = "phy-ref-clk";
-       };
-
        axi@18000000 {
                compatible = "brcm,bus-axi";
                reg = <0x18000000 0x1000>;
                                                     "sata1", "sata2";
                        };
 
-                       syscon@180 {
+                       usb2_phy: phy@164 {
+                               compatible = "brcm,ns-usb2-phy";
+                               reg = <0x164 0x4>;
+                               brcm,syscon-clkset = <&cru_clkset>;
+                               clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
+                               clock-names = "phy-ref-clk";
+                               #phy-cells = <0>;
+                       };
+
+                       cru_clkset: syscon@180 {
                                compatible = "brcm,cru-clkset", "syscon";
                                reg = <0x180 0x4>;
                        };