aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2023-03-15 07:52:46 -0700
committerPeter Maydell <peter.maydell@linaro.org>2023-04-20 10:46:29 +0100
commitbebcddbbb23249cfc058764ff2df0bc80be57ea8 (patch)
tree4c632e05152a44d5e50af72b8d7bfc443dabb09a
parentbc14018c2d291949583dc80bafe1196efeba0317 (diff)
downloadqemu-bebcddbbb23249cfc058764ff2df0bc80be57ea8.zip
qemu-bebcddbbb23249cfc058764ff2df0bc80be57ea8.tar.gz
qemu-bebcddbbb23249cfc058764ff2df0bc80be57ea8.tar.bz2
arm/mcimx6ul-evk: Set fec1-phy-connected property to false
On mcimx6ul-evk, the MDIO bus is connected to the second Ethernet interface. Set fec1-phy-connected to false to reflect this. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Message-id: 20230315145248.1639364-4-linux@roeck-us.net Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/arm/mcimx6ul-evk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/arm/mcimx6ul-evk.c b/hw/arm/mcimx6ul-evk.c
index d83c3c3..3ac1e2e 100644
--- a/hw/arm/mcimx6ul-evk.c
+++ b/hw/arm/mcimx6ul-evk.c
@@ -41,6 +41,8 @@ static void mcimx6ul_evk_init(MachineState *machine)
object_property_add_child(OBJECT(machine), "soc", OBJECT(s));
object_property_set_uint(OBJECT(s), "fec1-phy-num", 2, &error_fatal);
object_property_set_uint(OBJECT(s), "fec2-phy-num", 1, &error_fatal);
+ object_property_set_bool(OBJECT(s), "fec1-phy-connected", false,
+ &error_fatal);
qdev_realize(DEVICE(s), NULL, &error_fatal);
memory_region_add_subregion(get_system_memory(), FSL_IMX6UL_MMDC_ADDR,