[PATCH 06/17] ARM: dts: BCM5301X: EA6300: specify switch
Rosen Penev
rosenp at gmail.com
Tue Nov 17 21:47:47 PST 2026
bcm-ns.dtsi specifies a default layout that is not correct for the
EA6300. Also allows setting the WAN MAC address properly.
The port mapping is taken from OpenWrt.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
.../broadcom/bcm4708-linksys-ea6300-v1.dts | 37 +++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts b/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts
index f8dd08cc7cca..bca4c440a499 100644
--- a/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts
+++ b/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts
@@ -59,3 +59,40 @@ &gmac2 {
nvmem-cells = <&et0macaddr 0>;
nvmem-cell-names = "mac-address";
};
+
+&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";
+
+ nvmem-cells = <&et0macaddr 1>;
+ nvmem-cell-names = "mac-address";
+ };
+
+ port at 5 {
+ status = "disabled";
+ };
+
+ port at 7 {
+ status = "disabled";
+ };
+ };
+};
--
2.56.1
More information about the linux-arm-kernel
mailing list