ARM: dts: uniphier: remove U-Boot own EEPROM compatible and property
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 28 Feb 2020 12:57:21 +0000 (21:57 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 29 Feb 2020 05:12:51 +0000 (14:12 +0900)
The compatible string "i2c-eeprom" is U-Boot own compatible, which
has never been approved by the DT community. "u-boot,i2c-offset-len"
is also a U-Boot own hack.

Linux adds "atmel,*" as generic compatibles, and U-Boot also followed
it by commit d7e28918aa3f ("i2c_eeprom: Add reading support").

The U-Boot own hack is no longer needed. Just sync with Linux.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
arch/arm/dts/uniphier-ld11-global.dts
arch/arm/dts/uniphier-pro4-ace.dts
arch/arm/dts/uniphier-pro4-sanji.dts
arch/arm/dts/uniphier-pxs2-gentil.dts
arch/arm/dts/uniphier-ref-daughter.dtsi

index 744b36e..7968d52 100644 (file)
        };
 
        eeprom@50 {
-               compatible = "st,24c64", "atmel,24c64", "i2c-eeprom";
+               compatible = "st,24c64", "atmel,24c64";
                reg = <0x50>;
                pagesize = <32>;
        };
index ce8ea7b..92cc48d 100644 (file)
        status = "okay";
 
        eeprom@54 {
-               compatible = "st,24c64", "atmel,24c64", "i2c-eeprom";
+               compatible = "st,24c64", "atmel,24c64";
                reg = <0x54>;
                pagesize = <32>;
-               u-boot,i2c-offset-len = <2>;
        };
 };
 
index 686dd3a..3b68a7c 100644 (file)
        status = "okay";
 
        eeprom@54 {
-               compatible = "st,24c64", "atmel,24c64", "i2c-eeprom";
+               compatible = "st,24c64", "atmel,24c64";
                reg = <0x54>;
                pagesize = <32>;
-               u-boot,i2c-offset-len = <2>;
        };
 };
 
index b13d627..e27fd4f 100644 (file)
        status = "okay";
 
        eeprom@54 {
-               compatible = "st,24c64", "atmel,24c64", "i2c-eeprom";
+               compatible = "st,24c64", "atmel,24c64";
                reg = <0x54>;
                pagesize = <32>;
-               u-boot,i2c-offset-len = <2>;
        };
 };
 
index 9240a31..a118976 100644 (file)
@@ -7,9 +7,8 @@
 
 &i2c0 {
        eeprom@50 {
-               compatible = "microchip,24lc128", "i2c-eeprom";
+               compatible = "microchip,24lc128", "atmel,24c128";
                reg = <0x50>;
                pagesize = <64>;
-               u-boot,i2c-offset-len = <2>;
        };
 };