ARM: dts: BCM5301X: Set switch ports for Linksys EA9200
authorRafał Miłecki <rafal@milecki.pl>
Tue, 24 Oct 2023 07:26:05 +0000 (09:26 +0200)
committerFlorian Fainelli <florian.fainelli@broadcom.com>
Tue, 24 Oct 2023 15:51:19 +0000 (08:51 -0700)
This patch was developed as OpenWrt downstream change and was recently
confirmed to work as expected.

Tested-by: Rani Hod <rani.hod@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Link: https://lore.kernel.org/r/20231024072605.32517-1-zajec5@gmail.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts

index 99253fd7adb31d65700666ba2936c044a9e7cc32..2ba5adf2b7e7091f317b2829d91b27e227765f91 100644 (file)
 &usb3_phy {
        status = "okay";
 };
+
+&srab {
+       status = "okay";
+
+       ports {
+               port@0 {
+                       label = "lan1";
+               };
+
+               port@1 {
+                       label = "lan2";
+               };
+
+               port@2 {
+                       label = "lan3";
+               };
+
+               port@3 {
+                       label = "lan4";
+               };
+
+               port@4 {
+                       label = "wan";
+               };
+
+               port@5 {
+                       status = "disabled";
+               };
+
+               port@7 {
+                       status = "disabled";
+               };
+
+               port@8 {
+                       label = "cpu";
+               };
+       };
+};