1 From 4f11f18f656b0c3538bb92cffcea62401f351660 Mon Sep 17 00:00:00 2001
2 From: notro <notro@tronnes.org>
3 Date: Sun, 20 Apr 2014 18:51:40 +0200
4 Subject: [PATCH 192/196] mach-bcm2708: Reserve 64 IRQs for peripherals
6 The Raspberry Pi does not support dynamic IRQs. Some peripherals, such
7 as the STMPE, add IRQ controllers. If there aren't any reserved IRQs, then
8 these peripherals will just fail.
10 Signed-off-by: Sean Cross <xobs@kosagi.com>
11 Signed-off-by: Noralf Tronnes <notro@tronnes.org>
13 arch/arm/mach-bcm2708/include/mach/irqs.h | 3 ++-
14 1 file changed, 2 insertions(+), 1 deletion(-)
16 diff --git a/arch/arm/mach-bcm2708/include/mach/irqs.h b/arch/arm/mach-bcm2708/include/mach/irqs.h
17 index 9aaedf1..1947d91 100644
18 --- a/arch/arm/mach-bcm2708/include/mach/irqs.h
19 +++ b/arch/arm/mach-bcm2708/include/mach/irqs.h
21 #define HARD_IRQS (64 + 21)
22 #define FIQ_IRQS (64 + 21)
23 #define GPIO_IRQS (32*5)
24 +#define SPARE_IRQS (64)
26 -#define NR_IRQS HARD_IRQS+FIQ_IRQS+GPIO_IRQS
27 +#define NR_IRQS HARD_IRQS+FIQ_IRQS+GPIO_IRQS+SPARE_IRQS
30 #endif /* _BCM2708_IRQS_H_ */