arm: dart6ul: change compatible string for eeprom
authorMarc Ferland <ferlandm@amotus.ca>
Tue, 22 Dec 2020 19:24:11 +0000 (14:24 -0500)
committerStefano Babic <sbabic@denx.de>
Sat, 26 Dec 2020 13:56:09 +0000 (14:56 +0100)
The eeprom at address 0x50 is a BR24G04NUX-3TTR. It has a
4Kbit (512x8) capacity, change the compatible string to reflect this
fact.

Also, add an alias to easily refer to this eeprom with
fdt_path_offset() which will be in another commit.

Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
arch/arm/dts/imx6ull-dart-6ul.dtsi

index e96669f..fed40b0 100644 (file)
        chosen {
                stdout-path = &uart1;
        };
+
+       aliases {
+               eeprom0 = &eeprom_som;
+       };
 };
 
 &fec1 {
        sda-gpios = <&gpio1 31 GPIO_ACTIVE_HIGH>;
        status = "okay";
 
-       eeprom@50 {
-               compatible = "cat,24c32";
+       eeprom_som: eeprom@50 {
+               compatible = "atmel,24c04";
                reg = <0x50>;
+               status = "okay";
        };
 };