usb: Add DWC3 model
authorVikram Garhwal <fnu.vikram@xilinx.com>
Thu, 3 Dec 2020 19:22:35 +0000 (00:52 +0530)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 15 Dec 2020 12:04:30 +0000 (12:04 +0000)
commit8bbe61f3c10446603514aeee0aafebaaa00e8d07
tree729e26ebbd6112241bd458a991e99f1fe9f86ca1
parent50e76a73de1f7fb40fd84df3d5a98067c10cc097
usb: Add DWC3 model

This patch adds skeleton model of dwc3 usb controller attached to
xhci-sysbus device. It defines global register space of DWC3 controller,
global registers control the AXI/AHB interfaces properties, external FIFO
support and event count support. All of which are unimplemented at
present,we are only supporting core reset and read of ID register.

Signed-off-by: Vikram Garhwal <fnu.vikram@xilinx.com>
Signed-off-by: Sai Pavan Boddu <sai.pavan.boddu@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1607023357-5096-3-git-send-email-sai.pavan.boddu@xilinx.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/usb/Kconfig
hw/usb/hcd-dwc3.c [new file with mode: 0644]
hw/usb/meson.build
include/hw/usb/hcd-dwc3.h [new file with mode: 0644]