mirror of https://github.com/OpenIPC/firmware.git
21 lines
803 B
Diff
21 lines
803 B
Diff
diff -drupN a/include/dt-bindings/interrupt-controller/mips-irq.h b/include/dt-bindings/interrupt-controller/mips-irq.h
|
|
--- a/include/dt-bindings/interrupt-controller/mips-irq.h 1970-01-01 03:00:00.000000000 +0300
|
|
+++ b/include/dt-bindings/interrupt-controller/mips-irq.h 2022-06-09 05:02:35.000000000 +0300
|
|
@@ -0,0 +1,16 @@
|
|
+#ifndef _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_IRQ_H
|
|
+#define _DT_BINDINGS_INTERRUPT_CONTROLLER_MIPS_IRQ_H
|
|
+
|
|
+#define MIPS_CPU_IRQ_BASE (0)
|
|
+
|
|
+#define CORE_INTC_IRQ (MIPS_CPU_IRQ_BASE + 2)
|
|
+#define CORE_MAILBOX_IRQ (MIPS_CPU_IRQ_BASE + 3)
|
|
+#define CORE_SYS_OST_IRQ (MIPS_CPU_IRQ_BASE + 4)
|
|
+
|
|
+#define CORE_IRQS_END (7)
|
|
+
|
|
+#define INTC_NR_IRQS (64)
|
|
+#define IRQ_INTC_BASE (CORE_IRQS_END + 1)
|
|
+#define IRQ_INTC_END (IRQ_INTC_BASE + INTC_NR_IRQS - 1)
|
|
+
|
|
+#endif
|