This commit was manufactured by cvs2svn to create branch 'fedora'.
[linux-2.6.git] / include / asm-arm / arch-ixp4xx / irqs.h
1 /*
2  * include/asm-arm/arch-ixp4xx/irqs.h 
3  *
4  * IRQ definitions for IXP4XX based systems
5  *
6  * Copyright (C) 2002 Intel Corporation.
7  * Copyright (C) 2003 MontaVista Software, Inc.
8  *
9  * This program is free software; you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License version 2 as
11  * published by the Free Software Foundation.
12  *
13  */
14
15 #ifndef _ARCH_IXP4XX_IRQS_H_
16 #define _ARCH_IXP4XX_IRQS_H_
17
18 #define NR_IRQS                 32
19
20 #define IRQ_IXP4XX_NPEA         0
21 #define IRQ_IXP4XX_NPEB         1
22 #define IRQ_IXP4XX_NPEC         2
23 #define IRQ_IXP4XX_QM1          3
24 #define IRQ_IXP4XX_QM2          4
25 #define IRQ_IXP4XX_TIMER1       5
26 #define IRQ_IXP4XX_GPIO0        6
27 #define IRQ_IXP4XX_GPIO1        7
28 #define IRQ_IXP4XX_PCI_INT      8
29 #define IRQ_IXP4XX_PCI_DMA1     9
30 #define IRQ_IXP4XX_PCI_DMA2     10
31 #define IRQ_IXP4XX_TIMER2       11
32 #define IRQ_IXP4XX_USB          12
33 #define IRQ_IXP4XX_UART2        13
34 #define IRQ_IXP4XX_TIMESTAMP    14
35 #define IRQ_IXP4XX_UART1        15
36 #define IRQ_IXP4XX_WDOG         16
37 #define IRQ_IXP4XX_AHB_PMU      17
38 #define IRQ_IXP4XX_XSCALE_PMU   18
39 #define IRQ_IXP4XX_GPIO2        19
40 #define IRQ_IXP4XX_GPIO3        20
41 #define IRQ_IXP4XX_GPIO4        21
42 #define IRQ_IXP4XX_GPIO5        22
43 #define IRQ_IXP4XX_GPIO6        23
44 #define IRQ_IXP4XX_GPIO7        24
45 #define IRQ_IXP4XX_GPIO8        25
46 #define IRQ_IXP4XX_GPIO9        26
47 #define IRQ_IXP4XX_GPIO10       27
48 #define IRQ_IXP4XX_GPIO11       28
49 #define IRQ_IXP4XX_GPIO12       29
50 #define IRQ_IXP4XX_SW_INT1      30
51 #define IRQ_IXP4XX_SW_INT2      31
52
53 #define XSCALE_PMU_IRQ          (IRQ_IXP4XX_XSCALE_PMU)
54
55 /*
56  * IXDP425 board IRQs
57  */
58 #define IRQ_IXDP425_PCI_INTA    IRQ_IXP4XX_GPIO11
59 #define IRQ_IXDP425_PCI_INTB    IRQ_IXP4XX_GPIO10
60 #define IRQ_IXDP425_PCI_INTC    IRQ_IXP4XX_GPIO9
61 #define IRQ_IXDP425_PCI_INTD    IRQ_IXP4XX_GPIO8
62
63 /*
64  * PrPMC1100 Board IRQs
65  */
66 #define IRQ_PRPMC1100_PCI_INTA  IRQ_IXP4XX_GPIO11
67 #define IRQ_PRPMC1100_PCI_INTB  IRQ_IXP4XX_GPIO10
68 #define IRQ_PRPMC1100_PCI_INTC  IRQ_IXP4XX_GPIO9
69 #define IRQ_PRPMC1100_PCI_INTD  IRQ_IXP4XX_GPIO8
70
71 /*
72  * ADI Coyote Board IRQs
73  */
74 #define IRQ_COYOTE_PCI_SLOT0    IRQ_IXP4XX_GPIO6
75 #define IRQ_COYOTE_PCI_SLOT1    IRQ_IXP4XX_GPIO11
76 #define IRQ_COYOTE_IDE          IRQ_IXP4XX_GPIO5
77
78 #endif