ARM: dts: stm32: Add ethernet MAC nvmem cells to DH STM32MP13xx DHCOR DHSBC board
authorMarek Vasut <marex@denx.de>
Sat, 29 Jun 2024 17:10:30 +0000 (19:10 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Thu, 5 Sep 2024 09:31:55 +0000 (11:31 +0200)
Describe ethernet MAC address nvmem cells in DH STM32MP13xx DHCOR DHSBC
board DT. The MAC address can be fused in BSEC OTP fuses and used to set
up MAC address for both ethernet MACs on this board.

Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts

index 201fb6a291cc26b4914f3b005da6c92d9aa4a854..425deb5641c177c0e0ae4b805c47a1f7cc57c439 100644 (file)
@@ -75,6 +75,8 @@
 };
 
 &ethernet1 {
+       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&ethernet_mac1_address>;
        phy-handle = <&ethphy1>;
        phy-mode = "rgmii-id";
        pinctrl-0 = <&eth1_rgmii_pins_a>;
 };
 
 &ethernet2 {
+       nvmem-cell-names = "mac-address";
+       nvmem-cells = <&ethernet_mac2_address>;
        phy-handle = <&ethphy2>;
        phy-mode = "rgmii-id";
        pinctrl-0 = <&eth2_rgmii_pins_a>;