[PATCH 7/7] ARM: microsom: get MAC address from fuses
Lucas Stach
l.stach at pengutronix.de
Fri Nov 6 08:25:39 PST 2015
The production models have the MAC fuses blown, so we can use a
real MAC address instead of a random one.
Signed-off-by: Lucas Stach <l.stach at pengutronix.de>
---
arch/arm/dts/imx6dl-hummingboard.dts | 4 ++++
arch/arm/dts/imx6q-hummingboard.dts | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/arch/arm/dts/imx6dl-hummingboard.dts b/arch/arm/dts/imx6dl-hummingboard.dts
index 3c35cbaee2c6..231496526065 100644
--- a/arch/arm/dts/imx6dl-hummingboard.dts
+++ b/arch/arm/dts/imx6dl-hummingboard.dts
@@ -19,6 +19,10 @@
};
};
+&ocotp {
+ barebox,provide-mac-address = <&fec 0x620>;
+};
+
&usdhc2 {
#address-cells = <1>;
#size-cells = <1>;
diff --git a/arch/arm/dts/imx6q-hummingboard.dts b/arch/arm/dts/imx6q-hummingboard.dts
index ab4510e874c9..e1d2fa8ce227 100644
--- a/arch/arm/dts/imx6q-hummingboard.dts
+++ b/arch/arm/dts/imx6q-hummingboard.dts
@@ -19,6 +19,10 @@
};
};
+&ocotp {
+ barebox,provide-mac-address = <&fec 0x620>;
+};
+
&usdhc2 {
#address-cells = <1>;
#size-cells = <1>;
--
2.6.1
More information about the barebox
mailing list