diff mbox series

[06/10] ARM: dts: NSP: Update ethernet switch node name

Message ID 20201110033113.31090-7-f.fainelli@gmail.com
State New
Headers show
Series Broadcom b53 YAML bindings | expand

Commit Message

Florian Fainelli Nov. 10, 2020, 3:31 a.m. UTC
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

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 arch/arm/boot/dts/bcm-nsp.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Vladimir Oltean Nov. 10, 2020, 10:16 p.m. UTC | #1
On Mon, Nov 09, 2020 at 07:31:09PM -0800, Florian Fainelli wrote:
> 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

> 

> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

> ---


Reviewed-by: Vladimir Oltean <olteanv@gmail.com>


>  arch/arm/boot/dts/bcm-nsp.dtsi | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)

> 

> diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi

> index e895f7cb8c9f..e7d08959d5fe 100644

> --- a/arch/arm/boot/dts/bcm-nsp.dtsi

> +++ b/arch/arm/boot/dts/bcm-nsp.dtsi

> @@ -385,7 +385,7 @@ ccbtimer1: timer@35000 {

>  			clock-names = "apb_pclk";

>  		};

>  

> -		srab: srab@36000 {

> +		srab: ethernet-switch@36000 {

>  			compatible = "brcm,nsp-srab";

>  			reg = <0x36000 0x1000>,

>  			      <0x3f308 0x8>,

> -- 

> 2.25.1

>
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/bcm-nsp.dtsi b/arch/arm/boot/dts/bcm-nsp.dtsi
index e895f7cb8c9f..e7d08959d5fe 100644
--- a/arch/arm/boot/dts/bcm-nsp.dtsi
+++ b/arch/arm/boot/dts/bcm-nsp.dtsi
@@ -385,7 +385,7 @@  ccbtimer1: timer@35000 {
 			clock-names = "apb_pclk";
 		};
 
-		srab: srab@36000 {
+		srab: ethernet-switch@36000 {
 			compatible = "brcm,nsp-srab";
 			reg = <0x36000 0x1000>,
 			      <0x3f308 0x8>,