ARM: mvebu: clearfog: add EEPROM devices
authorBaruch Siach <baruch@tkos.co.il>
Mon, 20 Jan 2020 12:20:09 +0000 (14:20 +0200)
committerStefan Roese <sr@denx.de>
Tue, 21 Jan 2020 14:55:46 +0000 (15:55 +0100)
Add device-tree description for the EEPROM devices on Armada 388 SOM rev
2.1.

Another EEPROM is now on Clearfog Pro carrier rev 2.2, and Clearfog Base
rev 1.3.

Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
arch/arm/dts/armada-388-clearfog-u-boot.dtsi
arch/arm/dts/armada-388-clearfog.dts
arch/arm/dts/armada-38x-solidrun-microsom.dtsi

index 38e4f3d..20f5c8f 100644 (file)
 &ahci1 {
        u-boot,dm-spl;
 };
+
+&i2c0 {
+       u-boot,dm-spl;
+
+       eeprom@52 {
+               u-boot,dm-spl;
+       };
+
+       eeprom@53 {
+               u-boot,dm-spl;
+       };
+};
index 4ddeaa0..e4164f4 100644 (file)
                compatible = "microchip,mcp3021";
                reg = <0x4c>;
        };
+
+       eeprom@52 {
+               compatible = "atmel,24c02";
+               reg = <0x52>;
+               pagesize = <16>;
+       };
 };
 
 &i2c1 {
index a262722..a322a28 100644 (file)
        status = "okay";
        u-boot,dm-pre-reloc;
 };
+
+&i2c0 {
+       eeprom@53 {
+               compatible = "atmel,24c02";
+               reg = <0x53>;
+               pagesize = <16>;
+       };
+};