bcm53xx: add testing support for kernel 6.6
[openwrt/staging/stintel.git] / target / linux / bcm53xx / patches-6.6 / 030-v6.7-0007-ARM-dts-BCM5301X-Set-switch-ports-for-Linksys-EA9200.patch
1 From 253358f373492608348136e569366d73cb969f6a Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Tue, 24 Oct 2023 09:26:05 +0200
4 Subject: [PATCH] ARM: dts: BCM5301X: Set switch ports for Linksys EA9200
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 This patch was developed as OpenWrt downstream change and was recently
10 confirmed to work as expected.
11
12 Tested-by: Rani Hod <rani.hod@gmail.com>
13 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
14 Link: https://lore.kernel.org/r/20231024072605.32517-1-zajec5@gmail.com
15 Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
16 ---
17 .../dts/broadcom/bcm4709-linksys-ea9200.dts | 38 +++++++++++++++++++
18 1 file changed, 38 insertions(+)
19
20 --- a/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts
21 +++ b/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts
22 @@ -47,3 +47,41 @@
23 &usb3_phy {
24 status = "okay";
25 };
26 +
27 +&srab {
28 + status = "okay";
29 +
30 + ports {
31 + port@0 {
32 + label = "lan1";
33 + };
34 +
35 + port@1 {
36 + label = "lan2";
37 + };
38 +
39 + port@2 {
40 + label = "lan3";
41 + };
42 +
43 + port@3 {
44 + label = "lan4";
45 + };
46 +
47 + port@4 {
48 + label = "wan";
49 + };
50 +
51 + port@5 {
52 + status = "disabled";
53 + };
54 +
55 + port@7 {
56 + status = "disabled";
57 + };
58 +
59 + port@8 {
60 + label = "cpu";
61 + };
62 + };
63 +};