]> git.ipfire.org Git - people/ms/u-boot.git/commit
imx: ventana: add dt fixup for GW16082 irq mapping
authorTim Harvey <tharvey@gateworks.com>
Fri, 17 Jun 2016 13:10:41 +0000 (06:10 -0700)
committerStefano Babic <sbabic@denx.de>
Thu, 28 Jul 2016 11:27:16 +0000 (13:27 +0200)
commit5a08ad6fdc43cc756ef1ebe046bbfd4290204fbe
tree07a655b007759c720c853867ddcb5d0c55c923bb
parent5c392017f5d9ff52bd822880abd81ca2843ffdca
imx: ventana: add dt fixup for GW16082 irq mapping

The GW16082 mini-PCI expansion mezzanine uses a TI XIO2001 PCIe-to-PCI
bridge with legacy INTA/B/C/D interrupts. These interrupts are assigned
in the reverse order according to the PCI spec.

If the TI bridge is found on the Ventana PCI bus, add device-tree nodes
according to bus enumeration explicitly defining the interrupt mapping
to override the default PCI mapping in the Linux kernel. This allows
the GW16082 to work with upstream kernels that support device-tree
irq parsing.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
board/gateworks/gw_ventana/gw_ventana.c