Hi Vladimir, On Wed, Jun 17, 2020 at 4:25 PM Vladimir Oltean <[email protected]> wrote:
> Not Grygorii's fault, I'm sure. He just noticed that there wasn't an > of node for the PHY, and created one. > > Today I learned, with the phy_connect API, you're supposed to populate > the phydev node _yourself_. > Like zynq_gem does: > > https://gitlab.denx.de/u-boot/u-boot/-/blob/master/drivers/net/zynq_gem.c#L330 > > Too bad almost nobody else does...... > > With the new dm_eth_phy_connect API, that happens automatically: > > https://gitlab.denx.de/u-boot/u-boot/-/blob/master/net/mdio-uclass.c#L172 > > So, yeah. Fix the Ethernet driver, or switch to DM_MDIO. Thanks for your hint! I managed to fix the FEC driver and now it can correctly find the PHY node. Cheers

