From 4283a3f79eecece4ebd16c3d36bd4d9978a7f16d Mon Sep 17 00:00:00 2001 From: IBEN EL HADJ MESSAOUD Marwa Date: Wed, 19 Feb 2025 11:51:10 +0100 Subject: [PATCH] boards: Specify PHY connection type This commit updates the device tree source files for all STM32 boards to specify the PHY connection type for the Ethernet configuration. Added the `phy-connection-type` property with the value "rmii" to the Ethernet node. Signed-off-by: IBEN EL HADJ MESSAOUD Marwa --- boards/arduino/opta/arduino_opta_stm32h747xx_m7.dts | 1 + boards/arduino/portenta_h7/arduino_portenta_h7-common.dtsi | 1 + boards/olimex/stm32_e407/olimex_stm32_e407.dts | 1 + boards/st/nucleo_f207zg/nucleo_f207zg.dts | 1 + boards/st/nucleo_f429zi/nucleo_f429zi.dts | 1 + boards/st/nucleo_f746zg/nucleo_f746zg.dts | 1 + boards/st/nucleo_f756zg/nucleo_f756zg.dts | 1 + boards/st/nucleo_f767zi/nucleo_f767zi.dts | 1 + boards/st/nucleo_h563zi/nucleo_h563zi.dts | 1 + boards/st/nucleo_h723zg/nucleo_h723zg.dts | 1 + boards/st/nucleo_h743zi/nucleo_h743zi.dts | 1 + boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts | 1 + boards/st/nucleo_h753zi/nucleo_h753zi.dts | 1 + boards/st/nucleo_h755zi_q/nucleo_h755zi_q_stm32h755xx_m7.dts | 1 + boards/st/stm32f746g_disco/stm32f746g_disco.dts | 1 + boards/st/stm32f7508_dk/stm32f7508_dk.dts | 1 + boards/st/stm32f769i_disco/stm32f769i_disco.dts | 1 + boards/st/stm32h573i_dk/stm32h573i_dk.dts | 1 + boards/st/stm32h735g_disco/stm32h735g_disco.dts | 1 + boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts | 1 + boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts | 1 + boards/witte/linum/linum.dts | 1 + 22 files changed, 22 insertions(+) diff --git a/boards/arduino/opta/arduino_opta_stm32h747xx_m7.dts b/boards/arduino/opta/arduino_opta_stm32h747xx_m7.dts index d1b63e91e52..342c7432145 100644 --- a/boards/arduino/opta/arduino_opta_stm32h747xx_m7.dts +++ b/boards/arduino/opta/arduino_opta_stm32h747xx_m7.dts @@ -107,6 +107,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 >; pinctrl-names = "default"; + phy-connection-type = "rmii"; status = "okay"; }; diff --git a/boards/arduino/portenta_h7/arduino_portenta_h7-common.dtsi b/boards/arduino/portenta_h7/arduino_portenta_h7-common.dtsi index bf6f3348c93..09fcc518263 100644 --- a/boards/arduino/portenta_h7/arduino_portenta_h7-common.dtsi +++ b/boards/arduino/portenta_h7/arduino_portenta_h7-common.dtsi @@ -222,6 +222,7 @@ ð_txd1_pg12 ð_txd0_pg13 >; pinctrl-names = "default"; + phy-connection-type = "rmii"; status = "okay"; }; diff --git a/boards/olimex/stm32_e407/olimex_stm32_e407.dts b/boards/olimex/stm32_e407/olimex_stm32_e407.dts index 728380da88d..c7a832737bb 100644 --- a/boards/olimex/stm32_e407/olimex_stm32_e407.dts +++ b/boards/olimex/stm32_e407/olimex_stm32_e407.dts @@ -127,4 +127,5 @@ zephyr_udc0: &usbotg_hs { ð_txd0_pg13 ð_txd1_pg14>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; diff --git a/boards/st/nucleo_f207zg/nucleo_f207zg.dts b/boards/st/nucleo_f207zg/nucleo_f207zg.dts index 724bf9456cc..fd421f55d24 100644 --- a/boards/st/nucleo_f207zg/nucleo_f207zg.dts +++ b/boards/st/nucleo_f207zg/nucleo_f207zg.dts @@ -189,6 +189,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &flash0 { diff --git a/boards/st/nucleo_f429zi/nucleo_f429zi.dts b/boards/st/nucleo_f429zi/nucleo_f429zi.dts index d05081ed839..337d346018c 100644 --- a/boards/st/nucleo_f429zi/nucleo_f429zi.dts +++ b/boards/st/nucleo_f429zi/nucleo_f429zi.dts @@ -186,6 +186,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &flash0 { diff --git a/boards/st/nucleo_f746zg/nucleo_f746zg.dts b/boards/st/nucleo_f746zg/nucleo_f746zg.dts index 65416d66d52..6bcc8fcfdc0 100644 --- a/boards/st/nucleo_f746zg/nucleo_f746zg.dts +++ b/boards/st/nucleo_f746zg/nucleo_f746zg.dts @@ -207,6 +207,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &backup_sram { diff --git a/boards/st/nucleo_f756zg/nucleo_f756zg.dts b/boards/st/nucleo_f756zg/nucleo_f756zg.dts index 234321842ba..08112bd6e63 100644 --- a/boards/st/nucleo_f756zg/nucleo_f756zg.dts +++ b/boards/st/nucleo_f756zg/nucleo_f756zg.dts @@ -151,6 +151,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &flash0 { diff --git a/boards/st/nucleo_f767zi/nucleo_f767zi.dts b/boards/st/nucleo_f767zi/nucleo_f767zi.dts index c7a113fdfcf..8280e862310 100644 --- a/boards/st/nucleo_f767zi/nucleo_f767zi.dts +++ b/boards/st/nucleo_f767zi/nucleo_f767zi.dts @@ -198,6 +198,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &flash0 { diff --git a/boards/st/nucleo_h563zi/nucleo_h563zi.dts b/boards/st/nucleo_h563zi/nucleo_h563zi.dts index 8acb70d0e6c..92609d131e6 100644 --- a/boards/st/nucleo_h563zi/nucleo_h563zi.dts +++ b/boards/st/nucleo_h563zi/nucleo_h563zi.dts @@ -49,6 +49,7 @@ ð_txd0_pg13 ð_txd1_pb15>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/st/nucleo_h723zg/nucleo_h723zg.dts b/boards/st/nucleo_h723zg/nucleo_h723zg.dts index 72fc5b7f092..a3cb0af1606 100644 --- a/boards/st/nucleo_h723zg/nucleo_h723zg.dts +++ b/boards/st/nucleo_h723zg/nucleo_h723zg.dts @@ -178,6 +178,7 @@ ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/st/nucleo_h743zi/nucleo_h743zi.dts b/boards/st/nucleo_h743zi/nucleo_h743zi.dts index cd47bf9794c..65faec1097b 100644 --- a/boards/st/nucleo_h743zi/nucleo_h743zi.dts +++ b/boards/st/nucleo_h743zi/nucleo_h743zi.dts @@ -203,6 +203,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts b/boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts index c79712968e1..5e0164aafc7 100644 --- a/boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts +++ b/boards/st/nucleo_h745zi_q/nucleo_h745zi_q_stm32h745xx_m7.dts @@ -115,6 +115,7 @@ ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/st/nucleo_h753zi/nucleo_h753zi.dts b/boards/st/nucleo_h753zi/nucleo_h753zi.dts index c45e387aed7..b7ae1aeec7a 100644 --- a/boards/st/nucleo_h753zi/nucleo_h753zi.dts +++ b/boards/st/nucleo_h753zi/nucleo_h753zi.dts @@ -182,6 +182,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/st/nucleo_h755zi_q/nucleo_h755zi_q_stm32h755xx_m7.dts b/boards/st/nucleo_h755zi_q/nucleo_h755zi_q_stm32h755xx_m7.dts index d565297ebcb..ce3fe351a12 100644 --- a/boards/st/nucleo_h755zi_q/nucleo_h755zi_q_stm32h755xx_m7.dts +++ b/boards/st/nucleo_h755zi_q/nucleo_h755zi_q_stm32h755xx_m7.dts @@ -114,6 +114,7 @@ ð_txd0_pg13 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/st/stm32f746g_disco/stm32f746g_disco.dts b/boards/st/stm32f746g_disco/stm32f746g_disco.dts index e224d24beaa..60446feecca 100644 --- a/boards/st/stm32f746g_disco/stm32f746g_disco.dts +++ b/boards/st/stm32f746g_disco/stm32f746g_disco.dts @@ -178,6 +178,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pg14>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &quadspi { diff --git a/boards/st/stm32f7508_dk/stm32f7508_dk.dts b/boards/st/stm32f7508_dk/stm32f7508_dk.dts index cf05ebfd479..620e6f400c6 100644 --- a/boards/st/stm32f7508_dk/stm32f7508_dk.dts +++ b/boards/st/stm32f7508_dk/stm32f7508_dk.dts @@ -174,6 +174,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pg14>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &quadspi { diff --git a/boards/st/stm32f769i_disco/stm32f769i_disco.dts b/boards/st/stm32f769i_disco/stm32f769i_disco.dts index bae73308016..3dc9b43104c 100644 --- a/boards/st/stm32f769i_disco/stm32f769i_disco.dts +++ b/boards/st/stm32f769i_disco/stm32f769i_disco.dts @@ -161,6 +161,7 @@ arduino_serial: &usart6 {}; ð_txd0_pg13 ð_txd1_pg14>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &sdmmc2 { diff --git a/boards/st/stm32h573i_dk/stm32h573i_dk.dts b/boards/st/stm32h573i_dk/stm32h573i_dk.dts index 97664d80eba..5a8886dd54d 100644 --- a/boards/st/stm32h573i_dk/stm32h573i_dk.dts +++ b/boards/st/stm32h573i_dk/stm32h573i_dk.dts @@ -166,6 +166,7 @@ ð_txd0_pg13 ð_txd1_pg12>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/st/stm32h735g_disco/stm32h735g_disco.dts b/boards/st/stm32h735g_disco/stm32h735g_disco.dts index 0dc2d17f93d..3d14424e1e4 100644 --- a/boards/st/stm32h735g_disco/stm32h735g_disco.dts +++ b/boards/st/stm32h735g_disco/stm32h735g_disco.dts @@ -138,6 +138,7 @@ ð_txd0_pb12 ð_txd1_pb13>; pinctrl-names = "default"; + phy-connection-type = "rmii"; status = "okay"; }; diff --git a/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts b/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts index f1e7204a864..118a173a5ec 100644 --- a/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts +++ b/boards/st/stm32h745i_disco/stm32h745i_disco_stm32h745xx_m7.dts @@ -144,6 +144,7 @@ ð_txd0_pg13 ð_rx_er_pi10>; pinctrl-names = "default"; + phy-connection-type = "mii"; }; &mdio { diff --git a/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts b/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts index b5b0ee1cd88..38c16f53b2d 100644 --- a/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts +++ b/boards/st/stm32h747i_disco/stm32h747i_disco_stm32h747xx_m7.dts @@ -144,6 +144,7 @@ ð_txd0_pg13 ð_txd1_pg12>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio { diff --git a/boards/witte/linum/linum.dts b/boards/witte/linum/linum.dts index fe2280ec117..9d888dbdefe 100644 --- a/boards/witte/linum/linum.dts +++ b/boards/witte/linum/linum.dts @@ -238,6 +238,7 @@ zephyr_udc0: &usbotg_fs { ð_txd0_pg13 ð_txd1_pg14>; pinctrl-names = "default"; + phy-connection-type = "rmii"; }; &mdio {