blob: 57921f283d9f23846658f3560aca5d93d6879b61 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001/* SPDX-License-Identifier: GPL-2.0+ */
Bin Meng6c9f9442016-05-07 07:46:31 -07002/*
3 * Copyright (C) 2016, Bin Meng <bmeng.cn@gmail.com>
Bin Meng6c9f9442016-05-07 07:46:31 -07004 */
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)