x86: Add kmod-dwmac-intel
[openwrt/staging/hauke.git] / target / linux / bcm53xx / patches-5.15 / 304-ARM-dts-BCM5301X-Specify-switch-ports-for-remaining-.patch
1 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
2 Subject: [PATCH] ARM: dts: BCM5301X: Specify switch ports for remaining
3 devices
4 MIME-Version: 1.0
5 Content-Type: text/plain; charset=UTF-8
6 Content-Transfer-Encoding: 8bit
7
8 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
9 ---
10
11 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
12 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dts
13 @@ -92,3 +92,41 @@
14 &usb3_phy {
15 status = "okay";
16 };
17 +
18 +&srab {
19 + status = "okay";
20 +
21 + ports {
22 + port@0 {
23 + label = "lan1";
24 + };
25 +
26 + port@1 {
27 + label = "lan2";
28 + };
29 +
30 + port@2 {
31 + label = "lan3";
32 + };
33 +
34 + port@3 {
35 + label = "lan4";
36 + };
37 +
38 + port@4 {
39 + label = "wan";
40 + };
41 +
42 + port@5 {
43 + label = "cpu";
44 + };
45 +
46 + port@7 {
47 + status = "disabled";
48 + };
49 +
50 + port@8 {
51 + status = "disabled";
52 + };
53 + };
54 +};
55 --- a/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
56 +++ b/arch/arm/boot/dts/bcm4708-asus-rt-ac68u.dts
57 @@ -83,3 +83,41 @@
58 &usb3_phy {
59 status = "okay";
60 };
61 +
62 +&srab {
63 + status = "okay";
64 +
65 + ports {
66 + port@0 {
67 + label = "wan";
68 + };
69 +
70 + port@1 {
71 + label = "lan1";
72 + };
73 +
74 + port@2 {
75 + label = "lan2";
76 + };
77 +
78 + port@3 {
79 + label = "lan3";
80 + };
81 +
82 + port@4 {
83 + label = "lan4";
84 + };
85 +
86 + port@5 {
87 + label = "cpu";
88 + };
89 +
90 + port@7 {
91 + status = "disabled";
92 + };
93 +
94 + port@8 {
95 + status = "disabled";
96 + };
97 + };
98 +};
99 --- a/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
100 +++ b/arch/arm/boot/dts/bcm4708-buffalo-wzr-1750dhp.dts
101 @@ -149,3 +149,41 @@
102 &usb3_phy {
103 status = "okay";
104 };
105 +
106 +&srab {
107 + status = "okay";
108 +
109 + ports {
110 + port@0 {
111 + label = "lan1";
112 + };
113 +
114 + port@1 {
115 + label = "lan2";
116 + };
117 +
118 + port@2 {
119 + label = "lan3";
120 + };
121 +
122 + port@3 {
123 + label = "lan4";
124 + };
125 +
126 + port@4 {
127 + label = "wan";
128 + };
129 +
130 + port@5 {
131 + label = "cpu";
132 + };
133 +
134 + port@7 {
135 + status = "disabled";
136 + };
137 +
138 + port@8 {
139 + status = "disabled";
140 + };
141 + };
142 +};
143 --- a/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
144 +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6300-v1.dts
145 @@ -46,3 +46,41 @@
146 &usb3_phy {
147 status = "okay";
148 };
149 +
150 +&srab {
151 + status = "okay";
152 +
153 + ports {
154 + port@0 {
155 + label = "lan1";
156 + };
157 +
158 + port@1 {
159 + label = "lan2";
160 + };
161 +
162 + port@2 {
163 + label = "lan3";
164 + };
165 +
166 + port@3 {
167 + label = "lan4";
168 + };
169 +
170 + port@4 {
171 + label = "wan";
172 + };
173 +
174 + port@5 {
175 + label = "cpu";
176 + };
177 +
178 + port@7 {
179 + status = "disabled";
180 + };
181 +
182 + port@8 {
183 + status = "disabled";
184 + };
185 + };
186 +};
187 --- a/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
188 +++ b/arch/arm/boot/dts/bcm4708-linksys-ea6500-v2.dts
189 @@ -43,3 +43,41 @@
190 &usb3_phy {
191 status = "okay";
192 };
193 +
194 +&srab {
195 + status = "okay";
196 +
197 + ports {
198 + port@0 {
199 + label = "lan1";
200 + };
201 +
202 + port@1 {
203 + label = "lan2";
204 + };
205 +
206 + port@2 {
207 + label = "lan3";
208 + };
209 +
210 + port@3 {
211 + label = "lan4";
212 + };
213 +
214 + port@4 {
215 + label = "wan";
216 + };
217 +
218 + port@5 {
219 + label = "cpu";
220 + };
221 +
222 + port@7 {
223 + status = "disabled";
224 + };
225 +
226 + port@8 {
227 + status = "disabled";
228 + };
229 + };
230 +};
231 --- a/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
232 +++ b/arch/arm/boot/dts/bcm4708-netgear-r6300-v2.dts
233 @@ -86,3 +86,41 @@
234 &usb3_phy {
235 status = "okay";
236 };
237 +
238 +&srab {
239 + status = "okay";
240 +
241 + ports {
242 + port@0 {
243 + label = "lan1";
244 + };
245 +
246 + port@1 {
247 + label = "lan2";
248 + };
249 +
250 + port@2 {
251 + label = "lan3";
252 + };
253 +
254 + port@3 {
255 + label = "lan4";
256 + };
257 +
258 + port@4 {
259 + label = "wan";
260 + };
261 +
262 + port@5 {
263 + label = "cpu";
264 + };
265 +
266 + port@7 {
267 + status = "disabled";
268 + };
269 +
270 + port@8 {
271 + status = "disabled";
272 + };
273 + };
274 +};
275 --- a/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
276 +++ b/arch/arm/boot/dts/bcm47081-asus-rt-n18u.dts
277 @@ -77,3 +77,41 @@
278 &usb3_phy {
279 status = "okay";
280 };
281 +
282 +&srab {
283 + status = "okay";
284 +
285 + ports {
286 + port@0 {
287 + label = "wan";
288 + };
289 +
290 + port@1 {
291 + label = "lan1";
292 + };
293 +
294 + port@2 {
295 + label = "lan2";
296 + };
297 +
298 + port@3 {
299 + label = "lan3";
300 + };
301 +
302 + port@4 {
303 + label = "lan4";
304 + };
305 +
306 + port@5 {
307 + label = "cpu";
308 + };
309 +
310 + port@7 {
311 + status = "disabled";
312 + };
313 +
314 + port@8 {
315 + status = "disabled";
316 + };
317 + };
318 +};
319 --- a/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
320 +++ b/arch/arm/boot/dts/bcm4709-asus-rt-ac87u.dts
321 @@ -77,6 +77,40 @@
322 status = "okay";
323 };
324
325 +&srab {
326 + status = "okay";
327 +
328 + ports {
329 + port@0 {
330 + label = "wan";
331 + };
332 +
333 + port@1 {
334 + label = "lan1";
335 + };
336 +
337 + port@2 {
338 + label = "lan2";
339 + };
340 +
341 + port@3 {
342 + label = "lan3";
343 + };
344 +
345 + port@5 {
346 + status = "disabled";
347 + };
348 +
349 + port@7 {
350 + label = "cpu";
351 + };
352 +
353 + port@8 {
354 + status = "disabled";
355 + };
356 + };
357 +};
358 +
359 &nandcs {
360 partitions {
361 compatible = "fixed-partitions";
362 --- a/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
363 +++ b/arch/arm/boot/dts/bcm4709-buffalo-wxr-1900dhp.dts
364 @@ -130,3 +130,41 @@
365 &usb3_phy {
366 status = "okay";
367 };
368 +
369 +&srab {
370 + status = "okay";
371 +
372 + ports {
373 + port@0 {
374 + label = "lan1";
375 + };
376 +
377 + port@1 {
378 + label = "lan2";
379 + };
380 +
381 + port@2 {
382 + label = "lan3";
383 + };
384 +
385 + port@3 {
386 + label = "lan4";
387 + };
388 +
389 + port@4 {
390 + label = "wan";
391 + };
392 +
393 + port@5 {
394 + label = "cpu";
395 + };
396 +
397 + port@7 {
398 + status = "disabled";
399 + };
400 +
401 + port@8 {
402 + status = "disabled";
403 + };
404 + };
405 +};
406 --- a/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
407 +++ b/arch/arm/boot/dts/bcm4709-netgear-r7000.dts
408 @@ -104,3 +104,41 @@
409 &usb3_phy {
410 status = "okay";
411 };
412 +
413 +&srab {
414 + status = "okay";
415 +
416 + ports {
417 + port@0 {
418 + label = "wan";
419 + };
420 +
421 + port@1 {
422 + label = "lan1";
423 + };
424 +
425 + port@2 {
426 + label = "lan2";
427 + };
428 +
429 + port@3 {
430 + label = "lan3";
431 + };
432 +
433 + port@4 {
434 + label = "lan4";
435 + };
436 +
437 + port@5 {
438 + label = "cpu";
439 + };
440 +
441 + port@7 {
442 + status = "disabled";
443 + };
444 +
445 + port@8 {
446 + status = "disabled";
447 + };
448 + };
449 +};
450 --- a/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
451 +++ b/arch/arm/boot/dts/bcm47094-netgear-r8500.dts
452 @@ -94,3 +94,41 @@
453 &usb3_phy {
454 status = "okay";
455 };
456 +
457 +&srab {
458 + status = "okay";
459 +
460 + ports {
461 + port@0 {
462 + label = "wan";
463 + };
464 +
465 + port@1 {
466 + label = "lan1";
467 + };
468 +
469 + port@2 {
470 + label = "lan2";
471 + };
472 +
473 + port@3 {
474 + label = "lan3";
475 + };
476 +
477 + port@4 {
478 + label = "lan4";
479 + };
480 +
481 + port@5 {
482 + status = "disabled";
483 + };
484 +
485 + port@7 {
486 + status = "disabled";
487 + };
488 +
489 + port@8 {
490 + label = "cpu";
491 + };
492 + };
493 +};
494 --- a/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
495 +++ b/arch/arm/boot/dts/bcm47094-phicomm-k3.dts
496 @@ -38,6 +38,40 @@
497 status = "okay";
498 };
499
500 +&srab {
501 + status = "okay";
502 +
503 + ports {
504 + port@0 {
505 + label = "lan1";
506 + };
507 +
508 + port@1 {
509 + label = "lan2";
510 + };
511 +
512 + port@2 {
513 + label = "lan3";
514 + };
515 +
516 + port@3 {
517 + label = "wan";
518 + };
519 +
520 + port@5 {
521 + label = "cpu";
522 + };
523 +
524 + port@7 {
525 + status = "disabled";
526 + };
527 +
528 + port@8 {
529 + status = "disabled";
530 + };
531 + };
532 +};
533 +
534 &nandcs {
535 partitions {
536 compatible = "fixed-partitions";
537 --- a/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
538 +++ b/arch/arm/boot/dts/bcm47081-tplink-archer-c5-v2.dts
539 @@ -91,6 +91,44 @@
540 };
541 };
542
543 +&srab {
544 + status = "okay";
545 +
546 + ports {
547 + port@0 {
548 + label = "wan";
549 + };
550 +
551 + port@1 {
552 + label = "lan1";
553 + };
554 +
555 + port@2 {
556 + label = "lan2";
557 + };
558 +
559 + port@3 {
560 + label = "lan3";
561 + };
562 +
563 + port@4 {
564 + label = "lan4";
565 + };
566 +
567 + port@5 {
568 + label = "cpu";
569 + };
570 +
571 + port@7 {
572 + status = "disabled";
573 + };
574 +
575 + port@8 {
576 + status = "disabled";
577 + };
578 + };
579 +};
580 +
581 &spi_nor {
582 status = "okay";
583
584 --- a/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
585 +++ b/arch/arm/boot/dts/bcm4709-tplink-archer-c9-v1.dts
586 @@ -100,6 +100,44 @@
587 vcc-gpio = <&chipcommon 12 GPIO_ACTIVE_HIGH>;
588 };
589
590 +&srab {
591 + status = "okay";
592 +
593 + ports {
594 + port@0 {
595 + label = "wan";
596 + };
597 +
598 + port@1 {
599 + label = "lan1";
600 + };
601 +
602 + port@2 {
603 + label = "lan2";
604 + };
605 +
606 + port@3 {
607 + label = "lan3";
608 + };
609 +
610 + port@4 {
611 + label = "lan4";
612 + };
613 +
614 + port@5 {
615 + label = "cpu";
616 + };
617 +
618 + port@7 {
619 + status = "disabled";
620 + };
621 +
622 + port@8 {
623 + status = "disabled";
624 + };
625 + };
626 +};
627 +
628 &spi_nor {
629 status = "okay";
630
631 --- a/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
632 +++ b/arch/arm/boot/dts/bcm47081-buffalo-wzr-900dhp.dts
633 @@ -107,3 +107,42 @@
634 &usb3_phy {
635 status = "okay";
636 };
637 +
638 +&srab {
639 + status = "okay";
640 +
641 + ports {
642 + port@0 {
643 + label = "lan1";
644 + };
645 +
646 + port@1 {
647 + label = "lan2";
648 + };
649 +
650 + port@2 {
651 + label = "lan3";
652 + };
653 +
654 + port@3 {
655 + label = "lan4";
656 + };
657 +
658 + port@4 {
659 + label = "wan";
660 + };
661 +
662 + port@5 {
663 + label = "cpu";
664 + };
665 +
666 + port@7 {
667 + status = "disabled";
668 + };
669 +
670 + port@8 {
671 + status = "disabled";
672 + };
673 + };
674 +};
675 +