[PATCH] ARM: phycore-imx6ul: use MAC address from OCOTP
Lucas Stach
l.stach at pengutronix.de
Fri Aug 25 07:05:07 PDT 2017
The Phycore MX6UL modules are correctly fused with a MAC address.
Use this for the Barebox network connection and fixing up the kernel
DT.
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
arch/arm/dts/imx6ul-phytec-phycore-som.dtsi | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
index 96beef4e72f7..8cec1296a7f4 100644
--- a/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
+++ b/arch/arm/dts/imx6ul-phytec-phycore-som.dtsi
@@ -176,3 +176,7 @@
};
};
};
+
+&ocotp {
+ barebox,provide-mac-address = <&fec1 0x620 &fec2 0x632>;
+};
--
2.11.0
More information about the barebox
mailing list