]> www.infradead.org Git - users/willy/xarray.git/commitdiff
arm64: dts: freescale: imx8mp-verdin: Add EEPROM compatible fallback
authorFrancesco Dolcini <francesco.dolcini@toradex.com>
Tue, 8 Apr 2025 20:29:38 +0000 (22:29 +0200)
committerShawn Guo <shawnguo@kernel.org>
Wed, 23 Apr 2025 10:09:56 +0000 (18:09 +0800)
According to the AT24 EEPROM bindings the compatible string should
contain first the actual manufacturer, and second the corresponding
atmel model.

Add the atmel compatible fallback accordingly.

Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mp-verdin.dtsi

index e3869efe4fd0c06c4ff9867427cef86b5032df54..d43ba008712693fea458b8e0622965521a5cb83a 100644 (file)
        };
 
        eeprom@50 {
-               compatible = "st,24c02";
+               compatible = "st,24c02", "atmel,24c02";
                pagesize = <16>;
                reg = <0x50>;
        };
 
        /* EEPROM on display adapter (MIPI DSI Display Adapter) */
        eeprom_display_adapter: eeprom@50 {
-               compatible = "st,24c02";
+               compatible = "st,24c02", "atmel,24c02";
                pagesize = <16>;
                reg = <0x50>;
                status = "disabled";
 
        /* EEPROM on carrier board */
        eeprom_carrier_board: eeprom@57 {
-               compatible = "st,24c02";
+               compatible = "st,24c02", "atmel,24c02";
                pagesize = <16>;
                reg = <0x57>;
                status = "disabled";