summaryrefslogtreecommitdiff
path: root/src/mainboard/asus/am1i-a/acpi
diff options
context:
space:
mode:
authorMike Banon <mikebdp2@gmail.com>2020-01-07 18:47:40 +0300
committerNico Huber <nico.h@gmx.de>2020-01-10 15:18:28 +0000
commit834d8c29988f545bccedbd6af0ceaac593421077 (patch)
tree75902f58bffa1d09ab8454f2aab23c1d92f9c38f /src/mainboard/asus/am1i-a/acpi
parentb8de01583531a758eb87c910417e2dfb89975ac2 (diff)
asus/am1i-a: fix the blue "USB 3.0" ports for OHCI/EHCI "USB 2.0" mode
Set up the proper IRQ routing for OHCI/EHCI devices which appear if XHCI controller is disabled (CONFIG_HUDSON_XHCI_ENABLE is not set). Now both "USB 3.0" ports are working fine at OHCI/EHCI "USB 2.0" mode. They also work fine if XHCI controller is enabled. Signed-off-by: Mike Banon <mikebdp2@gmail.com> Change-Id: I50a773eeab890627abc963e0a61f781d1cea3259 Reviewed-on: https://review.coreboot.org/c/coreboot/+/38241 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Diffstat (limited to 'src/mainboard/asus/am1i-a/acpi')
-rw-r--r--src/mainboard/asus/am1i-a/acpi/routing.asl16
1 files changed, 14 insertions, 2 deletions
diff --git a/src/mainboard/asus/am1i-a/acpi/routing.asl b/src/mainboard/asus/am1i-a/acpi/routing.asl
index 95881fa638..8b21a25776 100644
--- a/src/mainboard/asus/am1i-a/acpi/routing.asl
+++ b/src/mainboard/asus/am1i-a/acpi/routing.asl
@@ -48,8 +48,14 @@ Name(PR0, Package(){
Package(){0x0013FFFF, 0, INTC, 0 },
Package(){0x0013FFFF, 1, INTB, 0 },
- /* Bus 0, Dev 10 Func 0 - USB: XHCI */
+ /* Bus 0, Dev 16 Func 0 - USB: OHCI */
+ /* Bus 0, Dev 16 Func 2 - USB: EHCI */
+ Package(){0x0016FFFF, 0, INTC, 0 },
+ Package(){0x0016FFFF, 1, INTB, 0 },
+
+ /* Bus 0, Dev 10 - USB: XHCI func 0, 1 */
Package(){0x0010FFFF, 0, INTC, 0 },
+ Package(){0x0010FFFF, 1, INTB, 0 },
/* Bus 0, Dev 11 - SATA controller */
Package(){0x0011FFFF, 0, INTD, 0 },
@@ -87,8 +93,14 @@ Name(APR0, Package(){
Package(){0x0013FFFF, 0, 0, 18 },
Package(){0x0013FFFF, 1, 0, 17 },
- /* Bus 0, Dev 10, Func 0 - USB: XHCI */
+ /* Bus 0, Dev 16 Func 0 - USB: OHCI */
+ /* Bus 0, Dev 16 Func 1 - USB: EHCI */
+ Package(){0x0016FFFF, 0, 0, 18 },
+ Package(){0x0016FFFF, 1, 0, 17 },
+
+ /* Bus 0, Dev 10 - USB: XHCI func 0, 1 */
Package(){0x0010FFFF, 0, 0, 18 },
+ Package(){0x0010FFFF, 1, 0, 17 },
/* Bus 0, Dev 11 - SATA controller */
Package(){0x0011FFFF, 0, 0, 19 },