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 38e4f3d99ac97a563c8af1652f2224fed09b4794..20f5c8fb8ceff4a73a7d527098fdef5c824294e9 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 4ddeaa02f122bd3f46abc5119fcff9858a060a57..e4164f49b24d45f348c275d5cbc18b6d178187c9 100644 (file)
                compatible = "microchip,mcp3021";
                reg = <0x4c>;
        };
+
+       eeprom@52 {
+               compatible = "atmel,24c02";
+               reg = <0x52>;
+               pagesize = <16>;
+       };
 };
 
 &i2c1 {
index a2627223ce3b83dd1b6f7c2788912de31a369c91..a322a28c215c124f66cecc27090e91c4ba7aae1f 100644 (file)
        status = "okay";
        u-boot,dm-pre-reloc;
 };
+
+&i2c0 {
+       eeprom@53 {
+               compatible = "atmel,24c02";
+               reg = <0x53>;
+               pagesize = <16>;
+       };
+};