diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-02-15 22:53:47 +0400 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-02-19 12:36:25 +0400 |
commit | 53330332f176eaa9567481c69bbad8b2176b4eb5 (patch) | |
tree | d5278cdce05a2a3bbfacb0e774c45f67ca3429ff /arch/mips/include/asm/mach-ath79/irq.h | |
parent | 41583c05c15cd3adb848f9ee8316bf8084c961cb (diff) | |
download | linux-53330332f176eaa9567481c69bbad8b2176b4eb5.tar.xz |
MIPS: ath79: add IRQ handling code for the QCA955X SoCs
The IRQ routing in the QCA955x SoCs is slightly
different from the routing implemented in the
already supported SoCs.
Cc: Rodriguez, Luis <rodrigue@qca.qualcomm.com>
Cc: Giori, Kathy <kgiori@qca.qualcomm.com>
Cc: QCA Linux Team <qca-linux-team@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4955/
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79/irq.h')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/irq.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-ath79/irq.h b/arch/mips/include/asm/mach-ath79/irq.h index 23e2bba42482..5c9ca76a7ebf 100644 --- a/arch/mips/include/asm/mach-ath79/irq.h +++ b/arch/mips/include/asm/mach-ath79/irq.h @@ -10,7 +10,7 @@ #define __ASM_MACH_ATH79_IRQ_H #define MIPS_CPU_IRQ_BASE 0 -#define NR_IRQS 48 +#define NR_IRQS 51 #define ATH79_CPU_IRQ(_x) (MIPS_CPU_IRQ_BASE + (_x)) @@ -26,6 +26,10 @@ #define ATH79_IP2_IRQ_COUNT 2 #define ATH79_IP2_IRQ(_x) (ATH79_IP2_IRQ_BASE + (_x)) +#define ATH79_IP3_IRQ_BASE (ATH79_IP2_IRQ_BASE + ATH79_IP2_IRQ_COUNT) +#define ATH79_IP3_IRQ_COUNT 3 +#define ATH79_IP3_IRQ(_x) (ATH79_IP3_IRQ_BASE + (_x)) + #include_next <irq.h> #endif /* __ASM_MACH_ATH79_IRQ_H */ |