xref: /openbmc/linux/arch/arm/mach-rpc/include/mach/irqs.h (revision e15a5365)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *  arch/arm/mach-rpc/include/mach/irqs.h
4  *
5  *  Copyright (C) 1996 Russell King
6  */
7 
8 #define IRQ_PRINTER		0
9 #define IRQ_BATLOW		1
10 #define IRQ_FLOPPYINDEX		2
11 #define IRQ_VSYNCPULSE		3
12 #define IRQ_POWERON		4
13 #define IRQ_TIMER0		5
14 #define IRQ_TIMER1		6
15 #define IRQ_IMMEDIATE		7
16 #define IRQ_EXPCARDFIQ		8
17 #define IRQ_HARDDISK		9
18 #define IRQ_SERIALPORT		10
19 #define IRQ_FLOPPYDISK		12
20 #define IRQ_EXPANSIONCARD	13
21 #define IRQ_KEYBOARDTX		14
22 #define IRQ_KEYBOARDRX		15
23 
24 #define IRQ_DMA0		16
25 #define IRQ_DMA1		17
26 #define IRQ_DMA2		18
27 #define IRQ_DMA3		19
28 #define IRQ_DMAS0		20
29 #define IRQ_DMAS1		21
30 
31 #define FIQ_FLOPPYDATA		0
32 #define FIQ_ECONET		2
33 #define FIQ_SERIALPORT		4
34 #define FIQ_EXPANSIONCARD	6
35 #define FIQ_FORCE		7
36 
37 /*
38  * This is the offset of the FIQ "IRQ" numbers
39  */
40 #define FIQ_START		64
41 
42 #define NR_IRQS			128
43