e01927bedfefe55eaf43f2af9a5415c74249f1e7
[openwrt/staging/ansuel.git] /
1 From 1a46061a2a4130a08841941ce6dcaa32be2ce312 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Tue, 23 Nov 2021 10:03:33 +0100
4 Subject: [PATCH] ARM: dts: BCM5301X: use non-deprecated USB 2.0 PHY binding
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 The new binding covers a single reg and uses syscon to reference shared
10 register.
11
12 References: 55b9b741712d ("dt-bindings: phy: brcm,ns-usb2-phy: bind just a PHY block")
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
15 ---
16 arch/arm/boot/dts/bcm5301x.dtsi | 20 ++++++++++----------
17 1 file changed, 10 insertions(+), 10 deletions(-)
18
19 --- a/arch/arm/boot/dts/bcm5301x.dtsi
20 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
21 @@ -148,15 +148,6 @@
22 };
23 };
24
25 - usb2_phy: usb2-phy@1800c000 {
26 - compatible = "brcm,ns-usb2-phy";
27 - reg = <0x1800c000 0x1000>;
28 - reg-names = "dmu";
29 - #phy-cells = <0>;
30 - clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
31 - clock-names = "phy-ref-clk";
32 - };
33 -
34 axi@18000000 {
35 compatible = "brcm,bus-axi";
36 reg = <0x18000000 0x1000>;
37 @@ -450,7 +441,16 @@
38 "sata1", "sata2";
39 };
40
41 - syscon@180 {
42 + usb2_phy: phy@164 {
43 + compatible = "brcm,ns-usb2-phy";
44 + reg = <0x164 0x4>;
45 + brcm,syscon-clkset = <&cru_clkset>;
46 + clocks = <&genpll BCM_NSP_GENPLL_USB_PHY_REF_CLK>;
47 + clock-names = "phy-ref-clk";
48 + #phy-cells = <0>;
49 + };
50 +
51 + cru_clkset: syscon@180 {
52 compatible = "brcm,cru-clkset", "syscon";
53 reg = <0x180 0x4>;
54 };