1 From fd577b41421bc24e2d04cab96d387301b649eb14 Mon Sep 17 00:00:00 2001
2 From: Florian Fainelli <f.fainelli@gmail.com>
3 Date: Mon, 9 Nov 2020 17:20:17 -0800
4 Subject: [PATCH] ARM: dts: BCM5301X: Provide defaults ports container node
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
9 Provide an empty 'ports' container node with the correct #address-cells
10 and #size-cells properties. This silences the following warning:
12 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dt.yaml:
13 ethernet-switch@18007000: 'oneOf' conditional failed, one must be fixed:
14 'ports' is a required property
15 'ethernet-ports' is a required property
17 Documentation/devicetree/bindings/net/dsa/b53.yaml
19 Acked-by: Rafał Miłecki <rafal@milecki.pl>
20 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
22 arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts | 3 ---
23 arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts | 3 ---
24 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 3 ---
25 arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts | 3 ---
26 arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts | 3 ---
27 arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 3 ---
28 arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts | 3 ---
29 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts | 3 ---
30 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 3 ---
31 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 3 ---
32 arch/arm/boot/dts/bcm5301x.dtsi | 4 ++++
33 arch/arm/boot/dts/bcm953012er.dts | 3 ---
34 12 files changed, 4 insertions(+), 33 deletions(-)
36 --- a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
37 +++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
42 - #address-cells = <1>;
48 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
49 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
54 - #address-cells = <1>;
60 --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
61 +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
66 - #address-cells = <1>;
72 --- a/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
73 +++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
78 - #address-cells = <1>;
84 --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
85 +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
90 - #address-cells = <1>;
96 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
97 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
102 - #address-cells = <1>;
108 --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
109 +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
114 - #address-cells = <1>;
120 --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
121 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
126 - #address-cells = <1>;
132 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
133 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
138 - #address-cells = <1>;
144 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
145 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
150 - #address-cells = <1>;
156 --- a/arch/arm/boot/dts/bcm5301x.dtsi
157 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
161 /* ports are defined in board DTS */
163 + #address-cells = <1>;
169 --- a/arch/arm/boot/dts/bcm953012er.dts
170 +++ b/arch/arm/boot/dts/bcm953012er.dts
175 - #address-cells = <1>;