The PHY device associated to a specific i.MX Ethernet device is not necessarily at address 0 on the MDIO bus.
This patch series adds the ability to set the PHY number on the MDIO bus for any i.MX6UL based board. Jean-Christophe Dubois (3): Add a phy-num property to the i.MX FEC emulator Add the ability to select a different PHY for each i.MX6UL FEC interface Select MDIO device 2 and 1 as PHY devices for i.MW6UL EVK board. hw/arm/fsl-imx6ul.c | 10 ++++++++++ hw/arm/mcimx6ul-evk.c | 2 ++ hw/net/imx_fec.c | 24 +++++++++++++++++------- hw/net/trace-events | 4 ++-- include/hw/arm/fsl-imx6ul.h | 2 ++ include/hw/net/imx_fec.h | 1 + 6 files changed, 34 insertions(+), 9 deletions(-) -- 2.25.1