diff options
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/irqs.h')
-rw-r--r-- | arch/arm/mach-ux500/include/mach/irqs.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/irqs.h b/arch/arm/mach-ux500/include/mach/irqs.h index 0d552d9c9c00..693aa57de88d 100644 --- a/arch/arm/mach-ux500/include/mach/irqs.h +++ b/arch/arm/mach-ux500/include/mach/irqs.h | |||
@@ -84,6 +84,19 @@ | |||
84 | #include <mach/irqs-board-mop500.h> | 84 | #include <mach/irqs-board-mop500.h> |
85 | #endif | 85 | #endif |
86 | 86 | ||
87 | #define NR_IRQS IRQ_BOARD_END | 87 | /* |
88 | * After the board specific IRQ:s we reserve a range of IRQ:s in which virtual | ||
89 | * IRQ:s representing modem IRQ:s can be allocated | ||
90 | */ | ||
91 | #define IRQ_MODEM_EVENTS_BASE (IRQ_BOARD_END + 1) | ||
92 | #define IRQ_MODEM_EVENTS_NBR 72 | ||
93 | #define IRQ_MODEM_EVENTS_END (IRQ_MODEM_EVENTS_BASE + IRQ_MODEM_EVENTS_NBR) | ||
94 | |||
95 | /* List of virtual IRQ:s that are allocated from the range above */ | ||
96 | #define MBOX_PAIR0_VIRT_IRQ (IRQ_MODEM_EVENTS_BASE + 43) | ||
97 | #define MBOX_PAIR1_VIRT_IRQ (IRQ_MODEM_EVENTS_BASE + 45) | ||
98 | #define MBOX_PAIR2_VIRT_IRQ (IRQ_MODEM_EVENTS_BASE + 41) | ||
99 | |||
100 | #define NR_IRQS IRQ_MODEM_EVENTS_END | ||
88 | 101 | ||
89 | #endif /* ASM_ARCH_IRQS_H */ | 102 | #endif /* ASM_ARCH_IRQS_H */ |