ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
authorEugen Hristev <eugen.hristev@microchip.com>
Tue, 7 Jun 2022 09:04:54 +0000 (12:04 +0300)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Tue, 28 Jun 2022 09:55:32 +0000 (12:55 +0300)
The board has a microchip 24aa025e48 eeprom, which is a 2 Kbits memory,
so it's compatible with at24c02 not at24c32.
Also the size property is wrong, it's not 128 bytes, but 256 bytes.
Thus removing and leaving it to the default (256).

Fixes: 1e5f532c27371 ("ARM: dts: at91: sam9x60: add device tree for soc and board")
Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220607090455.80433-1-eugen.hristev@microchip.com
arch/arm/boot/dts/at91-sam9x60ek.dts

index 7719ea3..81ccb06 100644 (file)
                status = "okay";
 
                eeprom@53 {
-                       compatible = "atmel,24c32";
+                       compatible = "atmel,24c02";
                        reg = <0x53>;
                        pagesize = <16>;
-                       size = <128>;
                        status = "okay";
                };
        };