b3a774e3403c887fdc163e6c3fee133b202e5e7e
[openwrt/staging/blogic.git] /
1 From f527cb6f3345f7faa8e61dd9f3c437437327428c Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Mon, 9 Nov 2020 11:41:01 -0800
4 Subject: [PATCH] ARM: dts: BCM5301X: Update Ethernet switch node name
5
6 Update the switch unit name from srab to ethernet-switch, allowing us to
7 fix warnings such as:
8
9 CHECK arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dt.yaml
10 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dt.yaml:
11 srab@18007000: $nodename:0: 'srab@18007000' does not match
12 '^(ethernet-)?switch(@.*)?$'
13 From schema:
14 Documentation/devicetree/bindings/net/dsa/b53.yaml
15
16 Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
17 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
18 ---
19 arch/arm/boot/dts/bcm5301x.dtsi | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22 --- a/arch/arm/boot/dts/bcm5301x.dtsi
23 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
24 @@ -485,7 +485,7 @@
25 };
26 };
27
28 - srab: srab@18007000 {
29 + srab: ethernet-switch@18007000 {
30 compatible = "brcm,bcm5301x-srab";
31 reg = <0x18007000 0x1000>;
32