ARM: mvebu: update EEPROM description of Armada 388 GP
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 18 Jun 2015 12:38:40 +0000 (14:38 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Thu, 9 Jul 2015 13:28:08 +0000 (15:28 +0200)
Contrary to what the Device Tree indicates, the EEPROM at 0x54 is not
populated, so we get rid of this comment.

However, there is an EEPROM at 0x57, so we add support for this
AT24C64 EEPROM:

$ hexdump -C /sys/bus/i2c/devices/0-0057/eeprom
00000000  0c ff f3 ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
00000010  ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff  |................|
*
00002000

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-388-gp.dts

index 8e11469d01a2f46e931c393ada267e066efc71ea..353c92532e7af9770301daba7a588770cd90b1cd 100644 (file)
                                pinctrl-0 = <&i2c0_pins>;
                                status = "okay";
                                clock-frequency = <100000>;
-                               /*
-                                * The EEPROM located at adresse 54 is needed
-                                * for the boot - DO NOT ERASE IT -
-                                */
 
                                expander0: pca9555@20 {
                                        compatible = "nxp,pca9555";
                                        reg = <0x21>;
                                };
 
+                               eeprom@57 {
+                                       compatible = "atmel,24c64";
+                                       reg = <0x57>;
+                               };
                        };
 
                        serial@12000 {