ARM: dts: BCM5301X: Update Ethernet switch node name

Update the switch unit name from srab to ethernet-switch, allowing us to
fix warnings such as:

  CHECK   arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dt.yaml
arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dt.yaml:
srab@18007000: $nodename:0: 'srab@18007000' does not match
'^(ethernet-)?switch(@.*)?$'
        From schema:
Documentation/devicetree/bindings/net/dsa/b53.yaml

Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
This commit is contained in:
Florian Fainelli 2020-11-09 11:41:01 -08:00
parent d2868fc933
commit f527cb6f33
1 changed files with 1 additions and 1 deletions

View File

@ -483,7 +483,7 @@ thermal: thermal@2c0 {
}; };
}; };
srab: srab@18007000 { srab: ethernet-switch@18007000 {
compatible = "brcm,bcm5301x-srab"; compatible = "brcm,bcm5301x-srab";
reg = <0x18007000 0x1000>; reg = <0x18007000 0x1000>;