Definition of the USB controller implemented in Zynq. Signed-off-by: Peter Crosthwaite <peter.crosthwa...@xilinx.com> ---
hw/usb/hcd-ehci.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/hw/usb/hcd-ehci.c b/hw/usb/hcd-ehci.c index 50a85d5..443038b 100644 --- a/hw/usb/hcd-ehci.c +++ b/hw/usb/hcd-ehci.c @@ -2746,6 +2746,16 @@ static TypeInfo ehci_info[] = { 0x00, 0x20, } } + }, { + .name = "xlnx,ps7-usb", + .parent = TYPE_SYS_BUS_DEVICE, + .instance_size = sizeof(EHCISysBusState), + .class_init = ehci_sysbus_class_init, + .class_size = sizeof(EHCIClass), + .class_data = (EHCIClass[]) {{ + .capabase = 0x100, + .opregbase = 0x140, + } } }, { .name = NULL } }; -- 1.7.0.4