diff options
| author | Markus Niebel <[email protected]> | 2025-11-21 18:34:43 +0100 |
|---|---|---|
| committer | Fabio Estevam <[email protected]> | 2025-11-29 14:42:26 -0300 |
| commit | 206f38e8dd33371ec383ae73c07adb76b7b7abcb (patch) | |
| tree | 3c855997d2d3641dbc8ea8e5c193d0f187d943a1 | |
| parent | 2aa6880bc582da6f4846e277d63818b059e3dcd0 (diff) | |
net: fec_mxc: fix probe of MDIO bus for DM_MDIO
When initializing the MDIO bus the MDC signal needs to be configured.
Otherwise the communication over the bus may fail. Add the call to
fec_mii_setspeed to the DM_MDIO probe handler.
Fixes: 3b8f99a3e762 ("net: fec: add support for DM_MDIO")
Signed-off-by: Markus Niebel <[email protected]>
Signed-off-by: Alexander Stein <[email protected]>
Signed-off-by: Alexander Feilke <[email protected]>
| -rw-r--r-- | drivers/net/fec_mxc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 629def541ae..18c717855b4 100644 --- a/drivers/net/fec_mxc.c +++ b/drivers/net/fec_mxc.c @@ -1051,6 +1051,7 @@ static int dm_fec_mdio_probe(struct udevice *dev) struct dm_fec_mdio_priv *priv = dev_get_priv(dev); priv->regs = (struct ethernet_regs *)ofnode_get_addr(dev_ofnode(dev->parent)); + fec_mii_setspeed(dev->parent, priv->regs); return 0; } |
