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
fdbe335d3a
commit
1da20fd5d8
2 changed files with 1824 additions and 0 deletions
|
@ -15,7 +15,10 @@ dev
|
||||||
ether netif
|
ether netif
|
||||||
ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium inferno
|
ip arp chandial ip ipv6 ipaux iproute netlog nullmedium pktmedium inferno
|
||||||
uart
|
uart
|
||||||
|
usb
|
||||||
|
|
||||||
link
|
link
|
||||||
|
usbxhciimx
|
||||||
etherimx ethermii
|
etherimx ethermii
|
||||||
ethermedium
|
ethermedium
|
||||||
loopbackmedium
|
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