hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board
authorGuenter Roeck <linux@roeck-us.net>
Mon, 15 Jan 2024 18:27:55 +0000 (10:27 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 26 Jan 2024 11:30:47 +0000 (11:30 +0000)
commit43eef24f52def75df9d491788db90e11098b1f7b
tree8ff6337aaddb9147c274e9665033ff4340c1eb60
parentb8e2d3f86c79f164683b80f16ca55f093a816ab3
hw/arm: Add EHCI/OHCI controllers to Allwinner R40 and Bananapi board

Allwinner R40 supports two USB host ports shared between a USB 2.0 EHCI
host controller and a USB 1.1 OHCI host controller. Add support for both
of them.

If machine USB support is not enabled, create unimplemented devices
for the USB memory ranges to avoid crashes when booting Linux.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240115182757.1095012-2-linux@roeck-us.net
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
docs/system/arm/bananapi_m2u.rst
hw/arm/Kconfig
hw/arm/allwinner-r40.c
include/hw/arm/allwinner-r40.h