diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx50.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx50.h | 187 |
1 files changed, 94 insertions, 93 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx50.h b/arch/arm/plat-mxc/include/mach/mx50.h index 5f2da75a47f4..09ac19c1570c 100644 --- a/arch/arm/plat-mxc/include/mach/mx50.h +++ b/arch/arm/plat-mxc/include/mach/mx50.h | |||
@@ -188,99 +188,100 @@ | |||
188 | /* | 188 | /* |
189 | * Interrupt numbers | 189 | * Interrupt numbers |
190 | */ | 190 | */ |
191 | #define MX50_INT_MMC_SDHC1 1 | 191 | #include <asm/irq.h> |
192 | #define MX50_INT_MMC_SDHC2 2 | 192 | #define MX50_INT_MMC_SDHC1 (NR_IRQS_LEGACY + 1) |
193 | #define MX50_INT_MMC_SDHC3 3 | 193 | #define MX50_INT_MMC_SDHC2 (NR_IRQS_LEGACY + 2) |
194 | #define MX50_INT_MMC_SDHC4 4 | 194 | #define MX50_INT_MMC_SDHC3 (NR_IRQS_LEGACY + 3) |
195 | #define MX50_INT_DAP 5 | 195 | #define MX50_INT_MMC_SDHC4 (NR_IRQS_LEGACY + 4) |
196 | #define MX50_INT_SDMA 6 | 196 | #define MX50_INT_DAP (NR_IRQS_LEGACY + 5) |
197 | #define MX50_INT_IOMUX 7 | 197 | #define MX50_INT_SDMA (NR_IRQS_LEGACY + 6) |
198 | #define MX50_INT_UART4 13 | 198 | #define MX50_INT_IOMUX (NR_IRQS_LEGACY + 7) |
199 | #define MX50_INT_USB_H1 14 | 199 | #define MX50_INT_UART4 (NR_IRQS_LEGACY + 13) |
200 | #define MX50_INT_USB_OTG 18 | 200 | #define MX50_INT_USB_H1 (NR_IRQS_LEGACY + 14) |
201 | #define MX50_INT_DATABAHN 19 | 201 | #define MX50_INT_USB_OTG (NR_IRQS_LEGACY + 18) |
202 | #define MX50_INT_ELCDIF 20 | 202 | #define MX50_INT_DATABAHN (NR_IRQS_LEGACY + 19) |
203 | #define MX50_INT_EPXP 21 | 203 | #define MX50_INT_ELCDIF (NR_IRQS_LEGACY + 20) |
204 | #define MX50_INT_SRTC_NTZ 24 | 204 | #define MX50_INT_EPXP (NR_IRQS_LEGACY + 21) |
205 | #define MX50_INT_SRTC_TZ 25 | 205 | #define MX50_INT_SRTC_NTZ (NR_IRQS_LEGACY + 24) |
206 | #define MX50_INT_EPDC 27 | 206 | #define MX50_INT_SRTC_TZ (NR_IRQS_LEGACY + 25) |
207 | #define MX50_INT_NIC 28 | 207 | #define MX50_INT_EPDC (NR_IRQS_LEGACY + 27) |
208 | #define MX50_INT_SSI1 29 | 208 | #define MX50_INT_NIC (NR_IRQS_LEGACY + 28) |
209 | #define MX50_INT_SSI2 30 | 209 | #define MX50_INT_SSI1 (NR_IRQS_LEGACY + 29) |
210 | #define MX50_INT_UART1 31 | 210 | #define MX50_INT_SSI2 (NR_IRQS_LEGACY + 30) |
211 | #define MX50_INT_UART2 32 | 211 | #define MX50_INT_UART1 (NR_IRQS_LEGACY + 31) |
212 | #define MX50_INT_UART3 33 | 212 | #define MX50_INT_UART2 (NR_IRQS_LEGACY + 32) |
213 | #define MX50_INT_RESV34 34 | 213 | #define MX50_INT_UART3 (NR_IRQS_LEGACY + 33) |
214 | #define MX50_INT_RESV35 35 | 214 | #define MX50_INT_RESV34 (NR_IRQS_LEGACY + 34) |
215 | #define MX50_INT_CSPI1 36 | 215 | #define MX50_INT_RESV35 (NR_IRQS_LEGACY + 35) |
216 | #define MX50_INT_CSPI2 37 | 216 | #define MX50_INT_CSPI1 (NR_IRQS_LEGACY + 36) |
217 | #define MX50_INT_CSPI 38 | 217 | #define MX50_INT_CSPI2 (NR_IRQS_LEGACY + 37) |
218 | #define MX50_INT_GPT 39 | 218 | #define MX50_INT_CSPI (NR_IRQS_LEGACY + 38) |
219 | #define MX50_INT_EPIT1 40 | 219 | #define MX50_INT_GPT (NR_IRQS_LEGACY + 39) |
220 | #define MX50_INT_GPIO1_INT7 42 | 220 | #define MX50_INT_EPIT1 (NR_IRQS_LEGACY + 40) |
221 | #define MX50_INT_GPIO1_INT6 43 | 221 | #define MX50_INT_GPIO1_INT7 (NR_IRQS_LEGACY + 42) |
222 | #define MX50_INT_GPIO1_INT5 44 | 222 | #define MX50_INT_GPIO1_INT6 (NR_IRQS_LEGACY + 43) |
223 | #define MX50_INT_GPIO1_INT4 45 | 223 | #define MX50_INT_GPIO1_INT5 (NR_IRQS_LEGACY + 44) |
224 | #define MX50_INT_GPIO1_INT3 46 | 224 | #define MX50_INT_GPIO1_INT4 (NR_IRQS_LEGACY + 45) |
225 | #define MX50_INT_GPIO1_INT2 47 | 225 | #define MX50_INT_GPIO1_INT3 (NR_IRQS_LEGACY + 46) |
226 | #define MX50_INT_GPIO1_INT1 48 | 226 | #define MX50_INT_GPIO1_INT2 (NR_IRQS_LEGACY + 47) |
227 | #define MX50_INT_GPIO1_INT0 49 | 227 | #define MX50_INT_GPIO1_INT1 (NR_IRQS_LEGACY + 48) |
228 | #define MX50_INT_GPIO1_LOW 50 | 228 | #define MX50_INT_GPIO1_INT0 (NR_IRQS_LEGACY + 49) |
229 | #define MX50_INT_GPIO1_HIGH 51 | 229 | #define MX50_INT_GPIO1_LOW (NR_IRQS_LEGACY + 50) |
230 | #define MX50_INT_GPIO2_LOW 52 | 230 | #define MX50_INT_GPIO1_HIGH (NR_IRQS_LEGACY + 51) |
231 | #define MX50_INT_GPIO2_HIGH 53 | 231 | #define MX50_INT_GPIO2_LOW (NR_IRQS_LEGACY + 52) |
232 | #define MX50_INT_GPIO3_LOW 54 | 232 | #define MX50_INT_GPIO2_HIGH (NR_IRQS_LEGACY + 53) |
233 | #define MX50_INT_GPIO3_HIGH 55 | 233 | #define MX50_INT_GPIO3_LOW (NR_IRQS_LEGACY + 54) |
234 | #define MX50_INT_GPIO4_LOW 56 | 234 | #define MX50_INT_GPIO3_HIGH (NR_IRQS_LEGACY + 55) |
235 | #define MX50_INT_GPIO4_HIGH 57 | 235 | #define MX50_INT_GPIO4_LOW (NR_IRQS_LEGACY + 56) |
236 | #define MX50_INT_WDOG1 58 | 236 | #define MX50_INT_GPIO4_HIGH (NR_IRQS_LEGACY + 57) |
237 | #define MX50_INT_KPP 60 | 237 | #define MX50_INT_WDOG1 (NR_IRQS_LEGACY + 58) |
238 | #define MX50_INT_PWM1 61 | 238 | #define MX50_INT_KPP (NR_IRQS_LEGACY + 60) |
239 | #define MX50_INT_I2C1 62 | 239 | #define MX50_INT_PWM1 (NR_IRQS_LEGACY + 61) |
240 | #define MX50_INT_I2C2 63 | 240 | #define MX50_INT_I2C1 (NR_IRQS_LEGACY + 62) |
241 | #define MX50_INT_I2C3 64 | 241 | #define MX50_INT_I2C2 (NR_IRQS_LEGACY + 63) |
242 | #define MX50_INT_RESV65 65 | 242 | #define MX50_INT_I2C3 (NR_IRQS_LEGACY + 64) |
243 | #define MX50_INT_DCDC 66 | 243 | #define MX50_INT_RESV65 (NR_IRQS_LEGACY + 65) |
244 | #define MX50_INT_THERMAL_ALARM 67 | 244 | #define MX50_INT_DCDC (NR_IRQS_LEGACY + 66) |
245 | #define MX50_INT_ANA3 68 | 245 | #define MX50_INT_THERMAL_ALARM (NR_IRQS_LEGACY + 67) |
246 | #define MX50_INT_ANA4 69 | 246 | #define MX50_INT_ANA3 (NR_IRQS_LEGACY + 68) |
247 | #define MX50_INT_CCM1 71 | 247 | #define MX50_INT_ANA4 (NR_IRQS_LEGACY + 69) |
248 | #define MX50_INT_CCM2 72 | 248 | #define MX50_INT_CCM1 (NR_IRQS_LEGACY + 71) |
249 | #define MX50_INT_GPC1 73 | 249 | #define MX50_INT_CCM2 (NR_IRQS_LEGACY + 72) |
250 | #define MX50_INT_GPC2 74 | 250 | #define MX50_INT_GPC1 (NR_IRQS_LEGACY + 73) |
251 | #define MX50_INT_SRC 75 | 251 | #define MX50_INT_GPC2 (NR_IRQS_LEGACY + 74) |
252 | #define MX50_INT_NM 76 | 252 | #define MX50_INT_SRC (NR_IRQS_LEGACY + 75) |
253 | #define MX50_INT_PMU 77 | 253 | #define MX50_INT_NM (NR_IRQS_LEGACY + 76) |
254 | #define MX50_INT_CTI_IRQ 78 | 254 | #define MX50_INT_PMU (NR_IRQS_LEGACY + 77) |
255 | #define MX50_INT_CTI1_TG0 79 | 255 | #define MX50_INT_CTI_IRQ (NR_IRQS_LEGACY + 78) |
256 | #define MX50_INT_CTI1_TG1 80 | 256 | #define MX50_INT_CTI1_TG0 (NR_IRQS_LEGACY + 79) |
257 | #define MX50_INT_GPU2_IRQ 84 | 257 | #define MX50_INT_CTI1_TG1 (NR_IRQS_LEGACY + 80) |
258 | #define MX50_INT_GPU2_BUSY 85 | 258 | #define MX50_INT_GPU2_IRQ (NR_IRQS_LEGACY + 84) |
259 | #define MX50_INT_UART5 86 | 259 | #define MX50_INT_GPU2_BUSY (NR_IRQS_LEGACY + 85) |
260 | #define MX50_INT_FEC 87 | 260 | #define MX50_INT_UART5 (NR_IRQS_LEGACY + 86) |
261 | #define MX50_INT_OWIRE 88 | 261 | #define MX50_INT_FEC (NR_IRQS_LEGACY + 87) |
262 | #define MX50_INT_CTI1_TG2 89 | 262 | #define MX50_INT_OWIRE (NR_IRQS_LEGACY + 88) |
263 | #define MX50_INT_SJC 90 | 263 | #define MX50_INT_CTI1_TG2 (NR_IRQS_LEGACY + 89) |
264 | #define MX50_INT_DCP_CHAN1_3 91 | 264 | #define MX50_INT_SJC (NR_IRQS_LEGACY + 90) |
265 | #define MX50_INT_DCP_CHAN0 92 | 265 | #define MX50_INT_DCP_CHAN1_3 (NR_IRQS_LEGACY + 91) |
266 | #define MX50_INT_PWM2 94 | 266 | #define MX50_INT_DCP_CHAN0 (NR_IRQS_LEGACY + 92) |
267 | #define MX50_INT_RNGB 97 | 267 | #define MX50_INT_PWM2 (NR_IRQS_LEGACY + 94) |
268 | #define MX50_INT_CTI1_TG3 98 | 268 | #define MX50_INT_RNGB (NR_IRQS_LEGACY + 97) |
269 | #define MX50_INT_RAWNAND_BCH 100 | 269 | #define MX50_INT_CTI1_TG3 (NR_IRQS_LEGACY + 98) |
270 | #define MX50_INT_RAWNAND_GPMI 102 | 270 | #define MX50_INT_RAWNAND_BCH (NR_IRQS_LEGACY + 100) |
271 | #define MX50_INT_GPIO5_LOW 103 | 271 | #define MX50_INT_RAWNAND_GPMI (NR_IRQS_LEGACY + 102) |
272 | #define MX50_INT_GPIO5_HIGH 104 | 272 | #define MX50_INT_GPIO5_LOW (NR_IRQS_LEGACY + 103) |
273 | #define MX50_INT_GPIO6_LOW 105 | 273 | #define MX50_INT_GPIO5_HIGH (NR_IRQS_LEGACY + 104) |
274 | #define MX50_INT_GPIO6_HIGH 106 | 274 | #define MX50_INT_GPIO6_LOW (NR_IRQS_LEGACY + 105) |
275 | #define MX50_INT_MSHC 109 | 275 | #define MX50_INT_GPIO6_HIGH (NR_IRQS_LEGACY + 106) |
276 | #define MX50_INT_APBHDMA_CHAN0 110 | 276 | #define MX50_INT_MSHC (NR_IRQS_LEGACY + 109) |
277 | #define MX50_INT_APBHDMA_CHAN1 111 | 277 | #define MX50_INT_APBHDMA_CHAN0 (NR_IRQS_LEGACY + 110) |
278 | #define MX50_INT_APBHDMA_CHAN2 112 | 278 | #define MX50_INT_APBHDMA_CHAN1 (NR_IRQS_LEGACY + 111) |
279 | #define MX50_INT_APBHDMA_CHAN3 113 | 279 | #define MX50_INT_APBHDMA_CHAN2 (NR_IRQS_LEGACY + 112) |
280 | #define MX50_INT_APBHDMA_CHAN4 114 | 280 | #define MX50_INT_APBHDMA_CHAN3 (NR_IRQS_LEGACY + 113) |
281 | #define MX50_INT_APBHDMA_CHAN5 115 | 281 | #define MX50_INT_APBHDMA_CHAN4 (NR_IRQS_LEGACY + 114) |
282 | #define MX50_INT_APBHDMA_CHAN6 116 | 282 | #define MX50_INT_APBHDMA_CHAN5 (NR_IRQS_LEGACY + 115) |
283 | #define MX50_INT_APBHDMA_CHAN7 117 | 283 | #define MX50_INT_APBHDMA_CHAN6 (NR_IRQS_LEGACY + 116) |
284 | #define MX50_INT_APBHDMA_CHAN7 (NR_IRQS_LEGACY + 117) | ||
284 | 285 | ||
285 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) | 286 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) |
286 | extern int mx50_revision(void); | 287 | extern int mx50_revision(void); |