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>
This commit is contained in:
Vikram Garhwal 2020-12-04 00:52:35 +05:30 committed by Peter Maydell
parent 50e76a73de
commit 8bbe61f3c1
4 changed files with 750 additions and 0 deletions

View file

@ -112,3 +112,8 @@ config IMX_USBPHY
bool
default y
depends on USB
config USB_DWC3
bool
select USB_XHCI_SYSBUS
select REGISTER