cyan/strago: disable Ambient Light Sensor device
[coreboot.git] / src / mainboard / google / cyan / irqroute.h
blobe66c87f841cc0385286c8fa6e9fff0761cd20a0c
1 /*
2 * This file is part of the coreboot project.
4 * Copyright (C) 2013 Google Inc.
5 * Copyright (C) 2015 Intel Corp.
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc.
21 #include <soc/irq.h>
22 #include <soc/pci_devs.h>
23 #include <soc/pm.h>
25 #define PCI_DEV_PIRQ_ROUTES \
26 PCI_DEV_PIRQ_ROUTE(GFX_DEV, A, B, C, D), \
27 PCI_DEV_PIRQ_ROUTE(SDIO_DEV, A, B, C, D), \
28 PCI_DEV_PIRQ_ROUTE(SD_DEV, C, D, E, F), \
29 PCI_DEV_PIRQ_ROUTE(SATA_DEV, A, B, C, D), \
30 PCI_DEV_PIRQ_ROUTE(XHCI_DEV, A, B, C, D), \
31 PCI_DEV_PIRQ_ROUTE(LPE_DEV, A, B, C, D), \
32 PCI_DEV_PIRQ_ROUTE(MMC_DEV, D, E, F, G), \
33 PCI_DEV_PIRQ_ROUTE(SIO1_DEV, A, B, C, D), \
34 PCI_DEV_PIRQ_ROUTE(TXE_DEV, A, B, C, D), \
35 PCI_DEV_PIRQ_ROUTE(HDA_DEV, A, B, C, D), \
36 PCI_DEV_PIRQ_ROUTE(PCIE_DEV, A, B, C, D), \
37 PCI_DEV_PIRQ_ROUTE(SIO2_DEV, B, C, D, E), \
38 PCI_DEV_PIRQ_ROUTE(PCU_DEV, A, B, C, D)
40 #define PIRQ_PIC_ROUTES \
41 PIRQ_PIC(A, DISABLE), \
42 PIRQ_PIC(B, DISABLE), \
43 PIRQ_PIC(C, DISABLE), \
44 PIRQ_PIC(D, DISABLE), \
45 PIRQ_PIC(E, DISABLE), \
46 PIRQ_PIC(F, DISABLE), \
47 PIRQ_PIC(G, DISABLE), \
48 PIRQ_PIC(H, DISABLE)