diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-11-23 10:03:33 +0100 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2021-11-23 15:58:17 -0800 |
commit | 1a46061a2a4130a08841941ce6dcaa32be2ce312 (patch) | |
tree | bd5bbca642f90219f6e450dbc4ca164f2fa47ba5 /arch/arm/boot/dts/bcm5301x.dtsi | |
parent | 31fd9b79dc580301c53a001482755ba7e88c2809 (diff) | |
download | lwn-1a46061a2a4130a08841941ce6dcaa32be2ce312.tar.gz lwn-1a46061a2a4130a08841941ce6dcaa32be2ce312.zip |
ARM: dts: BCM5301X: use non-deprecated USB 2.0 PHY binding
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>
Diffstat (limited to 'arch/arm/boot/dts/bcm5301x.dtsi')
-rw-r--r-- | arch/arm/boot/dts/bcm5301x.dtsi | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index e1cffef4935a..588e57db6859 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -148,15 +148,6 @@ }; }; - 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>; @@ -448,7 +439,16 @@ "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>; }; |