[PATCH 5/5] ARM: dts: bcm47094-phicomm-k3: specify switch

Rosen Penev rosenp at gmail.com
Thu Feb 19 18:13:53 PST 2026


bcm-ns.dtsi specifies a default layout that is not correct for the
K3. Also allows setting the WAN MAC address properly.

Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 .../boot/dts/broadcom/bcm47094-phicomm-k3.dts | 43 +++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/arch/arm/boot/dts/broadcom/bcm47094-phicomm-k3.dts b/arch/arm/boot/dts/broadcom/bcm47094-phicomm-k3.dts
index bb1bc4e61bc2..5ed284b8f156 100644
--- a/arch/arm/boot/dts/broadcom/bcm47094-phicomm-k3.dts
+++ b/arch/arm/boot/dts/broadcom/bcm47094-phicomm-k3.dts
@@ -19,6 +19,12 @@ memory at 0 {
 		      <0x88000000 0x18000000>;
 	};
 
+	nvram at 1c080000 {
+		et0macaddr: et0macaddr {
+			#nvmem-cell-cells = <1>;
+		};
+	};
+
 	gpio-keys {
 		compatible = "gpio-keys";
 
@@ -38,6 +44,43 @@ &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 = "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";
+		};
+	};
+};
+
 &nandcs {
 	partitions {
 		compatible = "fixed-partitions";
-- 
2.53.0




More information about the linux-arm-kernel mailing list