]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Jul 2023 17:39:35 +0000 (19:39 +0200)
[ Upstream commit 9660efc2af37f3c12dc6e6a5511ad99e0addc297 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
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 50af4a27d6be4d19731ab734717649b41759be04..e67c0fa209cde29a9f82bc7a9b59b86c932156fa 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>;