diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx2x.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx2x.h | 87 |
1 files changed, 44 insertions, 43 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx2x.h b/arch/arm/plat-mxc/include/mach/mx2x.h index 6d07839fdec2..11642f5b224c 100644 --- a/arch/arm/plat-mxc/include/mach/mx2x.h +++ b/arch/arm/plat-mxc/include/mach/mx2x.h | |||
@@ -68,49 +68,50 @@ | |||
68 | #define MX2x_CSI_BASE_ADDR (MX2x_SAHB1_BASE_ADDR + 0x0000) | 68 | #define MX2x_CSI_BASE_ADDR (MX2x_SAHB1_BASE_ADDR + 0x0000) |
69 | 69 | ||
70 | /* fixed interrupt numbers */ | 70 | /* fixed interrupt numbers */ |
71 | #define MX2x_INT_CSPI3 6 | 71 | #include <asm/irq.h> |
72 | #define MX2x_INT_GPIO 8 | 72 | #define MX2x_INT_CSPI3 (NR_IRQS_LEGACY + 6) |
73 | #define MX2x_INT_SDHC2 10 | 73 | #define MX2x_INT_GPIO (NR_IRQS_LEGACY + 8) |
74 | #define MX2x_INT_SDHC1 11 | 74 | #define MX2x_INT_SDHC2 (NR_IRQS_LEGACY + 10) |
75 | #define MX2x_INT_I2C 12 | 75 | #define MX2x_INT_SDHC1 (NR_IRQS_LEGACY + 11) |
76 | #define MX2x_INT_SSI2 13 | 76 | #define MX2x_INT_I2C (NR_IRQS_LEGACY + 12) |
77 | #define MX2x_INT_SSI1 14 | 77 | #define MX2x_INT_SSI2 (NR_IRQS_LEGACY + 13) |
78 | #define MX2x_INT_CSPI2 15 | 78 | #define MX2x_INT_SSI1 (NR_IRQS_LEGACY + 14) |
79 | #define MX2x_INT_CSPI1 16 | 79 | #define MX2x_INT_CSPI2 (NR_IRQS_LEGACY + 15) |
80 | #define MX2x_INT_UART4 17 | 80 | #define MX2x_INT_CSPI1 (NR_IRQS_LEGACY + 16) |
81 | #define MX2x_INT_UART3 18 | 81 | #define MX2x_INT_UART4 (NR_IRQS_LEGACY + 17) |
82 | #define MX2x_INT_UART2 19 | 82 | #define MX2x_INT_UART3 (NR_IRQS_LEGACY + 18) |
83 | #define MX2x_INT_UART1 20 | 83 | #define MX2x_INT_UART2 (NR_IRQS_LEGACY + 19) |
84 | #define MX2x_INT_KPP 21 | 84 | #define MX2x_INT_UART1 (NR_IRQS_LEGACY + 20) |
85 | #define MX2x_INT_RTC 22 | 85 | #define MX2x_INT_KPP (NR_IRQS_LEGACY + 21) |
86 | #define MX2x_INT_PWM 23 | 86 | #define MX2x_INT_RTC (NR_IRQS_LEGACY + 22) |
87 | #define MX2x_INT_GPT3 24 | 87 | #define MX2x_INT_PWM (NR_IRQS_LEGACY + 23) |
88 | #define MX2x_INT_GPT2 25 | 88 | #define MX2x_INT_GPT3 (NR_IRQS_LEGACY + 24) |
89 | #define MX2x_INT_GPT1 26 | 89 | #define MX2x_INT_GPT2 (NR_IRQS_LEGACY + 25) |
90 | #define MX2x_INT_WDOG 27 | 90 | #define MX2x_INT_GPT1 (NR_IRQS_LEGACY + 26) |
91 | #define MX2x_INT_PCMCIA 28 | 91 | #define MX2x_INT_WDOG (NR_IRQS_LEGACY + 27) |
92 | #define MX2x_INT_NANDFC 29 | 92 | #define MX2x_INT_PCMCIA (NR_IRQS_LEGACY + 28) |
93 | #define MX2x_INT_CSI 31 | 93 | #define MX2x_INT_NANDFC (NR_IRQS_LEGACY + 29) |
94 | #define MX2x_INT_DMACH0 32 | 94 | #define MX2x_INT_CSI (NR_IRQS_LEGACY + 31) |
95 | #define MX2x_INT_DMACH1 33 | 95 | #define MX2x_INT_DMACH0 (NR_IRQS_LEGACY + 32) |
96 | #define MX2x_INT_DMACH2 34 | 96 | #define MX2x_INT_DMACH1 (NR_IRQS_LEGACY + 33) |
97 | #define MX2x_INT_DMACH3 35 | 97 | #define MX2x_INT_DMACH2 (NR_IRQS_LEGACY + 34) |
98 | #define MX2x_INT_DMACH4 36 | 98 | #define MX2x_INT_DMACH3 (NR_IRQS_LEGACY + 35) |
99 | #define MX2x_INT_DMACH5 37 | 99 | #define MX2x_INT_DMACH4 (NR_IRQS_LEGACY + 36) |
100 | #define MX2x_INT_DMACH6 38 | 100 | #define MX2x_INT_DMACH5 (NR_IRQS_LEGACY + 37) |
101 | #define MX2x_INT_DMACH7 39 | 101 | #define MX2x_INT_DMACH6 (NR_IRQS_LEGACY + 38) |
102 | #define MX2x_INT_DMACH8 40 | 102 | #define MX2x_INT_DMACH7 (NR_IRQS_LEGACY + 39) |
103 | #define MX2x_INT_DMACH9 41 | 103 | #define MX2x_INT_DMACH8 (NR_IRQS_LEGACY + 40) |
104 | #define MX2x_INT_DMACH10 42 | 104 | #define MX2x_INT_DMACH9 (NR_IRQS_LEGACY + 41) |
105 | #define MX2x_INT_DMACH11 43 | 105 | #define MX2x_INT_DMACH10 (NR_IRQS_LEGACY + 42) |
106 | #define MX2x_INT_DMACH12 44 | 106 | #define MX2x_INT_DMACH11 (NR_IRQS_LEGACY + 43) |
107 | #define MX2x_INT_DMACH13 45 | 107 | #define MX2x_INT_DMACH12 (NR_IRQS_LEGACY + 44) |
108 | #define MX2x_INT_DMACH14 46 | 108 | #define MX2x_INT_DMACH13 (NR_IRQS_LEGACY + 45) |
109 | #define MX2x_INT_DMACH15 47 | 109 | #define MX2x_INT_DMACH14 (NR_IRQS_LEGACY + 46) |
110 | #define MX2x_INT_EMMAPRP 51 | 110 | #define MX2x_INT_DMACH15 (NR_IRQS_LEGACY + 47) |
111 | #define MX2x_INT_EMMAPP 52 | 111 | #define MX2x_INT_EMMAPRP (NR_IRQS_LEGACY + 51) |
112 | #define MX2x_INT_SLCDC 60 | 112 | #define MX2x_INT_EMMAPP (NR_IRQS_LEGACY + 52) |
113 | #define MX2x_INT_LCDC 61 | 113 | #define MX2x_INT_SLCDC (NR_IRQS_LEGACY + 60) |
114 | #define MX2x_INT_LCDC (NR_IRQS_LEGACY + 61) | ||
114 | 115 | ||
115 | /* fixed DMA request numbers */ | 116 | /* fixed DMA request numbers */ |
116 | #define MX2x_DMA_REQ_CSPI3_RX 1 | 117 | #define MX2x_DMA_REQ_CSPI3_RX 1 |