[PATCH 2/3] ARM: dts: i.MX8MP: move MAC address description to common location

Lucas Stach l.stach at pengutronix.de
Wed Jan 11 10:21:56 PST 2023


All i.MX8MP boards should consult the common fuse locations for the
MAC address of the network interfaces. Also add the second location
for the EQOS network interface.

Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
 arch/arm/dts/imx8mp-evk.dts                | 4 ----
 arch/arm/dts/imx8mp-tqma8mpql-mba8mpxl.dts | 4 ----
 arch/arm/dts/imx8mp.dtsi                   | 1 +
 3 files changed, 1 insertion(+), 8 deletions(-)

diff --git a/arch/arm/dts/imx8mp-evk.dts b/arch/arm/dts/imx8mp-evk.dts
index d992b14882a3..28d8c5f9292e 100644
--- a/arch/arm/dts/imx8mp-evk.dts
+++ b/arch/arm/dts/imx8mp-evk.dts
@@ -68,7 +68,3 @@
 		reg = <0xe0000 0x20000>;
 	};
 };
-
-&ocotp {
-	barebox,provide-mac-address = <&fec 0x640>;
-};
diff --git a/arch/arm/dts/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm/dts/imx8mp-tqma8mpql-mba8mpxl.dts
index c47e7285a703..6e81f58e2786 100644
--- a/arch/arm/dts/imx8mp-tqma8mpql-mba8mpxl.dts
+++ b/arch/arm/dts/imx8mp-tqma8mpql-mba8mpxl.dts
@@ -53,7 +53,3 @@
 		reg = <0xe0000 0x20000>;
 	};
 };
-
-&ocotp {
-	barebox,provide-mac-address = <&fec 0x640>;
-};
diff --git a/arch/arm/dts/imx8mp.dtsi b/arch/arm/dts/imx8mp.dtsi
index 5da79f13d339..379fa49d6042 100644
--- a/arch/arm/dts/imx8mp.dtsi
+++ b/arch/arm/dts/imx8mp.dtsi
@@ -13,6 +13,7 @@
 feat: &ocotp {
 	#feature-cells = <1>;
 	barebox,feature-controller;
+	barebox,provide-mac-address = <&fec 0x640 &eqos 0x650>;
 };
 
 &pgc_mipi_phy1 {
-- 
2.39.0




More information about the barebox mailing list