Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Bin Meng | 6c9f944 | 2016-05-07 07:46:31 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com> |
Bin Meng | 6c9f944 | 2016-05-07 07:46:31 -0700 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <asm/arch/device.h> |
| 7 | |
| 8 | #define PCI_DEV_PIRQ_ROUTES \ |
| 9 | PCI_DEV_PIRQ_ROUTE(GFX_DEV, A, A, A, A), \ |
| 10 | PCI_DEV_PIRQ_ROUTE(EMMC_DEV, A, A, A, A), \ |
| 11 | PCI_DEV_PIRQ_ROUTE(SDIO_DEV, A, A, A, A), \ |
| 12 | PCI_DEV_PIRQ_ROUTE(SD_DEV, A, A, A, A), \ |
| 13 | PCI_DEV_PIRQ_ROUTE(SATA_DEV, A, A, A, A), \ |
| 14 | PCI_DEV_PIRQ_ROUTE(XHCI_DEV, A, A, A, A), \ |
| 15 | PCI_DEV_PIRQ_ROUTE(LPE_DEV, A, A, A, A), \ |
| 16 | PCI_DEV_PIRQ_ROUTE(MMC45_DEV, A, A, A, A), \ |
| 17 | PCI_DEV_PIRQ_ROUTE(SIO1_DEV, A, B, C, D), \ |
| 18 | PCI_DEV_PIRQ_ROUTE(TXE_DEV, A, A, A, A), \ |
| 19 | PCI_DEV_PIRQ_ROUTE(HDA_DEV, A, A, A, A), \ |
| 20 | PCI_DEV_PIRQ_ROUTE(PCIE_DEV, A, B, C, D), \ |
| 21 | PCI_DEV_PIRQ_ROUTE(EHCI_DEV, A, A, A, A), \ |
| 22 | PCI_DEV_PIRQ_ROUTE(SIO2_DEV, A, B, C, D), \ |
| 23 | PCI_DEV_PIRQ_ROUTE(PCU_DEV, A, B, C, D) |
| 24 | |
| 25 | #define PCIE_BRIDGE_IRQ_ROUTES \ |
| 26 | PCIE_BRIDGE_DEV(RP, PCIE_DEV, A, B, C, D) |