NXP_ENET driver initialization fails with fixed link phy_mii #87237
Labels
area: Ethernet
bug
The issue is a bug, or the PR is fixing a bug
platform: NXP
NXP
priority: low
Low impact/importance bug
Describe the bug
On our custom board with the NXP RT1061 microcontroller, we use
ENET2
as the Ethernet controller. The board includes a switch that requires no additional configuration, so I set thefixed-link
property in the device tree as follow:However, during initialization,
eth_nxp_enet_init
callsnxp_enet_phy_init
, which executesphy_mii_cfg_link
, attempting MDIO read/write operations despite thefixed-link
configuration. This results in anEIO
error, causing theNXP_ENET
driver to fail.Expected behavior
The Ethernet driver should successfully initialize without attempting MDIO operations when the link is configured as a fixed link.
Impact
The Ethernet initialization fails, preventing the board from using the Ethernet connection, which impacts network functionality.
Environment (please complete the following information):
v4.1
The text was updated successfully, but these errors were encountered: