aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ixp4xx/dsmg600-pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ixp4xx/dsmg600-pci.c')
-rw-r--r--arch/arm/mach-ixp4xx/dsmg600-pci.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/arch/arm/mach-ixp4xx/dsmg600-pci.c b/arch/arm/mach-ixp4xx/dsmg600-pci.c
index 926d15f885f..29a9e41fdf8 100644
--- a/arch/arm/mach-ixp4xx/dsmg600-pci.c
+++ b/arch/arm/mach-ixp4xx/dsmg600-pci.c
@@ -19,10 +19,27 @@
19#include <linux/pci.h> 19#include <linux/pci.h>
20#include <linux/init.h> 20#include <linux/init.h>
21#include <linux/irq.h> 21#include <linux/irq.h>
22
23#include <asm/mach/pci.h> 22#include <asm/mach/pci.h>
24#include <asm/mach-types.h> 23#include <asm/mach-types.h>
25 24
25#define DSMG600_PCI_MAX_DEV 4
26#define DSMG600_PCI_IRQ_LINES 3
27
28/* PCI controller GPIO to IRQ pin mappings */
29#define DSMG600_PCI_INTA_PIN 11
30#define DSMG600_PCI_INTB_PIN 10
31#define DSMG600_PCI_INTC_PIN 9
32#define DSMG600_PCI_INTD_PIN 8
33#define DSMG600_PCI_INTE_PIN 7
34#define DSMG600_PCI_INTF_PIN 6
35
36#define IRQ_DSMG600_PCI_INTA IRQ_IXP4XX_GPIO11
37#define IRQ_DSMG600_PCI_INTB IRQ_IXP4XX_GPIO10
38#define IRQ_DSMG600_PCI_INTC IRQ_IXP4XX_GPIO9
39#define IRQ_DSMG600_PCI_INTD IRQ_IXP4XX_GPIO8
40#define IRQ_DSMG600_PCI_INTE IRQ_IXP4XX_GPIO7
41#define IRQ_DSMG600_PCI_INTF IRQ_IXP4XX_GPIO6
42
26void __init dsmg600_pci_preinit(void) 43void __init dsmg600_pci_preinit(void)
27{ 44{
28 set_irq_type(IRQ_DSMG600_PCI_INTA, IRQ_TYPE_LEVEL_LOW); 45 set_irq_type(IRQ_DSMG600_PCI_INTA, IRQ_TYPE_LEVEL_LOW);