Skip to contentSkip to conversation

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

PATCH Applied Rafał Miłecki 2 participants 2 messages Oct 24, 2023

Subsystems (2)
lore
Share & tools
lore

Rafał Miłecki

author maintainer
#0 lore raw

PATCH 1/1 ARM: dts: BCM5301X: Set switch ports for Linksys EA9200

From: Rafał Miłecki <[email protected]>

This patch was developed as OpenWrt downstream change and was recently confirmed to work as expected.

---
 .../dts/broadcom/bcm4709-linksys-ea9200.dts   | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)
arch/arm/boot/dts/broadcom/bcm4709-linksys-ea9200.dts +38 -0
index 99253fd7adb3..2ba5adf2b7e7 100644
@@ -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";
+		};
+	};
+};
Signature · 1 line
2.35.3