irqs.h 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. /*
  2. * Freescale STMP37XX interrupts
  3. *
  4. * Copyright (C) 2005 Sigmatel Inc
  5. *
  6. * Copyright 2008 Freescale Semiconductor, Inc. All Rights Reserved.
  7. * Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
  8. */
  9. /*
  10. * The code contained herein is licensed under the GNU General Public
  11. * License. You may obtain a copy of the GNU General Public License
  12. * Version 2 or later at the following locations:
  13. *
  14. * http://www.opensource.org/licenses/gpl-license.html
  15. * http://www.gnu.org/copyleft/gpl.html
  16. */
  17. #ifndef _ASM_ARCH_IRQS_H
  18. #define _ASM_ARCH_IRQS_H
  19. #define IRQ_DEBUG_UART 0
  20. #define IRQ_COMMS_RX 1
  21. #define IRQ_COMMS_TX 1
  22. #define IRQ_SSP2_ERROR 2
  23. #define IRQ_VDD5V 3
  24. #define IRQ_HEADPHONE_SHORT 4
  25. #define IRQ_DAC_DMA 5
  26. #define IRQ_DAC_ERROR 6
  27. #define IRQ_ADC_DMA 7
  28. #define IRQ_ADC_ERROR 8
  29. #define IRQ_SPDIF_DMA 9
  30. #define IRQ_SAIF2_DMA 9
  31. #define IRQ_SPDIF_ERROR 10
  32. #define IRQ_SAIF1_IRQ 10
  33. #define IRQ_SAIF2_IRQ 10
  34. #define IRQ_USB_CTRL 11
  35. #define IRQ_USB_WAKEUP 12
  36. #define IRQ_GPMI_DMA 13
  37. #define IRQ_SSP1_DMA 14
  38. #define IRQ_SSP_ERROR 15
  39. #define IRQ_GPIO0 16
  40. #define IRQ_GPIO1 17
  41. #define IRQ_GPIO2 18
  42. #define IRQ_SAIF1_DMA 19
  43. #define IRQ_SSP2_DMA 20
  44. #define IRQ_ECC8_IRQ 21
  45. #define IRQ_RTC_ALARM 22
  46. #define IRQ_UARTAPP_TX_DMA 23
  47. #define IRQ_UARTAPP_INTERNAL 24
  48. #define IRQ_UARTAPP_RX_DMA 25
  49. #define IRQ_I2C_DMA 26
  50. #define IRQ_I2C_ERROR 27
  51. #define IRQ_TIMER0 28
  52. #define IRQ_TIMER1 29
  53. #define IRQ_TIMER2 30
  54. #define IRQ_TIMER3 31
  55. #define IRQ_BATT_BRNOUT 32
  56. #define IRQ_VDDD_BRNOUT 33
  57. #define IRQ_VDDIO_BRNOUT 34
  58. #define IRQ_VDD18_BRNOUT 35
  59. #define IRQ_TOUCH_DETECT 36
  60. #define IRQ_LRADC_CH0 37
  61. #define IRQ_LRADC_CH1 38
  62. #define IRQ_LRADC_CH2 39
  63. #define IRQ_LRADC_CH3 40
  64. #define IRQ_LRADC_CH4 41
  65. #define IRQ_LRADC_CH5 42
  66. #define IRQ_LRADC_CH6 43
  67. #define IRQ_LRADC_CH7 44
  68. #define IRQ_LCDIF_DMA 45
  69. #define IRQ_LCDIF_ERROR 46
  70. #define IRQ_DIGCTL_DEBUG_TRAP 47
  71. #define IRQ_RTC_1MSEC 48
  72. #define IRQ_DRI_DMA 49
  73. #define IRQ_DRI_ATTENTION 50
  74. #define IRQ_GPMI_ATTENTION 51
  75. #define IRQ_IR 52
  76. #define IRQ_DCP_VMI 53
  77. #define IRQ_DCP 54
  78. #define IRQ_RESERVED_55 55
  79. #define IRQ_RESERVED_56 56
  80. #define IRQ_RESERVED_57 57
  81. #define IRQ_RESERVED_58 58
  82. #define IRQ_RESERVED_59 59
  83. #define SW_IRQ_60 60
  84. #define SW_IRQ_61 61
  85. #define SW_IRQ_62 62
  86. #define SW_IRQ_63 63
  87. #define NR_REAL_IRQS 64
  88. #define NR_IRQS (NR_REAL_IRQS + 32 * 3)
  89. /* TIMER and BRNOUT are FIQ capable */
  90. #define FIQ_START IRQ_TIMER0
  91. /* Hard disk IRQ is a GPMI attention IRQ */
  92. #define IRQ_HARDDISK IRQ_GPMI_ATTENTION
  93. #endif /* _ASM_ARCH_IRQS_H */