Skip to content

Support ethernet without MDIO & MDC lines #16215

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion arch/arm/src/stm32h5/stm32_ethernet.c
Original file line number Diff line number Diff line change
Expand Up @@ -3604,9 +3604,10 @@ static inline void stm32_ethgpioconfig(struct stm32_ethmac_s *priv)
#if defined(CONFIG_STM32H5_MII) || defined(CONFIG_STM32H5_RMII)

/* MDC and MDIO are common to both modes */

# ifndef CONFIG_STM32H5_NO_PHY
stm32_configgpio(GPIO_ETH_MDC);
stm32_configgpio(GPIO_ETH_MDIO);
# endif

/* Set up the MII interface */

Expand Down
3 changes: 2 additions & 1 deletion arch/arm/src/stm32h7/stm32_ethernet.c
Original file line number Diff line number Diff line change
Expand Up @@ -3699,9 +3699,10 @@ static inline void stm32_ethgpioconfig(struct stm32_ethmac_s *priv)
#if defined(CONFIG_STM32H7_MII) || defined(CONFIG_STM32H7_RMII)

/* MDC and MDIO are common to both modes */

# ifndef CONFIG_STM32H7_NO_PHY
stm32_configgpio(GPIO_ETH_MDC);
stm32_configgpio(GPIO_ETH_MDIO);
# endif

/* Set up the MII interface */

Expand Down
Loading