bcm53xx: backport DTS 5.13 changes
[openwrt/staging/rmilecki.git] / target / linux / bcm53xx / patches-5.4 / 035-v5.13-0001-ARM-dts-BCM5301X-fix-reg-formatting-in-memory-node.patch
1 From e86d4192855ad5675c6d2fefdb65ecdbfe816a8c Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Tue, 9 Mar 2021 13:52:23 +0100
4 Subject: [PATCH stblinux] ARM: dts: BCM5301X: fix "reg" formatting in /memory
5 node
6 MIME-Version: 1.0
7 Content-Type: text/plain; charset=UTF-8
8 Content-Transfer-Encoding: 8bit
9
10 This fixes warnings/errors like:
11 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dt.yaml: /: memory@0:reg:0: [0, 134217728, 2281701376, 402653184] is too long
12 From schema: /lib/python3.6/site-packages/dtschema/schemas/reg.yaml
13
14 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
15 ---
16 arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts | 4 ++--
17 arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts | 4 ++--
18 arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts | 4 ++--
19 arch/arm/boot/dts/bcm4708-netgear-r6250.dts | 4 ++--
20 arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts | 4 ++--
21 arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts | 4 ++--
22 arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts | 4 ++--
23 arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts | 4 ++--
24 arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts | 4 ++--
25 arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts | 4 ++--
26 arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts | 4 ++--
27 arch/arm/boot/dts/bcm4709-linksys-ea9200.dts | 4 ++--
28 arch/arm/boot/dts/bcm4709-netgear-r7000.dts | 4 ++--
29 arch/arm/boot/dts/bcm4709-netgear-r8000.dts | 4 ++--
30 arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 4 ++--
31 arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 4 ++--
32 arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts | 4 ++--
33 arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts | 4 ++--
34 arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts | 4 ++--
35 arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts | 4 ++--
36 arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts | 4 ++--
37 arch/arm/boot/dts/bcm47094-netgear-r8500.dts | 4 ++--
38 arch/arm/boot/dts/bcm47094-phicomm-k3.dts | 4 ++--
39 23 files changed, 46 insertions(+), 46 deletions(-)
40
41 diff --git a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
42 index 6a96655d8626..8ed403767540 100644
43 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
44 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
45 @@ -21,8 +21,8 @@ chosen {
46
47 memory@0 {
48 device_type = "memory";
49 - reg = <0x00000000 0x08000000
50 - 0x88000000 0x08000000>;
51 + reg = <0x00000000 0x08000000>,
52 + <0x88000000 0x08000000>;
53 };
54
55 leds {
56 diff --git a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
57 index 3b0029e61b4c..667b118ba4ee 100644
58 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
59 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
60 @@ -21,8 +21,8 @@ chosen {
61
62 memory@0 {
63 device_type = "memory";
64 - reg = <0x00000000 0x08000000
65 - 0x88000000 0x08000000>;
66 + reg = <0x00000000 0x08000000>,
67 + <0x88000000 0x08000000>;
68 };
69
70 leds {
71 diff --git a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
72 index 90f57bad6b24..ff31ce45831a 100644
73 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
74 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
75 @@ -21,8 +21,8 @@ chosen {
76
77 memory@0 {
78 device_type = "memory";
79 - reg = <0x00000000 0x08000000
80 - 0x88000000 0x18000000>;
81 + reg = <0x00000000 0x08000000>,
82 + <0x88000000 0x18000000>;
83 };
84
85 spi {
86 diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
87 index fed75e6ab58c..61c7b137607e 100644
88 --- a/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
89 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6250.dts
90 @@ -22,8 +22,8 @@ chosen {
91
92 memory {
93 device_type = "memory";
94 - reg = <0x00000000 0x08000000
95 - 0x88000000 0x08000000>;
96 + reg = <0x00000000 0x08000000>,
97 + <0x88000000 0x08000000>;
98 };
99
100 leds {
101 diff --git a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
102 index 79542e18915c..4c60eda296d9 100644
103 --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
104 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
105 @@ -21,8 +21,8 @@ chosen {
106
107 memory@0 {
108 device_type = "memory";
109 - reg = <0x00000000 0x08000000
110 - 0x88000000 0x08000000>;
111 + reg = <0x00000000 0x08000000>,
112 + <0x88000000 0x08000000>;
113 };
114
115 leds {
116 diff --git a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
117 index 51c64f0b2560..9ca6d1b2590d 100644
118 --- a/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
119 +++ b/arch/arm/boot/dts/bcm4708-smartrg-sr400ac.dts
120 @@ -21,8 +21,8 @@ chosen {
121
122 memory@0 {
123 device_type = "memory";
124 - reg = <0x00000000 0x08000000
125 - 0x88000000 0x08000000>;
126 + reg = <0x00000000 0x08000000>,
127 + <0x88000000 0x08000000>;
128 };
129
130 leds {
131 diff --git a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
132 index c29950b43a95..0e273c598732 100644
133 --- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
134 +++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
135 @@ -21,8 +21,8 @@ chosen {
136
137 memory@0 {
138 device_type = "memory";
139 - reg = <0x00000000 0x08000000
140 - 0x88000000 0x08000000>;
141 + reg = <0x00000000 0x08000000>,
142 + <0x88000000 0x08000000>;
143 };
144
145 leds {
146 diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
147 index 2f2d2b0a6893..d857751ec507 100644
148 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
149 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dts
150 @@ -21,8 +21,8 @@ chosen {
151
152 memory@0 {
153 device_type = "memory";
154 - reg = <0x00000000 0x08000000
155 - 0x88000000 0x08000000>;
156 + reg = <0x00000000 0x08000000>,
157 + <0x88000000 0x08000000>;
158 };
159
160 spi {
161 diff --git a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
162 index 0e349e39f608..8b1a05a0f1a1 100644
163 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
164 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
165 @@ -21,8 +21,8 @@ chosen {
166
167 memory@0 {
168 device_type = "memory";
169 - reg = <0x00000000 0x08000000
170 - 0x88000000 0x08000000>;
171 + reg = <0x00000000 0x08000000>,
172 + <0x88000000 0x08000000>;
173 };
174
175 spi {
176 diff --git a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
177 index 8f1e565c3db4..6c6bb7b17d27 100644
178 --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
179 +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
180 @@ -21,8 +21,8 @@ chosen {
181
182 memory {
183 device_type = "memory";
184 - reg = <0x00000000 0x08000000
185 - 0x88000000 0x08000000>;
186 + reg = <0x00000000 0x08000000>,
187 + <0x88000000 0x08000000>;
188 };
189
190 leds {
191 diff --git a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
192 index ce888b1835d1..d29e7f80ea6a 100644
193 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
194 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
195 @@ -21,8 +21,8 @@ chosen {
196
197 memory {
198 device_type = "memory";
199 - reg = <0x00000000 0x08000000
200 - 0x88000000 0x18000000>;
201 + reg = <0x00000000 0x08000000>,
202 + <0x88000000 0x18000000>;
203 };
204
205 leds {
206 diff --git a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
207 index ed8619b54d69..38fbefdf2e4e 100644
208 --- a/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
209 +++ b/arch/arm/boot/dts/bcm4709-linksys-ea9200.dts
210 @@ -18,8 +18,8 @@ chosen {
211
212 memory {
213 device_type = "memory";
214 - reg = <0x00000000 0x08000000
215 - 0x88000000 0x08000000>;
216 + reg = <0x00000000 0x08000000>,
217 + <0x88000000 0x08000000>;
218 };
219
220 gpio-keys {
221 diff --git a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
222 index 1f87993eae1d..7989a53597d4 100644
223 --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
224 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
225 @@ -21,8 +21,8 @@ chosen {
226
227 memory {
228 device_type = "memory";
229 - reg = <0x00000000 0x08000000
230 - 0x88000000 0x08000000>;
231 + reg = <0x00000000 0x08000000>,
232 + <0x88000000 0x08000000>;
233 };
234
235 leds {
236 diff --git a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
237 index 6c6199a53d09..87b655be674c 100644
238 --- a/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
239 +++ b/arch/arm/boot/dts/bcm4709-netgear-r8000.dts
240 @@ -32,8 +32,8 @@ chosen {
241
242 memory {
243 device_type = "memory";
244 - reg = <0x00000000 0x08000000
245 - 0x88000000 0x08000000>;
246 + reg = <0x00000000 0x08000000>,
247 + <0x88000000 0x08000000>;
248 };
249
250 leds {
251 diff --git a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
252 index 911c65fbf251..e635a15041dd 100644
253 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
254 +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts
255 @@ -21,8 +21,8 @@ chosen {
256
257 memory@0 {
258 device_type = "memory";
259 - reg = <0x00000000 0x08000000
260 - 0x88000000 0x08000000>;
261 + reg = <0x00000000 0x08000000>,
262 + <0x88000000 0x08000000>;
263 };
264
265 nand: nand@18028000 {
266 diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
267 index 3725f2b0d60b..4b24b25389b5 100644
268 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
269 +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts
270 @@ -18,8 +18,8 @@ chosen {
271
272 memory@0 {
273 device_type = "memory";
274 - reg = <0x00000000 0x08000000
275 - 0x88000000 0x08000000>;
276 + reg = <0x00000000 0x08000000>,
277 + <0x88000000 0x08000000>;
278 };
279
280 gpio-keys {
281 diff --git a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
282 index 50f7cd08cfbb..a6dc99955e19 100644
283 --- a/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
284 +++ b/arch/arm/boot/dts/bcm47094-luxul-abr-4500.dts
285 @@ -18,8 +18,8 @@ chosen {
286
287 memory@0 {
288 device_type = "memory";
289 - reg = <0x00000000 0x08000000
290 - 0x88000000 0x18000000>;
291 + reg = <0x00000000 0x08000000>,
292 + <0x88000000 0x18000000>;
293 };
294
295 leds {
296 diff --git a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
297 index bcc420f85b56..ff98837bc0db 100644
298 --- a/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
299 +++ b/arch/arm/boot/dts/bcm47094-luxul-xbr-4500.dts
300 @@ -18,8 +18,8 @@ chosen {
301
302 memory@0 {
303 device_type = "memory";
304 - reg = <0x00000000 0x08000000
305 - 0x88000000 0x18000000>;
306 + reg = <0x00000000 0x08000000>,
307 + <0x88000000 0x18000000>;
308 };
309
310 leds {
311 diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
312 index 4f8d777ae18d..452b8d0ab180 100644
313 --- a/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
314 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwc-2000.dts
315 @@ -18,8 +18,8 @@ chosen {
316
317 memory {
318 device_type = "memory";
319 - reg = <0x00000000 0x08000000
320 - 0x88000000 0x18000000>;
321 + reg = <0x00000000 0x08000000>,
322 + <0x88000000 0x18000000>;
323 };
324
325 leds {
326 diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
327 index e17e9a17fb00..b76bfe6efcd4 100644
328 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
329 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3100.dts
330 @@ -18,8 +18,8 @@ chosen {
331
332 memory@0 {
333 device_type = "memory";
334 - reg = <0x00000000 0x08000000
335 - 0x88000000 0x08000000>;
336 + reg = <0x00000000 0x08000000>,
337 + <0x88000000 0x08000000>;
338 };
339
340 leds {
341 diff --git a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
342 index 60cc87ecc7ec..32d5a50578ec 100644
343 --- a/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
344 +++ b/arch/arm/boot/dts/bcm47094-luxul-xwr-3150-v1.dts
345 @@ -18,8 +18,8 @@ chosen {
346
347 memory@0 {
348 device_type = "memory";
349 - reg = <0x00000000 0x08000000
350 - 0x88000000 0x18000000>;
351 + reg = <0x00000000 0x08000000>,
352 + <0x88000000 0x18000000>;
353 };
354
355 leds {
356 diff --git a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
357 index f42a1703f4ab..42097a4c2659 100644
358 --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
359 +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
360 @@ -18,8 +18,8 @@ chosen {
361
362 memory@0 {
363 device_type = "memory";
364 - reg = <0x00000000 0x08000000
365 - 0x88000000 0x18000000>;
366 + reg = <0x00000000 0x08000000>,
367 + <0x88000000 0x18000000>;
368 };
369
370 leds {
371 diff --git a/arch/arm/boot/dts/bcm47094-phicomm-k3.dts b/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
372 index ac3a4483dcb3..a2566ad4619c 100644
373 --- a/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
374 +++ b/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
375 @@ -15,8 +15,8 @@ / {
376
377 memory@0 {
378 device_type = "memory";
379 - reg = <0x00000000 0x08000000
380 - 0x88000000 0x18000000>;
381 + reg = <0x00000000 0x08000000>,
382 + <0x88000000 0x18000000>;
383 };
384
385 gpio-keys {
386 --
387 2.26.2
388