]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: at91: replace microchip, 24aa02e48 with atmel, at24c02
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 26 May 2022 14:04:54 +0000 (17:04 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Tue, 28 Jun 2022 07:09:45 +0000 (10:09 +0300)
microchip,24aa025e48 does not exist in the bindings of this driver.
It can be replaced with atmel,at24c02 which is a standard compatible
and the memory is compatible with this one, depending on the page size.
microchip 24aa02e48 has a page size of 8, while 24aa025e48 has a page
size of 16 bytes.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
Reviewed-by: Michael Walle <michael@walle.cc>
Reviewed-by: Heiko Schocher <hs@denx.de>
arch/arm/dts/at91-sama5d2_icp.dts
arch/arm/dts/at91-sama7g5ek.dts
arch/arm/dts/sama5d27_som1.dtsi

index 44522197ff67ebc72b68df8be4a011b23cda5dff..0b0db1b2be88ad1c2ec13cecdba9c14abcc79bde 100644 (file)
                                status = "okay";
 
                                eeprom@50 {
-                                       compatible = "microchip,24aa02e48";
+                                       compatible = "atmel,24c02"; /* EEPROM is 2Kbits microchip 24aa025e48, an at24c02 with page size of 16 */
                                        reg = <0x50>;
                                        pagesize = <16>;
                                };
 
                                eeprom@52 {
-                                       compatible = "microchip,24aa02e48";
+                                       compatible = "atmel,24c02"; /* EEPROM is 2Kbits microchip 24aa025e48, an at24c02 with page size of 16 */
                                        reg = <0x52>;
                                        pagesize = <16>;
                                };
 
                                eeprom@53 {
-                                       compatible = "microchip,24aa02e48";
+                                       compatible = "atmel,24c02"; /* EEPROM is 2Kbits microchip 24aa025e48, an at24c02 with page size of 16 */
                                        reg = <0x53>;
                                        pagesize = <16>;
                                };
index 086ee45005ffe8d46b2294843b4539805d7f05e9..eaba0de3f7ff04ce1f97b1a24e80d54c0120ab95 100644 (file)
                status = "okay";
 
                eeprom@52 {
-                       compatible = "microchip,24aa02e48";
+                       compatible = "atmel,24c02"; /* EEPROM is 2Kbits microchip 24aa025e48, an at24c02 with page size of 16 */
                        reg = <0x52>;
                        pagesize = <16>;
                };
 
                eeprom@53 {
-                       compatible = "microchip,24aa02e48";
+                       compatible = "atmel,24c02"; /* EEPROM is 2Kbits microchip 24aa025e48, an at24c02 with page size of 16 */
                        reg = <0x53>;
                        pagesize = <16>;
                };
index ea7540bcfcf7278ba73167002a860051ddb4dc83..db4fefadcd6727ce14a98b4b50ed7da0e579901a 100644 (file)
@@ -92,7 +92,7 @@
                                status = "okay";
 
                                i2c_eeprom: i2c_eeprom@50 {
-                                       compatible = "microchip,24aa02e48";
+                                       compatible = "atmel,24c02"; /* EEPROM is 2Kbits microchip 24aa02e48 */
                                        reg = <0x50>;
                                };
                        };