From 5cbf7b1b9d13a39f36ad8dabfaeaec21d98cf5ff Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Wed, 8 May 2024 09:00:58 +0200 Subject: [PATCH] boards stm32h747i_disco: Add missing mdio node Akin to the changes in ab29ee5e0b3e07afdca308255487703d940ced32 Add missing mdio node for stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7 Without this, samples/net/sockets/echo_server fails to build in this board. Signed-off-by: Alberto Escolar Piedras --- .../stm32h747i_disco_stm32h747xx_m7.dts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts b/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts index 8f27eb0f836..a660f92af17 100644 --- a/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts +++ b/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts @@ -130,9 +130,7 @@ */ status = "okay"; pinctrl-0 = <ð_ref_clk_pa1 - ð_mdio_pa2 ð_crs_dv_pa7 - ð_mdc_pc1 ð_rxd0_pc4 ð_rxd1_pc5 ð_tx_en_pg11 @@ -141,6 +139,18 @@ pinctrl-names = "default"; }; +&mdio { + status = "okay"; + pinctrl-0 = <ð_mdio_pa2 ð_mdc_pc1>; + pinctrl-names = "default"; + + ethernet-phy@0 { + compatible = "ethernet-phy"; + reg = <0x00>; + status = "okay"; + }; +}; + &rng { status = "okay"; };