xref: /openbmc/linux/arch/arm/mach-rpc/include/mach/irqs.h (revision 8730046c)
1 /*
2  *  arch/arm/mach-rpc/include/mach/irqs.h
3  *
4  *  Copyright (C) 1996 Russell King
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License version 2 as
8  * published by the Free Software Foundation.
9  */
10 
11 #define IRQ_PRINTER		0
12 #define IRQ_BATLOW		1
13 #define IRQ_FLOPPYINDEX		2
14 #define IRQ_VSYNCPULSE		3
15 #define IRQ_POWERON		4
16 #define IRQ_TIMER0		5
17 #define IRQ_TIMER1		6
18 #define IRQ_IMMEDIATE		7
19 #define IRQ_EXPCARDFIQ		8
20 #define IRQ_HARDDISK		9
21 #define IRQ_SERIALPORT		10
22 #define IRQ_FLOPPYDISK		12
23 #define IRQ_EXPANSIONCARD	13
24 #define IRQ_KEYBOARDTX		14
25 #define IRQ_KEYBOARDRX		15
26 
27 #define IRQ_DMA0		16
28 #define IRQ_DMA1		17
29 #define IRQ_DMA2		18
30 #define IRQ_DMA3		19
31 #define IRQ_DMAS0		20
32 #define IRQ_DMAS1		21
33 
34 #define FIQ_FLOPPYDATA		0
35 #define FIQ_ECONET		2
36 #define FIQ_SERIALPORT		4
37 #define FIQ_EXPANSIONCARD	6
38 #define FIQ_FORCE		7
39 
40 /*
41  * This is the offset of the FIQ "IRQ" numbers
42  */
43 #define FIQ_START		64
44 
45 #define NR_IRQS			128
46