]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: tqma7: add eeprom nvmem-layout
authorAlexander Feilke <alexander.feilke@ew.tq-group.com>
Tue, 2 Jun 2026 11:57:53 +0000 (13:57 +0200)
committerFabio Estevam <festevam@gmail.com>
Fri, 5 Jun 2026 15:56:32 +0000 (12:56 -0300)
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
accepted and synchronized.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Alexander Feilke <alexander.feilke@ew.tq-group.com>
arch/arm/dts/imx7s-tqma7-u-boot.dtsi

index 2d1d614cd574282ffa7cc99cdef4d8d30e0413ff..36ce80f0a17c4f0563c76754d0f743d28a49c5ce 100644 (file)
@@ -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@20 {
+                       reg = <0x20 0x60>;
+               };
+       };
+};
+
 &soc {
        bootph-pre-ram;
 };