Skip to content

Commit 5cbf7b1

Browse files
aescolarjhedberg
authored andcommitted
boards stm32h747i_disco: Add missing mdio node
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]>
1 parent 0f835b5 commit 5cbf7b1

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts

+12-2
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,7 @@
130130
*/
131131
status = "okay";
132132
pinctrl-0 = <&eth_ref_clk_pa1
133-
&eth_mdio_pa2
134133
&eth_crs_dv_pa7
135-
&eth_mdc_pc1
136134
&eth_rxd0_pc4
137135
&eth_rxd1_pc5
138136
&eth_tx_en_pg11
@@ -141,6 +139,18 @@
141139
pinctrl-names = "default";
142140
};
143141

142+
&mdio {
143+
status = "okay";
144+
pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pc1>;
145+
pinctrl-names = "default";
146+
147+
ethernet-phy@0 {
148+
compatible = "ethernet-phy";
149+
reg = <0x00>;
150+
status = "okay";
151+
};
152+
};
153+
144154
&rng {
145155
status = "okay";
146156
};

0 commit comments

Comments
 (0)