]> Git Repo - qemu.git/commit
arm: allwinner: Wire up USB ports
authorGuenter Roeck <[email protected]>
Mon, 17 Feb 2020 20:48:12 +0000 (12:48 -0800)
committerPeter Maydell <[email protected]>
Fri, 21 Feb 2020 16:07:02 +0000 (16:07 +0000)
commit7abc8cabad977aeccbbb6e6b2026e68ab8e32c65
tree5e145da0f70aa15a15c001af8a2fba24d95cfabe
parenteb271ae58116863b22c02582788f841a7848e1af
arm: allwinner: Wire up USB ports

Instantiate EHCI and OHCI controllers on Allwinner A10. OHCI ports are
modeled as companions of the respective EHCI ports.

With this patch applied, USB controllers are discovered and instantiated
when booting the cubieboard machine with a recent Linux kernel.

ehci-platform 1c14000.usb: EHCI Host Controller
ehci-platform 1c14000.usb: new USB bus registered, assigned bus number 1
ehci-platform 1c14000.usb: irq 26, io mem 0x01c14000
ehci-platform 1c14000.usb: USB 2.0 started, EHCI 1.00
ehci-platform 1c1c000.usb: EHCI Host Controller
ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 2
ehci-platform 1c1c000.usb: irq 31, io mem 0x01c1c000
ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
ohci-platform 1c14400.usb: Generic Platform OHCI controller
ohci-platform 1c14400.usb: new USB bus registered, assigned bus number 3
ohci-platform 1c14400.usb: irq 27, io mem 0x01c14400
ohci-platform 1c1c400.usb: Generic Platform OHCI controller
ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 4
ohci-platform 1c1c400.usb: irq 32, io mem 0x01c1c400
usb 2-1: new high-speed USB device number 2 using ehci-platform
usb-storage 2-1:1.0: USB Mass Storage device detected
scsi host1: usb-storage 2-1:1.0
usb 3-1: new full-speed USB device number 2 using ohci-platform
input: QEMU QEMU USB Mouse as /devices/platform/soc/1c14400.usb/usb3/3-1/3-1:1.0/0003:0627:0001.0001/input/input0

Reviewed-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Guenter Roeck <[email protected]>
Tested-by: Niek Linnenbank <[email protected]>
Message-id: 20200217204812[email protected]
Signed-off-by: Peter Maydell <[email protected]>
hw/arm/allwinner-a10.c
include/hw/arm/allwinner-a10.h
This page took 0.026512 seconds and 4 git commands to generate.