imx8: add xhci driver for the soc
This is mostly a copy of port/usbxhci.c with PCIWADDR() replaced by PADDR() and the pci specific code stripped out. This could be refactored at a later time. There is a gpio line for the main hub reset that needs to be asserted and some power management functions that are currently done by u-boot (using "usb start" command). We will do these ourselfs once we have the infrastructure for it in place.
This commit is contained in:
parent
9429dd64f7
commit
7455ff40e0
2 changed files with 1824 additions and 0 deletions
|
@ -15,7 +15,10 @@ dev
|
|||
ether netif
|
||||
ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium inferno
|
||||
uart
|
||||
usb
|
||||
|
||||
link
|
||||
usbxhciimx
|
||||
etherimx ethermii
|
||||
ethermedium
|
||||
loopbackmedium
|
||||
|
|
1821
sys/src/9/imx8/usbxhciimx.c
Normal file
1821
sys/src/9/imx8/usbxhciimx.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue