Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org> --- hw/usb/hcd-ehci-sysbus.c | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/hw/usb/hcd-ehci-sysbus.c b/hw/usb/hcd-ehci-sysbus.c index 3b83beb140..0c1a995c2f 100644 --- a/hw/usb/hcd-ehci-sysbus.c +++ b/hw/usb/hcd-ehci-sysbus.c @@ -16,6 +16,7 @@ */ #include "qemu/osdep.h" +#include "hw/sysbus-fdt.h" #include "hw/usb/hcd-ehci.h" static const VMStateDescription vmstate_ehci_sysbus = { @@ -244,6 +245,13 @@ static const TypeInfo ehci_fusbh200_type_info = { static void ehci_sysbus_register_types(void) { + static const char *xlnx_ehci_fdt_aliases[] = { + "xlnx.zynq-usb", /* Zynq */ + "xlnx.ps7-usb", /* Zynq-7xxx SoC */ + NULL + }; + + type_register_fdt_aliases("xlnx,ps7-usb", xlnx_ehci_fdt_aliases); type_register_static(&ehci_type_info); type_register_static(&ehci_xlnx_type_info); type_register_static(&ehci_exynos4210_type_info); -- 2.15.1