diff options
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/mx51.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/mx51.h | 209 |
1 files changed, 105 insertions, 104 deletions
diff --git a/arch/arm/plat-mxc/include/mach/mx51.h b/arch/arm/plat-mxc/include/mach/mx51.h index cdf07c65ec1e..af844f76261a 100644 --- a/arch/arm/plat-mxc/include/mach/mx51.h +++ b/arch/arm/plat-mxc/include/mach/mx51.h | |||
@@ -232,110 +232,111 @@ | |||
232 | /* | 232 | /* |
233 | * Interrupt numbers | 233 | * Interrupt numbers |
234 | */ | 234 | */ |
235 | #define MX51_INT_BASE 0 | 235 | #include <asm/irq.h> |
236 | #define MX51_INT_RESV0 0 | 236 | #define MX51_INT_BASE (NR_IRQS_LEGACY + 0) |
237 | #define MX51_INT_ESDHC1 1 | 237 | #define MX51_INT_RESV0 (NR_IRQS_LEGACY + 0) |
238 | #define MX51_INT_ESDHC2 2 | 238 | #define MX51_INT_ESDHC1 (NR_IRQS_LEGACY + 1) |
239 | #define MX51_INT_ESDHC3 3 | 239 | #define MX51_INT_ESDHC2 (NR_IRQS_LEGACY + 2) |
240 | #define MX51_INT_ESDHC4 4 | 240 | #define MX51_INT_ESDHC3 (NR_IRQS_LEGACY + 3) |
241 | #define MX51_INT_RESV5 5 | 241 | #define MX51_INT_ESDHC4 (NR_IRQS_LEGACY + 4) |
242 | #define MX51_INT_SDMA 6 | 242 | #define MX51_INT_RESV5 (NR_IRQS_LEGACY + 5) |
243 | #define MX51_INT_IOMUX 7 | 243 | #define MX51_INT_SDMA (NR_IRQS_LEGACY + 6) |
244 | #define MX51_INT_NFC 8 | 244 | #define MX51_INT_IOMUX (NR_IRQS_LEGACY + 7) |
245 | #define MX51_INT_VPU 9 | 245 | #define MX51_INT_NFC (NR_IRQS_LEGACY + 8) |
246 | #define MX51_INT_IPU_ERR 10 | 246 | #define MX51_INT_VPU (NR_IRQS_LEGACY + 9) |
247 | #define MX51_INT_IPU_SYN 11 | 247 | #define MX51_INT_IPU_ERR (NR_IRQS_LEGACY + 10) |
248 | #define MX51_INT_GPU 12 | 248 | #define MX51_INT_IPU_SYN (NR_IRQS_LEGACY + 11) |
249 | #define MX51_INT_RESV13 13 | 249 | #define MX51_INT_GPU (NR_IRQS_LEGACY + 12) |
250 | #define MX51_INT_USB_HS1 14 | 250 | #define MX51_INT_RESV13 (NR_IRQS_LEGACY + 13) |
251 | #define MX51_INT_EMI 15 | 251 | #define MX51_INT_USB_HS1 (NR_IRQS_LEGACY + 14) |
252 | #define MX51_INT_USB_HS2 16 | 252 | #define MX51_INT_EMI (NR_IRQS_LEGACY + 15) |
253 | #define MX51_INT_USB_HS3 17 | 253 | #define MX51_INT_USB_HS2 (NR_IRQS_LEGACY + 16) |
254 | #define MX51_INT_USB_OTG 18 | 254 | #define MX51_INT_USB_HS3 (NR_IRQS_LEGACY + 17) |
255 | #define MX51_INT_SAHARA_H0 19 | 255 | #define MX51_INT_USB_OTG (NR_IRQS_LEGACY + 18) |
256 | #define MX51_INT_SAHARA_H1 20 | 256 | #define MX51_INT_SAHARA_H0 (NR_IRQS_LEGACY + 19) |
257 | #define MX51_INT_SCC_SMN 21 | 257 | #define MX51_INT_SAHARA_H1 (NR_IRQS_LEGACY + 20) |
258 | #define MX51_INT_SCC_STZ 22 | 258 | #define MX51_INT_SCC_SMN (NR_IRQS_LEGACY + 21) |
259 | #define MX51_INT_SCC_SCM 23 | 259 | #define MX51_INT_SCC_STZ (NR_IRQS_LEGACY + 22) |
260 | #define MX51_INT_SRTC_NTZ 24 | 260 | #define MX51_INT_SCC_SCM (NR_IRQS_LEGACY + 23) |
261 | #define MX51_INT_SRTC_TZ 25 | 261 | #define MX51_INT_SRTC_NTZ (NR_IRQS_LEGACY + 24) |
262 | #define MX51_INT_RTIC 26 | 262 | #define MX51_INT_SRTC_TZ (NR_IRQS_LEGACY + 25) |
263 | #define MX51_INT_CSU 27 | 263 | #define MX51_INT_RTIC (NR_IRQS_LEGACY + 26) |
264 | #define MX51_INT_SLIM_B 28 | 264 | #define MX51_INT_CSU (NR_IRQS_LEGACY + 27) |
265 | #define MX51_INT_SSI1 29 | 265 | #define MX51_INT_SLIM_B (NR_IRQS_LEGACY + 28) |
266 | #define MX51_INT_SSI2 30 | 266 | #define MX51_INT_SSI1 (NR_IRQS_LEGACY + 29) |
267 | #define MX51_INT_UART1 31 | 267 | #define MX51_INT_SSI2 (NR_IRQS_LEGACY + 30) |
268 | #define MX51_INT_UART2 32 | 268 | #define MX51_INT_UART1 (NR_IRQS_LEGACY + 31) |
269 | #define MX51_INT_UART3 33 | 269 | #define MX51_INT_UART2 (NR_IRQS_LEGACY + 32) |
270 | #define MX51_INT_RESV34 34 | 270 | #define MX51_INT_UART3 (NR_IRQS_LEGACY + 33) |
271 | #define MX51_INT_RESV35 35 | 271 | #define MX51_INT_RESV34 (NR_IRQS_LEGACY + 34) |
272 | #define MX51_INT_ECSPI1 36 | 272 | #define MX51_INT_RESV35 (NR_IRQS_LEGACY + 35) |
273 | #define MX51_INT_ECSPI2 37 | 273 | #define MX51_INT_ECSPI1 (NR_IRQS_LEGACY + 36) |
274 | #define MX51_INT_CSPI 38 | 274 | #define MX51_INT_ECSPI2 (NR_IRQS_LEGACY + 37) |
275 | #define MX51_INT_GPT 39 | 275 | #define MX51_INT_CSPI (NR_IRQS_LEGACY + 38) |
276 | #define MX51_INT_EPIT1 40 | 276 | #define MX51_INT_GPT (NR_IRQS_LEGACY + 39) |
277 | #define MX51_INT_EPIT2 41 | 277 | #define MX51_INT_EPIT1 (NR_IRQS_LEGACY + 40) |
278 | #define MX51_INT_GPIO1_INT7 42 | 278 | #define MX51_INT_EPIT2 (NR_IRQS_LEGACY + 41) |
279 | #define MX51_INT_GPIO1_INT6 43 | 279 | #define MX51_INT_GPIO1_INT7 (NR_IRQS_LEGACY + 42) |
280 | #define MX51_INT_GPIO1_INT5 44 | 280 | #define MX51_INT_GPIO1_INT6 (NR_IRQS_LEGACY + 43) |
281 | #define MX51_INT_GPIO1_INT4 45 | 281 | #define MX51_INT_GPIO1_INT5 (NR_IRQS_LEGACY + 44) |
282 | #define MX51_INT_GPIO1_INT3 46 | 282 | #define MX51_INT_GPIO1_INT4 (NR_IRQS_LEGACY + 45) |
283 | #define MX51_INT_GPIO1_INT2 47 | 283 | #define MX51_INT_GPIO1_INT3 (NR_IRQS_LEGACY + 46) |
284 | #define MX51_INT_GPIO1_INT1 48 | 284 | #define MX51_INT_GPIO1_INT2 (NR_IRQS_LEGACY + 47) |
285 | #define MX51_INT_GPIO1_INT0 49 | 285 | #define MX51_INT_GPIO1_INT1 (NR_IRQS_LEGACY + 48) |
286 | #define MX51_INT_GPIO1_LOW 50 | 286 | #define MX51_INT_GPIO1_INT0 (NR_IRQS_LEGACY + 49) |
287 | #define MX51_INT_GPIO1_HIGH 51 | 287 | #define MX51_INT_GPIO1_LOW (NR_IRQS_LEGACY + 50) |
288 | #define MX51_INT_GPIO2_LOW 52 | 288 | #define MX51_INT_GPIO1_HIGH (NR_IRQS_LEGACY + 51) |
289 | #define MX51_INT_GPIO2_HIGH 53 | 289 | #define MX51_INT_GPIO2_LOW (NR_IRQS_LEGACY + 52) |
290 | #define MX51_INT_GPIO3_LOW 54 | 290 | #define MX51_INT_GPIO2_HIGH (NR_IRQS_LEGACY + 53) |
291 | #define MX51_INT_GPIO3_HIGH 55 | 291 | #define MX51_INT_GPIO3_LOW (NR_IRQS_LEGACY + 54) |
292 | #define MX51_INT_GPIO4_LOW 56 | 292 | #define MX51_INT_GPIO3_HIGH (NR_IRQS_LEGACY + 55) |
293 | #define MX51_INT_GPIO4_HIGH 57 | 293 | #define MX51_INT_GPIO4_LOW (NR_IRQS_LEGACY + 56) |
294 | #define MX51_INT_WDOG1 58 | 294 | #define MX51_INT_GPIO4_HIGH (NR_IRQS_LEGACY + 57) |
295 | #define MX51_INT_WDOG2 59 | 295 | #define MX51_INT_WDOG1 (NR_IRQS_LEGACY + 58) |
296 | #define MX51_INT_KPP 60 | 296 | #define MX51_INT_WDOG2 (NR_IRQS_LEGACY + 59) |
297 | #define MX51_INT_PWM1 61 | 297 | #define MX51_INT_KPP (NR_IRQS_LEGACY + 60) |
298 | #define MX51_INT_I2C1 62 | 298 | #define MX51_INT_PWM1 (NR_IRQS_LEGACY + 61) |
299 | #define MX51_INT_I2C2 63 | 299 | #define MX51_INT_I2C1 (NR_IRQS_LEGACY + 62) |
300 | #define MX51_INT_HS_I2C 64 | 300 | #define MX51_INT_I2C2 (NR_IRQS_LEGACY + 63) |
301 | #define MX51_INT_RESV65 65 | 301 | #define MX51_INT_HS_I2C (NR_IRQS_LEGACY + 64) |
302 | #define MX51_INT_RESV66 66 | 302 | #define MX51_INT_RESV65 (NR_IRQS_LEGACY + 65) |
303 | #define MX51_INT_SIM_IPB 67 | 303 | #define MX51_INT_RESV66 (NR_IRQS_LEGACY + 66) |
304 | #define MX51_INT_SIM_DAT 68 | 304 | #define MX51_INT_SIM_IPB (NR_IRQS_LEGACY + 67) |
305 | #define MX51_INT_IIM 69 | 305 | #define MX51_INT_SIM_DAT (NR_IRQS_LEGACY + 68) |
306 | #define MX51_INT_ATA 70 | 306 | #define MX51_INT_IIM (NR_IRQS_LEGACY + 69) |
307 | #define MX51_INT_CCM1 71 | 307 | #define MX51_INT_ATA (NR_IRQS_LEGACY + 70) |
308 | #define MX51_INT_CCM2 72 | 308 | #define MX51_INT_CCM1 (NR_IRQS_LEGACY + 71) |
309 | #define MX51_INT_GPC1 73 | 309 | #define MX51_INT_CCM2 (NR_IRQS_LEGACY + 72) |
310 | #define MX51_INT_GPC2 74 | 310 | #define MX51_INT_GPC1 (NR_IRQS_LEGACY + 73) |
311 | #define MX51_INT_SRC 75 | 311 | #define MX51_INT_GPC2 (NR_IRQS_LEGACY + 74) |
312 | #define MX51_INT_NM 76 | 312 | #define MX51_INT_SRC (NR_IRQS_LEGACY + 75) |
313 | #define MX51_INT_PMU 77 | 313 | #define MX51_INT_NM (NR_IRQS_LEGACY + 76) |
314 | #define MX51_INT_CTI_IRQ 78 | 314 | #define MX51_INT_PMU (NR_IRQS_LEGACY + 77) |
315 | #define MX51_INT_CTI1_TG0 79 | 315 | #define MX51_INT_CTI_IRQ (NR_IRQS_LEGACY + 78) |
316 | #define MX51_INT_CTI1_TG1 80 | 316 | #define MX51_INT_CTI1_TG0 (NR_IRQS_LEGACY + 79) |
317 | #define MX51_INT_MCG_ERR 81 | 317 | #define MX51_INT_CTI1_TG1 (NR_IRQS_LEGACY + 80) |
318 | #define MX51_INT_MCG_TMR 82 | 318 | #define MX51_INT_MCG_ERR (NR_IRQS_LEGACY + 81) |
319 | #define MX51_INT_MCG_FUNC 83 | 319 | #define MX51_INT_MCG_TMR (NR_IRQS_LEGACY + 82) |
320 | #define MX51_INT_GPU2_IRQ 84 | 320 | #define MX51_INT_MCG_FUNC (NR_IRQS_LEGACY + 83) |
321 | #define MX51_INT_GPU2_BUSY 85 | 321 | #define MX51_INT_GPU2_IRQ (NR_IRQS_LEGACY + 84) |
322 | #define MX51_INT_RESV86 86 | 322 | #define MX51_INT_GPU2_BUSY (NR_IRQS_LEGACY + 85) |
323 | #define MX51_INT_FEC 87 | 323 | #define MX51_INT_RESV86 (NR_IRQS_LEGACY + 86) |
324 | #define MX51_INT_OWIRE 88 | 324 | #define MX51_INT_FEC (NR_IRQS_LEGACY + 87) |
325 | #define MX51_INT_CTI1_TG2 89 | 325 | #define MX51_INT_OWIRE (NR_IRQS_LEGACY + 88) |
326 | #define MX51_INT_SJC 90 | 326 | #define MX51_INT_CTI1_TG2 (NR_IRQS_LEGACY + 89) |
327 | #define MX51_INT_SPDIF 91 | 327 | #define MX51_INT_SJC (NR_IRQS_LEGACY + 90) |
328 | #define MX51_INT_TVE 92 | 328 | #define MX51_INT_SPDIF (NR_IRQS_LEGACY + 91) |
329 | #define MX51_INT_FIRI 93 | 329 | #define MX51_INT_TVE (NR_IRQS_LEGACY + 92) |
330 | #define MX51_INT_PWM2 94 | 330 | #define MX51_INT_FIRI (NR_IRQS_LEGACY + 93) |
331 | #define MX51_INT_SLIM_EXP 95 | 331 | #define MX51_INT_PWM2 (NR_IRQS_LEGACY + 94) |
332 | #define MX51_INT_SSI3 96 | 332 | #define MX51_INT_SLIM_EXP (NR_IRQS_LEGACY + 95) |
333 | #define MX51_INT_EMI_BOOT 97 | 333 | #define MX51_INT_SSI3 (NR_IRQS_LEGACY + 96) |
334 | #define MX51_INT_CTI1_TG3 98 | 334 | #define MX51_INT_EMI_BOOT (NR_IRQS_LEGACY + 97) |
335 | #define MX51_INT_SMC_RX 99 | 335 | #define MX51_INT_CTI1_TG3 (NR_IRQS_LEGACY + 98) |
336 | #define MX51_INT_VPU_IDLE 100 | 336 | #define MX51_INT_SMC_RX (NR_IRQS_LEGACY + 99) |
337 | #define MX51_INT_EMI_NFC 101 | 337 | #define MX51_INT_VPU_IDLE (NR_IRQS_LEGACY + 100) |
338 | #define MX51_INT_GPU_IDLE 102 | 338 | #define MX51_INT_EMI_NFC (NR_IRQS_LEGACY + 101) |
339 | #define MX51_INT_GPU_IDLE (NR_IRQS_LEGACY + 102) | ||
339 | 340 | ||
340 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) | 341 | #if !defined(__ASSEMBLY__) && !defined(__MXC_BOOT_UNCOMPRESS) |
341 | extern int mx51_revision(void); | 342 | extern int mx51_revision(void); |