]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ARM: dts: imx7: add nvmem-layout
authorAlexander Feilke <Alexander.Feilke@ew.tq-group.com>
Wed, 27 May 2026 09:37:17 +0000 (11:37 +0200)
committerFrank Li <Frank.Li@nxp.com>
Tue, 2 Jun 2026 17:37:51 +0000 (13:37 -0400)
TQMa7 has board-information located in EEPROM at offset 0x20.
Add necessary nodes and properties for nvmem cell.

Signed-off-by: Alexander Feilke <Alexander.Feilke@ew.tq-group.com>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi

index 2966a33bc528a9968fc30c1d71fa93d3592e88da..020eb0c7c3537cde31052043153100191efe9448 100644 (file)
                reg = <0x50>;
                pagesize = <32>;
                vcc-supply = <&vgen4_reg>;
+
+               nvmem-layout {
+                       compatible = "fixed-layout";
+                       #address-cells = <1>;
+                       #size-cells = <1>;
+
+                       module_info: module-info@20 {
+                               reg = <0x20 0x60>;
+                       };
+               };
        };
 
        at24c02: eeprom@56 {