arm64: dts: lx2160a-cex7: add on-module eeproms
authorRabeeh Khoury <rabeeh@solid-run.com>
Thu, 27 Feb 2020 12:06:27 +0000 (12:06 +0000)
committerShawn Guo <shawnguo@kernel.org>
Wed, 11 Mar 2020 07:58:13 +0000 (15:58 +0800)
This patch adds 4 eeprom support on i2c mux channel #0 -
1. Bootable 512Kbit eeprom at address 0x50.
2. Memory SO-DIMMs SPD channels at 0x51 (upper SO-DIMM) and 0x53.
3. 2Kb eeprom at 0x57 will be used by SolidRun to hold manufacturing
   data.

Signed-off-by: Rabeeh Khoury <rabeeh@solid-run.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/fsl-lx2160a-cex7.dtsi

index 01c5420..d87d164 100644 (file)
                #size-cells = <0>;
                reg = <0x77>;
 
+               i2c@0 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       reg = <0>;
+
+                       eeprom@50 {
+                               compatible = "atmel,24c512";
+                               reg = <0x50>;
+                       };
+
+                       eeprom@51 {
+                               compatible = "atmel,spd";
+                               reg = <0x51>;
+                       };
+
+                       eeprom@53 {
+                               compatible = "atmel,spd";
+                               reg = <0x53>;
+                       };
+
+                       eeprom@57 {
+                               compatible = "atmel,24c02";
+                               reg = <0x57>;
+                       };
+               };
+
                i2c@1 {
                        #address-cells = <1>;
                        #size-cells = <0>;