Go to the documentation of this file.
21 #ifndef __MACH_IRQS_EB_H
22 #define __MACH_IRQS_EB_H
24 #define IRQ_EB_GIC_START 32
29 #define IRQ_EB_WDOG (IRQ_EB_GIC_START + 0)
30 #define IRQ_EB_SOFT (IRQ_EB_GIC_START + 1)
31 #define IRQ_EB_COMMRx (IRQ_EB_GIC_START + 2)
32 #define IRQ_EB_COMMTx (IRQ_EB_GIC_START + 3)
33 #define IRQ_EB_TIMER0_1 (IRQ_EB_GIC_START + 4)
34 #define IRQ_EB_TIMER2_3 (IRQ_EB_GIC_START + 5)
35 #define IRQ_EB_GPIO0 (IRQ_EB_GIC_START + 6)
36 #define IRQ_EB_GPIO1 (IRQ_EB_GIC_START + 7)
37 #define IRQ_EB_GPIO2 (IRQ_EB_GIC_START + 8)
39 #define IRQ_EB_RTC (IRQ_EB_GIC_START + 10)
40 #define IRQ_EB_SSP (IRQ_EB_GIC_START + 11)
41 #define IRQ_EB_UART0 (IRQ_EB_GIC_START + 12)
42 #define IRQ_EB_UART1 (IRQ_EB_GIC_START + 13)
43 #define IRQ_EB_UART2 (IRQ_EB_GIC_START + 14)
44 #define IRQ_EB_UART3 (IRQ_EB_GIC_START + 15)
45 #define IRQ_EB_SCI (IRQ_EB_GIC_START + 16)
46 #define IRQ_EB_MMCI0A (IRQ_EB_GIC_START + 17)
47 #define IRQ_EB_MMCI0B (IRQ_EB_GIC_START + 18)
48 #define IRQ_EB_AACI (IRQ_EB_GIC_START + 19)
49 #define IRQ_EB_KMI0 (IRQ_EB_GIC_START + 20)
50 #define IRQ_EB_KMI1 (IRQ_EB_GIC_START + 21)
51 #define IRQ_EB_CHARLCD (IRQ_EB_GIC_START + 22)
52 #define IRQ_EB_CLCD (IRQ_EB_GIC_START + 23)
53 #define IRQ_EB_DMA (IRQ_EB_GIC_START + 24)
54 #define IRQ_EB_PWRFAIL (IRQ_EB_GIC_START + 25)
55 #define IRQ_EB_PISMO (IRQ_EB_GIC_START + 26)
56 #define IRQ_EB_DoC (IRQ_EB_GIC_START + 27)
57 #define IRQ_EB_ETH (IRQ_EB_GIC_START + 28)
58 #define IRQ_EB_USB (IRQ_EB_GIC_START + 29)
59 #define IRQ_EB_TSPEN (IRQ_EB_GIC_START + 30)
60 #define IRQ_EB_TSKPAD (IRQ_EB_GIC_START + 31)
65 #define IRQ_EB11MP_AACI (IRQ_EB_GIC_START + 0)
66 #define IRQ_EB11MP_TIMER0_1 (IRQ_EB_GIC_START + 1)
67 #define IRQ_EB11MP_TIMER2_3 (IRQ_EB_GIC_START + 2)
68 #define IRQ_EB11MP_USB (IRQ_EB_GIC_START + 3)
69 #define IRQ_EB11MP_UART0 (IRQ_EB_GIC_START + 4)
70 #define IRQ_EB11MP_UART1 (IRQ_EB_GIC_START + 5)
71 #define IRQ_EB11MP_RTC (IRQ_EB_GIC_START + 6)
72 #define IRQ_EB11MP_KMI0 (IRQ_EB_GIC_START + 7)
73 #define IRQ_EB11MP_KMI1 (IRQ_EB_GIC_START + 8)
74 #define IRQ_EB11MP_ETH (IRQ_EB_GIC_START + 9)
75 #define IRQ_EB11MP_EB_IRQ1 (IRQ_EB_GIC_START + 10)
76 #define IRQ_EB11MP_EB_IRQ2 (IRQ_EB_GIC_START + 11)
77 #define IRQ_EB11MP_EB_FIQ1 (IRQ_EB_GIC_START + 12)
78 #define IRQ_EB11MP_EB_FIQ2 (IRQ_EB_GIC_START + 13)
79 #define IRQ_EB11MP_MMCI0A (IRQ_EB_GIC_START + 14)
80 #define IRQ_EB11MP_MMCI0B (IRQ_EB_GIC_START + 15)
82 #define IRQ_EB11MP_PMU_CPU0 (IRQ_EB_GIC_START + 17)
83 #define IRQ_EB11MP_PMU_CPU1 (IRQ_EB_GIC_START + 18)
84 #define IRQ_EB11MP_PMU_CPU2 (IRQ_EB_GIC_START + 19)
85 #define IRQ_EB11MP_PMU_CPU3 (IRQ_EB_GIC_START + 20)
86 #define IRQ_EB11MP_PMU_SCU0 (IRQ_EB_GIC_START + 21)
87 #define IRQ_EB11MP_PMU_SCU1 (IRQ_EB_GIC_START + 22)
88 #define IRQ_EB11MP_PMU_SCU2 (IRQ_EB_GIC_START + 23)
89 #define IRQ_EB11MP_PMU_SCU3 (IRQ_EB_GIC_START + 24)
90 #define IRQ_EB11MP_PMU_SCU4 (IRQ_EB_GIC_START + 25)
91 #define IRQ_EB11MP_PMU_SCU5 (IRQ_EB_GIC_START + 26)
92 #define IRQ_EB11MP_PMU_SCU6 (IRQ_EB_GIC_START + 27)
93 #define IRQ_EB11MP_PMU_SCU7 (IRQ_EB_GIC_START + 28)
95 #define IRQ_EB11MP_L220_EVENT (IRQ_EB_GIC_START + 29)
96 #define IRQ_EB11MP_L220_SLAVE (IRQ_EB_GIC_START + 30)
97 #define IRQ_EB11MP_L220_DECODE (IRQ_EB_GIC_START + 31)
102 #define IRQ_EB11MP_UART2 0
103 #define IRQ_EB11MP_UART3 0
104 #define IRQ_EB11MP_CLCD 0
105 #define IRQ_EB11MP_DMA 0
106 #define IRQ_EB11MP_WDOG 0
107 #define IRQ_EB11MP_GPIO0 0
108 #define IRQ_EB11MP_GPIO1 0
109 #define IRQ_EB11MP_GPIO2 0
110 #define IRQ_EB11MP_SCI 0
111 #define IRQ_EB11MP_SSP 0
113 #define NR_GIC_EB11MP 2
118 #define NR_IRQS_EB (IRQ_EB_GIC_START + 96)
120 #if defined(CONFIG_MACH_REALVIEW_EB) \
121 && (!defined(NR_IRQS) || (NR_IRQS < NR_IRQS_EB))
123 #define NR_IRQS NR_IRQS_EB
126 #if defined(CONFIG_REALVIEW_EB_ARM11MP) || defined(CONFIG_REALVIEW_EB_A9MP) \
127 && (!defined(MAX_GIC_NR) || (MAX_GIC_NR < NR_GIC_EB11MP))
129 #define MAX_GIC_NR NR_GIC_EB11MP