1 From 51e40c25aa18d926a8eb1c07289d01611b21123a Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Mon, 9 Nov 2020 17:44:33 -0800
4 Subject: [PATCH 16/16] ARM: dts: NSP: Provide defaults ports container node
6 Provide an empty 'ports' container node with the correct #address-cells
7 and #size-cells properties. This silences the following warning:
9 arch/arm/boot/dts/bcm958522er.dt.yaml:
10 ethernet-switch@36000: 'oneOf' conditional failed, one must be fixed:
11 'ports' is a required property
12 'ethernet-ports' is a required property
14 Documentation/devicetree/bindings/net/dsa/b53.yaml
16 Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
17 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
19 arch/arm/boot/dts/bcm-nsp.dtsi | 4 ++++
20 arch/arm/boot/dts/bcm958622hr.dts | 3 ---
21 arch/arm/boot/dts/bcm958623hr.dts | 3 ---
22 arch/arm/boot/dts/bcm958625hr.dts | 3 ---
23 arch/arm/boot/dts/bcm958625k.dts | 3 ---
24 arch/arm/boot/dts/bcm988312hr.dts | 3 ---
25 6 files changed, 4 insertions(+), 15 deletions(-)
27 --- a/arch/arm/boot/dts/bcm-nsp.dtsi
28 +++ b/arch/arm/boot/dts/bcm-nsp.dtsi
32 /* ports are defined in board DTS */
34 + #address-cells = <1>;
40 --- a/arch/arm/boot/dts/bcm958622hr.dts
41 +++ b/arch/arm/boot/dts/bcm958622hr.dts
46 - #address-cells = <1>;
52 --- a/arch/arm/boot/dts/bcm958623hr.dts
53 +++ b/arch/arm/boot/dts/bcm958623hr.dts
58 - #address-cells = <1>;
64 --- a/arch/arm/boot/dts/bcm958625hr.dts
65 +++ b/arch/arm/boot/dts/bcm958625hr.dts
70 - #address-cells = <1>;
76 --- a/arch/arm/boot/dts/bcm958625k.dts
77 +++ b/arch/arm/boot/dts/bcm958625k.dts
82 - #address-cells = <1>;
88 --- a/arch/arm/boot/dts/bcm988312hr.dts
89 +++ b/arch/arm/boot/dts/bcm988312hr.dts
94 - #address-cells = <1>;