]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[dwusb] Add driver for DesignWare USB3 host controller
authorMichael Brown <mcb30@ipxe.org>
Mon, 21 Jul 2025 12:44:38 +0000 (13:44 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 21 Jul 2025 14:55:13 +0000 (15:55 +0100)
commite01e5ff7c6863a7825d58fb414181a0209dce6f9
tree7ddfee8b68f66726791fa1dcf79beb1213a485d6
parent6c42ea1275fffc11fc8558c9ebed6d526d5d9fa1
[dwusb] Add driver for DesignWare USB3 host controller

Add a basic driver for the DesignWare USB3 host controller as found in
the Lichee Pi 4A.

This driver covers only the DesignWare host controller hardware.  On
the Lichee Pi 4A, this is sufficient to get the single USB root hub
port (exposed internally via the SODIMM connector) up and running.

The driver does not yet handle the various GPIOs that control power
and signal routing for the Lichee Pi 4A's onboard VL817 USB hub and
the four physical USB-A ports.  This therefore leaves the USB hub and
the USB-A ports unpowered, and the USB2 root hub port routed to the
physical USB-C port.  Devices plugged in to the USB-A ports will not
be powered up, and a device plugged in to the USB-C port will
enumerate as a USB2 device.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/usb/dwusb.c [new file with mode: 0644]
src/drivers/usb/dwusb.h [new file with mode: 0644]
src/include/ipxe/errfile.h