Skip to content

Commit f46766a

Browse files
committed
boards: st: nucleo_h7s3l8: Add ethernet
Enable support for ethernet on nucleo_h7s3l8 board. Signed-off-by: Thomas Decker <[email protected]>
1 parent a416e82 commit f46766a

File tree

3 files changed

+27
-0
lines changed

3 files changed

+27
-0
lines changed

boards/st/nucleo_h7s3l8/doc/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ and a ST morpho connector. Board is configured as follows:
162162
- I2C : PB8, PB9
163163
- SPI1 NSS/SCK/MISO/MOSI : PD14PA5/PA6/PB5 (Arduino SPI)
164164
- FDCAN1 RX/TX : PD0, PD1
165+
- ETH : A2, A7, B6, G4, G5, G6, G11, G12, G13
165166

166167
System Clock
167168
------------

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)