diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2011-06-05 17:38:45 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2011-12-07 17:02:44 -0500 |
commit | d2b4ac1e5d34648cc56785f6bd11bfa020ad4f02 (patch) | |
tree | 74f043b6ffa5f01994edbc3dd95c614bc7996574 /arch/mips/include/asm/mach-ath79 | |
parent | 2f8501b9b81b23e99206e31b3eff65e68b56b24b (diff) |
MIPS: ath79: Handle more MISC IRQs
The AR724X SoCs have more IRQ sources hooked into the MISC IRQ controller.
The patch adds support for them.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2440/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ath79')
-rw-r--r-- | arch/mips/include/asm/mach-ath79/ar71xx_regs.h | 4 | ||||
-rw-r--r-- | arch/mips/include/asm/mach-ath79/irq.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h index cda1c8070b27..da0d89478259 100644 --- a/arch/mips/include/asm/mach-ath79/ar71xx_regs.h +++ b/arch/mips/include/asm/mach-ath79/ar71xx_regs.h | |||
@@ -130,6 +130,10 @@ | |||
130 | 130 | ||
131 | #define AR724X_RESET_REG_RESET_MODULE 0x1c | 131 | #define AR724X_RESET_REG_RESET_MODULE 0x1c |
132 | 132 | ||
133 | #define MISC_INT_ETHSW BIT(12) | ||
134 | #define MISC_INT_TIMER4 BIT(10) | ||
135 | #define MISC_INT_TIMER3 BIT(9) | ||
136 | #define MISC_INT_TIMER2 BIT(8) | ||
133 | #define MISC_INT_DMA BIT(7) | 137 | #define MISC_INT_DMA BIT(7) |
134 | #define MISC_INT_OHCI BIT(6) | 138 | #define MISC_INT_OHCI BIT(6) |
135 | #define MISC_INT_PERFC BIT(5) | 139 | #define MISC_INT_PERFC BIT(5) |
diff --git a/arch/mips/include/asm/mach-ath79/irq.h b/arch/mips/include/asm/mach-ath79/irq.h index cffbeab57a74..519958fe4e3c 100644 --- a/arch/mips/include/asm/mach-ath79/irq.h +++ b/arch/mips/include/asm/mach-ath79/irq.h | |||
@@ -30,6 +30,10 @@ | |||
30 | #define ATH79_MISC_IRQ_PERFC (ATH79_MISC_IRQ_BASE + 5) | 30 | #define ATH79_MISC_IRQ_PERFC (ATH79_MISC_IRQ_BASE + 5) |
31 | #define ATH79_MISC_IRQ_OHCI (ATH79_MISC_IRQ_BASE + 6) | 31 | #define ATH79_MISC_IRQ_OHCI (ATH79_MISC_IRQ_BASE + 6) |
32 | #define ATH79_MISC_IRQ_DMA (ATH79_MISC_IRQ_BASE + 7) | 32 | #define ATH79_MISC_IRQ_DMA (ATH79_MISC_IRQ_BASE + 7) |
33 | #define ATH79_MISC_IRQ_TIMER2 (ATH79_MISC_IRQ_BASE + 8) | ||
34 | #define ATH79_MISC_IRQ_TIMER3 (ATH79_MISC_IRQ_BASE + 9) | ||
35 | #define ATH79_MISC_IRQ_TIMER4 (ATH79_MISC_IRQ_BASE + 10) | ||
36 | #define ATH79_MISC_IRQ_ETHSW (ATH79_MISC_IRQ_BASE + 12) | ||
33 | 37 | ||
34 | #include_next <irq.h> | 38 | #include_next <irq.h> |
35 | 39 | ||