aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-ralink/irq.h
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2016-01-04 20:23:55 +0100
committerRalf Baechle <ralf@linux-mips.org>2016-01-20 00:39:20 +0100
commit1df7addb9671ace5fbae4daa45b0755cebefb1dc (patch)
tree9d89a771cc553f809520e8896f841e5e568f478c /arch/mips/include/asm/mach-ralink/irq.h
parentMIPS: ralink: add a symbol for INTC (diff)
downloadlinux-dev-1df7addb9671ace5fbae4daa45b0755cebefb1dc.tar.xz
linux-dev-1df7addb9671ace5fbae4daa45b0755cebefb1dc.zip
MIPS: ralink: add MT7621 support
MT7621 is based on a 1004k core. This patch adds support for the SoC. The timer and IRQ is just boiler plate as GIC has recently been moved to generic places in the kernel and just works. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/11990/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ralink/irq.h')
-rw-r--r--arch/mips/include/asm/mach-ralink/irq.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ralink/irq.h b/arch/mips/include/asm/mach-ralink/irq.h
new file mode 100644
index 000000000000..4321865e04b9
--- /dev/null
+++ b/arch/mips/include/asm/mach-ralink/irq.h
@@ -0,0 +1,9 @@
+#ifndef __ASM_MACH_RALINK_IRQ_H
+#define __ASM_MACH_RALINK_IRQ_H
+
+#define GIC_NUM_INTRS 64
+#define NR_IRQS 256
+
+#include_next <irq.h>
+
+#endif