From: Alexander Feilke <[email protected]> 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 <[email protected]> --- 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@20 { + reg = <0x20 0x60>; + }; + }; +}; + &soc { bootph-pre-ram; }; -- 2.34.1

