]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: imx8mm-verdin: eeprom nodes adjustments
authorIgor Opaniuk <igor.opaniuk@toradex.com>
Wed, 15 Jul 2020 10:30:58 +0000 (13:30 +0300)
committerStefano Babic <sbabic@denx.de>
Mon, 27 Jul 2020 12:00:36 +0000 (14:00 +0200)
Rename EEPROM nodes.
Create aliases for EEPROM to unify their order:
    eeprom0 - on-module EEPROM
    eeprom1 - carrier-board EEPROM
    eeprom2 - MIPI-DSI to HDMI adapter EEPROM

Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com>
arch/arm/dts/imx8mm-verdin.dts

index b86f46e03eb4287d1e9c92e532dc51d49936df15..1c67c08c880d912550cdfd694d4a756be4816050 100644 (file)
                stdout-path = &uart1;
        };
 
+       aliases {
+               eeprom0 = &eeprom_module;
+               eeprom1 = &eeprom_carrier_board;
+               eeprom2 = &eeprom_display_adapter;
+       };
+
        /* fixed clock dedicated to SPI CAN controller */
        clk20m: oscillator {
                compatible = "fixed-clock";
                vcc-supply = <&ldo5_reg>;
        };
 
-       eeprom@50 {
-               compatible = "st,24c02";
+       eeprom_module: eeprom@50 {
+               compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
                pagesize = <16>;
                reg = <0x50>;
        };
                status = "okay";
        };
 
-       /* EEPROM on MIPI-DSI to HDMI adapter */
-       eeprom_50: eeprom@50 {
-               compatible = "st,24c02";
+       /* EEPROM on display adapter (MIPI DSI Display Adapter) */
+       eeprom_display_adapter: eeprom@50 {
+               compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
                pagesize = <16>;
                reg = <0x50>;
        };
 
-       /* EEPROM on Verdin Development board */
-       eeprom_57: eeprom@57 {
-               compatible = "st,24c02";
+       /* EEPROM on carrier board */
+       eeprom_carrier_board: eeprom@57 {
+               compatible = "st,24c02", "atmel,24c02", "i2c-eeprom";
                pagesize = <16>;
                reg = <0x57>;
        };