shithub: riscv

Download patch

ref: 1da20fd5d8fc4c6677b52327e1e45e3279af42fd
parent: fdbe335d3ac0ba5307b2b5ab97d694af0d2256a7
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun May 15 07:57:52 EDT 2022

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.