[PATCH v2 15/22] ARM: dts: BCM5301X: WZR-900DHP: specify switch

Rosen Penev rosenp at gmail.com
Thu Nov 19 00:54:45 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/bcm47081-buffalo-wzr-900dhp.dts  | 38 +++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts b/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts
index 7655e4ff2d1c..6cb27ea2dd94 100644
--- a/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts
+++ b/arch/arm/boot/dts/broadcom/bcm47081-buffalo-wzr-900dhp.dts
@@ -107,3 +107,41 @@ button-restart {
 &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