Skip to content

Commit 36580bb

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 4528e3a commit 36580bb

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+
pinctrl-0 = <&eth_rmii_rxd0_pg4
180+
&eth_rmii_rxd1_pg5
181+
&eth_rmii_ref_clk_pb6
182+
&eth_rmii_crs_dv_pa7
183+
&eth_rmii_tx_en_pg11
184+
&eth_rmii_txd0_pg13
185+
&eth_rmii_txd1_pg12>;
186+
pinctrl-names = "default";
187+
phy-connection-type = "rmii";
188+
phy-handle = <&eth_phy>;
189+
status = "okay";
190+
};
191+
192+
&mdio {
193+
pinctrl-0 = <&eth_mdio_pa2 &eth_mdc_pg6>;
194+
pinctrl-names = "default";
195+
status = "okay";
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)