mbox series

[0/3] hw/arm: Add support for USB, SATA, and watchdog to Allwinner R40

Message ID 20240113191651.1313226-1-linux@roeck-us.net (mailing list archive)
Headers show
Series hw/arm: Add support for USB, SATA, and watchdog to Allwinner R40 | expand

Message

Guenter Roeck Jan. 13, 2024, 7:16 p.m. UTC
Add support for

- USB 2.0 EHCI/OHCI
- SATA/AHCI
- Watchdog

to Allwinner R40. The hardware is quite similar to Allwinner A10 and H3,
so the code is derived from the implementations for those SOCs.

Tested with bpim2u emulation by instantiating EHCI and OHCI keyboards,
by booting from USB, by booting from ATA/SATA drive, and by manually
testing watchdog operation.

----------------------------------------------------------------
Guenter Roeck (3):
      hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board
      hw/arm: Add AHCI/SATA controller to Allwinner R40 and Bananapi board
      hw/arm: Add watchdog timer to Allwinner H40 and Bananapi board

 docs/system/arm/bananapi_m2u.rst |  5 ++-
 hw/arm/Kconfig                   |  4 ++
 hw/arm/allwinner-r40.c           | 90 ++++++++++++++++++++++++++++++++++++++--
 include/hw/arm/allwinner-r40.h   | 15 +++++++
 4 files changed, 109 insertions(+), 5 deletions(-)