summaryrefslogtreecommitdiffstats
path: root/arch/arm/dts
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2019-10-28 00:18:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-11-06 11:22:35 +0100
commit3bf910ddb0488689860e8ee6893142a93fdb3cf1 (patch)
treeeb2940a0cb214944cabeb7cc72bb2ceffd9de4e6 /arch/arm/dts
parent6fb978dd7162b4aa708eb415f2bb1278403e041c (diff)
downloadbarebox-3bf910ddb0488689860e8ee6893142a93fdb3cf1.tar.gz
barebox-3bf910ddb0488689860e8ee6893142a93fdb3cf1.tar.xz
nvmem: add read support for STM32MP1 bsec OTP
The bsec on the STM32MP157C provides a 380 byte OTP. Add initial support for reading and writing the shadow copy of the fuses. Direct fuse access is not yet supported. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r--arch/arm/dts/stm32mp157c.dtsi4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/stm32mp157c.dtsi b/arch/arm/dts/stm32mp157c.dtsi
index 8d9c84a047..771139c28a 100644
--- a/arch/arm/dts/stm32mp157c.dtsi
+++ b/arch/arm/dts/stm32mp157c.dtsi
@@ -20,3 +20,7 @@
gpio25 = &gpioz;
};
};
+
+&bsec {
+ barebox,provide-mac-address = <&ethernet0 0x39>;
+};