irqs-8x50.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /* Copyright (c) 2008-2009, Code Aurora Forum. All rights reserved.
  2. *
  3. * Redistribution and use in source and binary forms, with or without
  4. * modification, are permitted provided that the following conditions are
  5. * met:
  6. * * Redistributions of source code must retain the above copyright
  7. * notice, this list of conditions and the following disclaimer.
  8. * * Redistributions in binary form must reproduce the above
  9. * copyright notice, this list of conditions and the following
  10. * disclaimer in the documentation and/or other materials provided
  11. * with the distribution.
  12. * * Neither the name of Code Aurora Forum, Inc. nor the names of its
  13. * contributors may be used to endorse or promote products derived
  14. * from this software without specific prior written permission.
  15. *
  16. * THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED
  17. * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
  18. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT
  19. * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
  20. * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  21. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  22. * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  23. * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
  24. * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
  25. * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
  26. * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27. *
  28. */
  29. #ifndef __ASM_ARCH_MSM_IRQS_8XXX_H
  30. #define __ASM_ARCH_MSM_IRQS_8XXX_H
  31. /* MSM ACPU Interrupt Numbers */
  32. #define INT_A9_M2A_0 0
  33. #define INT_A9_M2A_1 1
  34. #define INT_A9_M2A_2 2
  35. #define INT_A9_M2A_3 3
  36. #define INT_A9_M2A_4 4
  37. #define INT_A9_M2A_5 5
  38. #define INT_A9_M2A_6 6
  39. #define INT_GP_TIMER_EXP 7
  40. #define INT_DEBUG_TIMER_EXP 8
  41. #define INT_SIRC_0 9
  42. #define INT_SDC3_0 10
  43. #define INT_SDC3_1 11
  44. #define INT_SDC4_0 12
  45. #define INT_SDC4_1 13
  46. #define INT_AD6_EXT_VFR 14
  47. #define INT_USB_OTG 15
  48. #define INT_MDDI_PRI 16
  49. #define INT_MDDI_EXT 17
  50. #define INT_MDDI_CLIENT 18
  51. #define INT_MDP 19
  52. #define INT_GRAPHICS 20
  53. #define INT_ADM_AARM 21
  54. #define INT_ADSP_A11 22
  55. #define INT_ADSP_A9_A11 23
  56. #define INT_SDC1_0 24
  57. #define INT_SDC1_1 25
  58. #define INT_SDC2_0 26
  59. #define INT_SDC2_1 27
  60. #define INT_KEYSENSE 28
  61. #define INT_TCHSCRN_SSBI 29
  62. #define INT_TCHSCRN1 30
  63. #define INT_TCHSCRN2 31
  64. #define INT_TCSR_MPRPH_SC1 (32 + 0)
  65. #define INT_USB_FS2 (32 + 1)
  66. #define INT_PWB_I2C (32 + 2)
  67. #define INT_SOFTRESET (32 + 3)
  68. #define INT_NAND_WR_ER_DONE (32 + 4)
  69. #define INT_NAND_OP_DONE (32 + 5)
  70. #define INT_TCSR_MPRPH_SC2 (32 + 6)
  71. #define INT_OP_PEN (32 + 7)
  72. #define INT_AD_HSSD (32 + 8)
  73. #define INT_ARM11_PM (32 + 9)
  74. #define INT_SDMA_NON_SECURE (32 + 10)
  75. #define INT_TSIF_IRQ (32 + 11)
  76. #define INT_UART1DM_IRQ (32 + 12)
  77. #define INT_UART1DM_RX (32 + 13)
  78. #define INT_SDMA_SECURE (32 + 14)
  79. #define INT_SI2S_SLAVE (32 + 15)
  80. #define INT_SC_I2CPU (32 + 16)
  81. #define INT_SC_DBG_RDTRFULL (32 + 17)
  82. #define INT_SC_DBG_WDTRFULL (32 + 18)
  83. #define INT_SCPLL_CTL_DONE (32 + 19)
  84. #define INT_UART2DM_IRQ (32 + 20)
  85. #define INT_UART2DM_RX (32 + 21)
  86. #define INT_VDC_MEC (32 + 22)
  87. #define INT_VDC_DB (32 + 23)
  88. #define INT_VDC_AXI (32 + 24)
  89. #define INT_VFE (32 + 25)
  90. #define INT_USB_HS (32 + 26)
  91. #define INT_AUDIO_OUT0 (32 + 27)
  92. #define INT_AUDIO_OUT1 (32 + 28)
  93. #define INT_CRYPTO (32 + 29)
  94. #define INT_AD6M_IDLE (32 + 30)
  95. #define INT_SIRC_1 (32 + 31)
  96. #define NR_GPIO_IRQS 165
  97. #define NR_MSM_IRQS 64
  98. #define NR_BOARD_IRQS 64
  99. #endif