24689e998b671c7da24a6a418691e556417f483b
[openwrt/staging/hauke.git] /
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
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Provide an empty 'ports' container node with the correct #address-cells
10 and #size-cells properties. This silences the following warning:
11
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
16 From schema:
17 Documentation/devicetree/bindings/net/dsa/b53.yaml
18
19 Acked-by: Rafał Miłecki <rafal@milecki.pl>
20 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
21 ---
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(-)
35
36 --- a/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
37 +++ b/arch/arm/boot/dts/bcm4708-luxul-xap-1510.dts
38 @@ -61,9 +61,6 @@
39 status = "okay";
40
41 ports {
42 - #address-cells = <1>;
43 - #size-cells = <0>;
44 -
45 port@0 {
46 reg = <0>;
47 label = "poe";
48 --- a/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
49 +++ b/arch/arm/boot/dts/bcm4708-luxul-xwc-1000.dts
50 @@ -68,9 +68,6 @@
51 status = "okay";
52
53 ports {
54 - #address-cells = <1>;
55 - #size-cells = <0>;
56 -
57 port@4 {
58 reg = <4>;
59 label = "lan";
60 --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
61 +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
62 @@ -122,9 +122,6 @@
63 status = "okay";
64
65 ports {
66 - #address-cells = <1>;
67 - #size-cells = <0>;
68 -
69 port@0 {
70 reg = <0>;
71 label = "lan4";
72 --- a/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
73 +++ b/arch/arm/boot/dts/bcm47081-luxul-xap-1410.dts
74 @@ -61,9 +61,6 @@
75 status = "okay";
76
77 ports {
78 - #address-cells = <1>;
79 - #size-cells = <0>;
80 -
81 port@4 {
82 reg = <4>;
83 label = "poe";
84 --- a/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
85 +++ b/arch/arm/boot/dts/bcm47081-luxul-xwr-1200.dts
86 @@ -109,9 +109,6 @@
87 status = "okay";
88
89 ports {
90 - #address-cells = <1>;
91 - #size-cells = <0>;
92 -
93 port@0 {
94 reg = <0>;
95 label = "lan4";
96 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
97 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
98 @@ -201,9 +201,6 @@
99 dsa,member = <0 0>;
100
101 ports {
102 - #address-cells = <1>;
103 - #size-cells = <0>;
104 -
105 port@1 {
106 reg = <1>;
107 label = "lan7";
108 --- a/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
109 +++ b/arch/arm/boot/dts/bcm47094-luxul-xap-1610.dts
110 @@ -59,9 +59,6 @@
111 status = "okay";
112
113 ports {
114 - #address-cells = <1>;
115 - #size-cells = <0>;
116 -
117 port@0 {
118 reg = <0>;
119 label = "poe";
120 --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
121 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
122 @@ -57,9 +57,6 @@
123 status = "okay";
124
125 ports {
126 - #address-cells = <1>;
127 - #size-cells = <0>;
128 -
129 port@0 {
130 reg = <0>;
131 label = "lan";
132 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
133 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
134 @@ -108,9 +108,6 @@
135 status = "okay";
136
137 ports {
138 - #address-cells = <1>;
139 - #size-cells = <0>;
140 -
141 port@0 {
142 reg = <0>;
143 label = "lan4";
144 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
145 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
146 @@ -83,9 +83,6 @@
147 status = "okay";
148
149 ports {
150 - #address-cells = <1>;
151 - #size-cells = <0>;
152 -
153 port@0 {
154 reg = <0>;
155 label = "lan4";
156 --- a/arch/arm/boot/dts/bcm5301x.dtsi
157 +++ b/arch/arm/boot/dts/bcm5301x.dtsi
158 @@ -490,6 +490,10 @@
159 status = "disabled";
160
161 /* ports are defined in board DTS */
162 + ports {
163 + #address-cells = <1>;
164 + #size-cells = <0>;
165 + };
166 };
167
168 rng: rng@18004000 {
169 --- a/arch/arm/boot/dts/bcm953012er.dts
170 +++ b/arch/arm/boot/dts/bcm953012er.dts
171 @@ -69,9 +69,6 @@
172 status = "okay";
173
174 ports {
175 - #address-cells = <1>;
176 - #size-cells = <0>;
177 -
178 port@0 {
179 reg = <0>;
180 label = "port0";