[PATCH 4/5] ARM: dts: bcm4708-linksys-ea6300-v1: specify switch
Rosen Penev
rosenp at gmail.com
Thu Feb 19 18:13:52 PST 2026
bcm-ns.dtsi specifies a default layout that is not correct for the
EA6300. Also allows setting the WAN MAC address properly.
Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
.../broadcom/bcm4708-linksys-ea6300-v1.dts | 45 +++++++++++++++++++
1 file changed, 45 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 0ed25bf71f0d..44cf867b223d 100644
--- a/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts
+++ b/arch/arm/boot/dts/broadcom/bcm4708-linksys-ea6300-v1.dts
@@ -24,6 +24,10 @@ memory at 0 {
nvram at 1c080000 {
compatible = "brcm,nvram";
reg = <0x1c080000 0x180000>;
+
+ et0macaddr: et0macaddr {
+ #nvmem-cell-cells = <1>;
+ };
};
gpio-keys {
@@ -46,3 +50,44 @@ 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";
+
+ nvmem-cells = <&et0macaddr 1>;
+ nvmem-cell-names = "mac-address";
+ };
+
+ port at 5 {
+ label = "cpu";
+ };
+
+ port at 7 {
+ status = "disabled";
+ };
+
+ port at 8 {
+ status = "disabled";
+ };
+ };
+};
--
2.53.0
More information about the linux-arm-kernel
mailing list