forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/mips/include/asm/mach-ip27/irq.h
....@@ -10,13 +10,15 @@
1010 #ifndef __ASM_MACH_IP27_IRQ_H
1111 #define __ASM_MACH_IP27_IRQ_H
1212
13
-/*
14
- * A hardwired interrupt number is completely stupid for this system - a
15
- * large configuration might have thousands if not tenthousands of
16
- * interrupts.
17
- */
1813 #define NR_IRQS 256
1914
20
-#include_next <irq.h>
15
+#include <asm/mach-generic/irq.h>
16
+
17
+#define IP27_HUB_PEND0_IRQ (MIPS_CPU_IRQ_BASE + 2)
18
+#define IP27_HUB_PEND1_IRQ (MIPS_CPU_IRQ_BASE + 3)
19
+#define IP27_RT_TIMER_IRQ (MIPS_CPU_IRQ_BASE + 4)
20
+
21
+#define IP27_HUB_IRQ_BASE (MIPS_CPU_IRQ_BASE + 8)
22
+#define IP27_HUB_IRQ_COUNT 128
2123
2224 #endif /* __ASM_MACH_IP27_IRQ_H */