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