xref: /openbmc/linux/arch/mips/include/asm/mach-ip27/irq.h (revision 863be3c3)
1384740dcSRalf Baechle /*
2384740dcSRalf Baechle  * This file is subject to the terms and conditions of the GNU General Public
3384740dcSRalf Baechle  * License.  See the file "COPYING" in the main directory of this archive
4384740dcSRalf Baechle  * for more details.
5384740dcSRalf Baechle  *
6384740dcSRalf Baechle  * Copyright (C) 1999, 2000, 01, 02, 03 by Ralf Baechle
7384740dcSRalf Baechle  * Copyright (C) 1999, 2000 Silicon Graphics, Inc.
8384740dcSRalf Baechle  * Copyright (C) 2001 Kanoj Sarcar
9384740dcSRalf Baechle  */
10384740dcSRalf Baechle #ifndef __ASM_MACH_IP27_IRQ_H
11384740dcSRalf Baechle #define __ASM_MACH_IP27_IRQ_H
12384740dcSRalf Baechle 
13384740dcSRalf Baechle #define NR_IRQS 256
14384740dcSRalf Baechle 
15863be3c3Sbibo mao #include <asm/mach-generic/irq.h>
16384740dcSRalf Baechle 
1769a07a41SThomas Bogendoerfer #define IP27_HUB_PEND0_IRQ	(MIPS_CPU_IRQ_BASE + 2)
1869a07a41SThomas Bogendoerfer #define IP27_HUB_PEND1_IRQ	(MIPS_CPU_IRQ_BASE + 3)
1969a07a41SThomas Bogendoerfer #define IP27_RT_TIMER_IRQ	(MIPS_CPU_IRQ_BASE + 4)
2069a07a41SThomas Bogendoerfer 
2169a07a41SThomas Bogendoerfer #define IP27_HUB_IRQ_BASE	(MIPS_CPU_IRQ_BASE + 8)
2269a07a41SThomas Bogendoerfer #define IP27_HUB_IRQ_COUNT	128
2369a07a41SThomas Bogendoerfer 
24384740dcSRalf Baechle #endif /* __ASM_MACH_IP27_IRQ_H */
25