arm/mcimx7d-sabre: Set fec2-phy-connected property to false
authorGuenter Roeck <linux@roeck-us.net>
Wed, 15 Mar 2023 14:52:48 +0000 (07:52 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Apr 2023 09:46:43 +0000 (10:46 +0100)
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 <linux@roeck-us.net>
Message-id: 20230315145248.1639364-6-linux@roeck-us.net
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/mcimx7d-sabre.c

index 6182b15f19019617116f2bd2b3c7b27ca5fb5b5a..d1778122b6473fe4efb66065e6af00cfbab72847 100644 (file)
@@ -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,