[PATCH v2 18/22] ARM: dts: BCM5301X: Archer C5 v2: specify switch
Rosen Penev
rosenp at gmail.com
Thu Nov 19 00:54:48 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-tplink-archer-c5-v2.dts | 38 +++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm47081-tplink-archer-c5-v2.dts b/arch/arm/boot/dts/broadcom/bcm47081-tplink-archer-c5-v2.dts
index b6a5886698b2..54898849b87f 100644
--- a/arch/arm/boot/dts/broadcom/bcm47081-tplink-archer-c5-v2.dts
+++ b/arch/arm/boot/dts/broadcom/bcm47081-tplink-archer-c5-v2.dts
@@ -111,3 +111,41 @@ partition-file-system {
&usb2 {
vcc-gpio = <&chipcommon 9 GPIO_ACTIVE_HIGH>;
};
+
+&srab {
+ status = "okay";
+
+ ports {
+ port at 0 {
+ label = "wan";
+ };
+
+ port at 1 {
+ label = "lan1";
+ };
+
+ port at 2 {
+ label = "lan2";
+ };
+
+ port at 3 {
+ label = "lan3";
+ };
+
+ port at 4 {
+ label = "lan4";
+ };
+
+ 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