[PATCH v3 5/7] arm: dts: tqma7: add eeprom nvmem-layout

Alexander Feilke Alexander.Feilke at ew.tq-group.com
Wed May 27 11:51:21 CEST 2026


From: Alexander Feilke <alexander.feilke at ew.tq-group.com>

TQMa7 has board-information located in EEPROM at offset 0x20.
Add necessary nodes and properties for nvmem-cells.

Revert this commit once the upstream linux device trees are
synchronized.

Signed-off-by: Alexander Feilke <alexander.feilke at ew.tq-group.com>
---
 arch/arm/dts/imx7s-tqma7-u-boot.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/dts/imx7s-tqma7-u-boot.dtsi b/arch/arm/dts/imx7s-tqma7-u-boot.dtsi
index 2d1d614cd57..36ce80f0a17 100644
--- a/arch/arm/dts/imx7s-tqma7-u-boot.dtsi
+++ b/arch/arm/dts/imx7s-tqma7-u-boot.dtsi
@@ -9,6 +9,18 @@
 
 #include "imx7s-u-boot.dtsi"
 
+&m24c64 {
+	nvmem-layout {
+		compatible = "fixed-layout";
+		#address-cells = <1>;
+		#size-cells = <1>;
+
+		module_info: module-info at 20 {
+			reg = <0x20 0x60>;
+		};
+	};
+};
+
 &soc {
 	bootph-pre-ram;
 };
-- 
2.34.1



More information about the U-Boot mailing list