]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: Move ethernet MAC EEPROM from SoM to carrier boards
authorMarek Vasut <marex@denx.de>
Fri, 5 May 2023 21:37:29 +0000 (23:37 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 16 May 2023 12:15:47 +0000 (14:15 +0200)
The ethernet MAC EEPROM is not populated on the SoM itself, it has to be
populated on each carrier board. Move the EEPROM into the correct place
in DTs, i.e. the carrier board DTs. Add label to the EEPROM too.

Fixes: 7e76f82acd9e1 ("ARM: dts: stm32: Split Avenger96 into DHCOR SoM and Avenger96 board")
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/stm32mp15xx-dhcor-avenger96.dtsi
arch/arm/boot/dts/stm32mp15xx-dhcor-drc-compact.dtsi
arch/arm/boot/dts/stm32mp15xx-dhcor-som.dtsi
arch/arm/boot/dts/stm32mp15xx-dhcor-testbench.dtsi

index 8232bbbae379c46ef282b641418093ba75057a26..302efac5d26f036d1042f805fed2bcc326f4ff72 100644 (file)
                        };
                };
        };
+
+       dh_mac_eeprom: eeprom@53 {
+               compatible = "atmel,24c02";
+               reg = <0x53>;
+               pagesize = <16>;
+       };
 };
 
 &ltdc {
index c32c160f97f204cb6951a5f5893044b12a737edc..39af79dc654ccad90dc7bfa3c0bce0499dadeb61 100644 (file)
                reg = <0x50>;
                pagesize = <16>;
        };
+
+       dh_mac_eeprom: eeprom@53 {
+               compatible = "atmel,24c02";
+               reg = <0x53>;
+               pagesize = <16>;
+       };
 };
 
 &sdmmc1 {      /* MicroSD */
index bb40fb46da81d559084f680c11c5c072efa83073..bba19f21e52776efd8a41c086edc9a30ce4cf7f9 100644 (file)
                        status = "disabled";
                };
        };
-
-       eeprom@53 {
-               compatible = "atmel,24c02";
-               reg = <0x53>;
-               pagesize = <16>;
-       };
 };
 
 &ipcc {
index 5fdb74b652acaf1003a7156312f7dcafbab87683..faed31b6d84a1d6f9accbc7769fe9f4694cef182 100644 (file)
        };
 };
 
+&i2c4 {
+       dh_mac_eeprom: eeprom@53 {
+               compatible = "atmel,24c02";
+               reg = <0x53>;
+               pagesize = <16>;
+       };
+};
+
 &sdmmc1 {
        pinctrl-names = "default", "opendrain", "sleep";
        pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_dir_pins_b>;