Skip to content

Commit

Permalink
boards stm32h747i_disco: Add missing mdio node
Browse files Browse the repository at this point in the history
Akin to the changes in
ab29ee5
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 <[email protected]>
  • Loading branch information
aescolar authored and jhedberg committed May 8, 2024
1 parent 0f835b5 commit 5cbf7b1
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,7 @@
*/
status = "okay";
pinctrl-0 = <&eth_ref_clk_pa1
&eth_mdio_pa2
&eth_crs_dv_pa7
&eth_mdc_pc1
&eth_rxd0_pc4
&eth_rxd1_pc5
&eth_tx_en_pg11
Expand All @@ -141,6 +139,18 @@
pinctrl-names = "default";
};

&mdio {
status = "okay";
pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pc1>;
pinctrl-names = "default";

ethernet-phy@0 {
compatible = "ethernet-phy";
reg = <0x00>;
status = "okay";
};
};

&rng {
status = "okay";
};
Expand Down

0 comments on commit 5cbf7b1

Please sign in to comment.