diff mbox series

ARM: dts: BCM5301X: Set switch ports for Linksys EA9200

Message ID 20231024072605.32517-1-zajec5@gmail.com (mailing list archive)
State New, archived
Headers show
Series ARM: dts: BCM5301X: Set switch ports for Linksys EA9200 | expand

Commit Message

Rafał Miłecki Oct. 24, 2023, 7:26 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

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>
---
 .../dts/broadcom/bcm4709-linksys-ea9200.dts   | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)

Comments

Florian Fainelli Oct. 24, 2023, 3:51 p.m. UTC | #1
From: Florian Fainelli <f.fainelli@gmail.com>

On Tue, 24 Oct 2023 09:26:05 +0200, Rafał Miłecki <zajec5@gmail.com> wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
> 
> 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>
> ---

Applied to https://github.com/Broadcom/stblinux/commits/devicetree/next, thanks!
--
Florian
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts b/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts
index 99253fd7adb3..2ba5adf2b7e7 100644
--- a/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts
+++ b/arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts
@@ -47,3 +47,41 @@  button-restart {
 &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";
+		};
+	};
+};