]> code.ossystems Code Review - bsp/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)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 28 Jul 2016 14:54:21 +0000 (11:54 -0300)
commitc8bfa71c04ee246bee3eb6d82d97cc9ba9d0d5f4
treeda58447780ef67acfed3a28ed4a37e851eb0eaf4
parent6308105569c8852acc08f6718af28e7ed2ccf75d
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