1 /*
2  *  arch/arm/mach-integrator/include/mach/irqs.h
3  *
4  *  Copyright (C) 1999 ARM Limited
5  *  Copyright (C) 2000 Deep Blue Solutions Ltd.
6  *
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; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
20  */
21 
22 /*
23  *  Interrupt numbers
24  */
25 #define IRQ_PIC_START			0
26 #define IRQ_SOFTINT			0
27 #define IRQ_UARTINT0			1
28 #define IRQ_UARTINT1			2
29 #define IRQ_KMIINT0			3
30 #define IRQ_KMIINT1			4
31 #define IRQ_TIMERINT0			5
32 #define IRQ_TIMERINT1			6
33 #define IRQ_TIMERINT2			7
34 #define IRQ_RTCINT			8
35 #define IRQ_AP_EXPINT0			9
36 #define IRQ_AP_EXPINT1			10
37 #define IRQ_AP_EXPINT2			11
38 #define IRQ_AP_EXPINT3			12
39 #define IRQ_AP_PCIINT0			13
40 #define IRQ_AP_PCIINT1			14
41 #define IRQ_AP_PCIINT2			15
42 #define IRQ_AP_PCIINT3			16
43 #define IRQ_AP_V3INT			17
44 #define IRQ_AP_CPINT0			18
45 #define IRQ_AP_CPINT1			19
46 #define IRQ_AP_LBUSTIMEOUT 		20
47 #define IRQ_AP_APCINT			21
48 #define IRQ_CP_CLCDCINT			22
49 #define IRQ_CP_MMCIINT0			23
50 #define IRQ_CP_MMCIINT1			24
51 #define IRQ_CP_AACIINT			25
52 #define IRQ_CP_CPPLDINT			26
53 #define IRQ_CP_ETHINT			27
54 #define IRQ_CP_TSPENINT			28
55 #define IRQ_PIC_END			31
56 
57 #define IRQ_CIC_START			32
58 #define IRQ_CM_SOFTINT			32
59 #define IRQ_CM_COMMRX			33
60 #define IRQ_CM_COMMTX			34
61 #define IRQ_CIC_END			34
62 
63 /*
64  * IntegratorCP only
65  */
66 #define IRQ_SIC_START			35
67 #define IRQ_SIC_CP_SOFTINT		35
68 #define IRQ_SIC_CP_RI0			36
69 #define IRQ_SIC_CP_RI1			37
70 #define IRQ_SIC_CP_CARDIN		38
71 #define IRQ_SIC_CP_LMINT0		39
72 #define IRQ_SIC_CP_LMINT1		40
73 #define IRQ_SIC_CP_LMINT2		41
74 #define IRQ_SIC_CP_LMINT3		42
75 #define IRQ_SIC_CP_LMINT4		43
76 #define IRQ_SIC_CP_LMINT5		44
77 #define IRQ_SIC_CP_LMINT6		45
78 #define IRQ_SIC_CP_LMINT7		46
79 #define IRQ_SIC_END			46
80 
81 #define NR_IRQS                         47
82 
83