Skip to content

Commit 6d30e66

Browse files
committed
boards: st: nucleo_h7s3l8: Add ethernet
Enable support for ethernet on nucleo_h7s3l8 board. Signed-off-by: Thomas Decker <decker@jb-lighting.de>
1 parent 69f1484 commit 6d30e66

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

boards/st/nucleo_h7s3l8/nucleo_h7s3l8.dts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,31 @@
175175
status = "okay";
176176
};
177177

178+
&mac {
179+
status = "okay";
180+
pinctrl-0 = <&eth_rmii_rxd0_pg4
181+
&eth_rmii_rxd1_pg5
182+
&eth_rmii_ref_clk_pb6
183+
&eth_rmii_crs_dv_pa7
184+
&eth_rmii_tx_en_pg11
185+
&eth_rmii_txd0_pg13
186+
&eth_rmii_txd1_pg12>;
187+
pinctrl-names = "default";
188+
phy-connection-type = "rmii";
189+
phy-handle = <&eth_phy>;
190+
};
191+
192+
&mdio {
193+
status = "okay";
194+
pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pg6>;
195+
pinctrl-names = "default";
196+
197+
eth_phy: ethernet-phy@0 {
198+
compatible = "ethernet-phy";
199+
reg = <0x00>;
200+
};
201+
};
202+
178203
&flash0 {
179204
partitions {
180205
compatible = "fixed-partitions";

boards/st/nucleo_h7s3l8/nucleo_h7s3l8.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ supported:
1515
- octospi
1616
- can
1717
- canfd
18+
- netif:eth
1819
vendor: st

0 commit comments

Comments
 (0)