[PATCH v2 17/22] ARM: dts: BCM5301X: WXR-1900DHP: specify switch

Rosen Penev rosenp at gmail.com
Thu Nov 19 00:54:47 PST 2026


Add labels to clarify which port is what.

Use port 5 (gmac0) as the CPU port. No MAC address is described for the
board, so gmac2 would get the SPROM fallback et2macaddr, which these
boards do not set, while gmac0 gets et0macaddr.

The port mapping is taken from OpenWrt.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 .../broadcom/bcm4709-buffalo-wxr-1900dhp.dts  | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm/boot/dts/broadcom/bcm4709-buffalo-wxr-1900dhp.dts b/arch/arm/boot/dts/broadcom/bcm4709-buffalo-wxr-1900dhp.dts
index b7cd2faa30ce..6543eb8aa9f5 100644
--- a/arch/arm/boot/dts/broadcom/bcm4709-buffalo-wxr-1900dhp.dts
+++ b/arch/arm/boot/dts/broadcom/bcm4709-buffalo-wxr-1900dhp.dts
@@ -130,3 +130,41 @@ &spi_nor {
 &usb3_phy {
 	status = "okay";
 };
+
+&srab {
+	status = "okay";
+
+	ports {
+		port at 0 {
+			label = "lan1";
+		};
+
+		port at 1 {
+			label = "lan2";
+		};
+
+		port at 2 {
+			label = "lan3";
+		};
+
+		port at 3 {
+			label = "lan4";
+		};
+
+		port at 4 {
+			label = "wan";
+		};
+
+		port at 5 {
+			label = "cpu";
+		};
+
+		port at 7 {
+			status = "disabled";
+		};
+
+		port at 8 {
+			status = "disabled";
+		};
+	};
+};
-- 
2.56.1




More information about the linux-arm-kernel mailing list