| From 51e40c25aa18d926a8eb1c07289d01611b21123a Mon Sep 17 00:00:00 2001 |
| From: Florian Fainelli <f.fainelli@gmail.com> |
| Date: Mon, 9 Nov 2020 17:44:33 -0800 |
| Subject: [PATCH 16/16] ARM: dts: NSP: Provide defaults ports container node |
| |
| Provide an empty 'ports' container node with the correct #address-cells |
| and #size-cells properties. This silences the following warning: |
| |
| arch/arm/boot/dts/bcm958522er.dt.yaml: |
| ethernet-switch@36000: 'oneOf' conditional failed, one must be fixed: |
| 'ports' is a required property |
| 'ethernet-ports' is a required property |
| 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> |
| --- |
| arch/arm/boot/dts/bcm-nsp.dtsi | 4 ++++ |
| arch/arm/boot/dts/bcm958622hr.dts | 3 --- |
| arch/arm/boot/dts/bcm958623hr.dts | 3 --- |
| arch/arm/boot/dts/bcm958625hr.dts | 3 --- |
| arch/arm/boot/dts/bcm958625k.dts | 3 --- |
| arch/arm/boot/dts/bcm988312hr.dts | 3 --- |
| 6 files changed, 4 insertions(+), 15 deletions(-) |
| |
| --- a/arch/arm/boot/dts/bcm-nsp.dtsi |
| +++ b/arch/arm/boot/dts/bcm-nsp.dtsi |
| @@ -418,6 +418,10 @@ |
| status = "disabled"; |
| |
| /* ports are defined in board DTS */ |
| + ports { |
| + #address-cells = <1>; |
| + #size-cells = <0>; |
| + }; |
| }; |
| |
| i2c0: i2c@38000 { |
| --- a/arch/arm/boot/dts/bcm958622hr.dts |
| +++ b/arch/arm/boot/dts/bcm958622hr.dts |
| @@ -172,9 +172,6 @@ |
| status = "okay"; |
| |
| ports { |
| - #address-cells = <1>; |
| - #size-cells = <0>; |
| - |
| port@0 { |
| label = "port0"; |
| reg = <0>; |
| --- a/arch/arm/boot/dts/bcm958623hr.dts |
| +++ b/arch/arm/boot/dts/bcm958623hr.dts |
| @@ -176,9 +176,6 @@ |
| status = "okay"; |
| |
| ports { |
| - #address-cells = <1>; |
| - #size-cells = <0>; |
| - |
| port@0 { |
| label = "port0"; |
| reg = <0>; |
| --- a/arch/arm/boot/dts/bcm958625hr.dts |
| +++ b/arch/arm/boot/dts/bcm958625hr.dts |
| @@ -196,9 +196,6 @@ |
| status = "okay"; |
| |
| ports { |
| - #address-cells = <1>; |
| - #size-cells = <0>; |
| - |
| port@0 { |
| label = "port0"; |
| reg = <0>; |
| --- a/arch/arm/boot/dts/bcm958625k.dts |
| +++ b/arch/arm/boot/dts/bcm958625k.dts |
| @@ -212,9 +212,6 @@ |
| status = "okay"; |
| |
| ports { |
| - #address-cells = <1>; |
| - #size-cells = <0>; |
| - |
| port@0 { |
| label = "port0"; |
| reg = <0>; |
| --- a/arch/arm/boot/dts/bcm988312hr.dts |
| +++ b/arch/arm/boot/dts/bcm988312hr.dts |
| @@ -184,9 +184,6 @@ |
| status = "okay"; |
| |
| ports { |
| - #address-cells = <1>; |
| - #size-cells = <0>; |
| - |
| port@0 { |
| label = "port0"; |
| reg = <0>; |