Skip to content

[FEATURE] Support ethernet without MDIO & MDC lines #16213

Closed
@azerupi

Description

@azerupi

Is your feature request related to a problem? Please describe.

We have a board with an STM32H7 connected to an IC switch through RMII. This IC switch is also connected to an embedded Linux soc and the MDIO and MDC lines are connected to that SOC.

However the code in NuttX expects the MDIO / MDC lines and configures them here unconditionally:

https://github.com/apache/nuttx/blob/master/arch/arm/src/stm32h7/stm32_ethernet.c#L3703-L3704

When I comment them out and configure CONFIG_STM32H7_NO_PHY=y ethernet seems to work on our board.

Describe the solution you'd like

Use CONFIG_STM32H7_NO_PHY to conditionally compile those lines away?

Describe alternatives you've considered

No response

Verification

  • I have verified before submitting the report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions