From: Guenter Roeck Date: Wed, 15 Mar 2023 14:52:48 +0000 (-0700) Subject: arm/mcimx7d-sabre: Set fec2-phy-connected property to false X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1ed1f338520cda0574b7e04f5e8e85e049740548;p=qemu.git arm/mcimx7d-sabre: Set fec2-phy-connected property to false On mcimx7d-sabre, the MDIO bus is connected to the first Ethernet interface. Set fec2-phy-connected to false to reflect this. Signed-off-by: Guenter Roeck Message-id: 20230315145248.1639364-6-linux@roeck-us.net Reviewed-by: Peter Maydell Signed-off-by: Peter Maydell --- diff --git a/hw/arm/mcimx7d-sabre.c b/hw/arm/mcimx7d-sabre.c index 6182b15f19..d1778122b6 100644 --- a/hw/arm/mcimx7d-sabre.c +++ b/hw/arm/mcimx7d-sabre.c @@ -41,6 +41,8 @@ static void mcimx7d_sabre_init(MachineState *machine) s = FSL_IMX7(object_new(TYPE_FSL_IMX7)); object_property_add_child(OBJECT(machine), "soc", OBJECT(s)); + object_property_set_bool(OBJECT(s), "fec2-phy-connected", false, + &error_fatal); qdev_realize(DEVICE(s), NULL, &error_fatal); memory_region_add_subregion(get_system_memory(), FSL_IMX7_MMDC_ADDR,