wm8505_irqs.h 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /*
  2. * arch/arm/mach-vt8500/include/mach/wm8505_irqs.h
  3. *
  4. * Copyright (C) 2010 Alexey Charkov <alchark@gmail.com>
  5. *
  6. * This program is free software; you can redistribute it and/or modify
  7. * it under the terms of the GNU General Public License as published by
  8. * the Free Software Foundation; either version 2 of the License, or
  9. * (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  19. */
  20. /* WM8505 Interrupt Sources */
  21. #define IRQ_UHCI 0 /* UHC FS (UHCI?) */
  22. #define IRQ_EHCI 1 /* UHC HS */
  23. #define IRQ_UDCDMA 2 /* UDC DMA */
  24. /* Reserved */
  25. #define IRQ_PS2MOUSE 4 /* PS/2 Mouse */
  26. #define IRQ_UDC 5 /* UDC */
  27. #define IRQ_EXT0 6 /* External Interrupt 0 */
  28. #define IRQ_EXT1 7 /* External Interrupt 1 */
  29. #define IRQ_KEYPAD 8 /* Keypad */
  30. #define IRQ_DMA 9 /* DMA Controller */
  31. #define IRQ_ETHER 10 /* Ethernet MAC */
  32. /* Reserved */
  33. /* Reserved */
  34. #define IRQ_EXT2 13 /* External Interrupt 2 */
  35. #define IRQ_EXT3 14 /* External Interrupt 3 */
  36. #define IRQ_EXT4 15 /* External Interrupt 4 */
  37. #define IRQ_APB 16 /* APB Bridge */
  38. #define IRQ_DMA0 17 /* DMA Channel 0 */
  39. #define IRQ_I2C1 18 /* I2C 1 */
  40. #define IRQ_I2C0 19 /* I2C 0 */
  41. #define IRQ_SDMMC 20 /* SD/MMC Controller */
  42. #define IRQ_SDMMC_DMA 21 /* SD/MMC Controller DMA */
  43. #define IRQ_PMC_WU 22 /* Power Management Controller Wakeup */
  44. #define IRQ_PS2KBD 23 /* PS/2 Keyboard */
  45. #define IRQ_SPI0 24 /* SPI 0 */
  46. #define IRQ_SPI1 25 /* SPI 1 */
  47. #define IRQ_SPI2 26 /* SPI 2 */
  48. #define IRQ_DMA1 27 /* DMA Channel 1 */
  49. #define IRQ_NAND 28 /* NAND Flash Controller */
  50. #define IRQ_NAND_DMA 29 /* NAND Flash Controller DMA */
  51. #define IRQ_UART5 30 /* UART 5 */
  52. #define IRQ_UART4 31 /* UART 4 */
  53. #define IRQ_UART0 32 /* UART 0 */
  54. #define IRQ_UART1 33 /* UART 1 */
  55. #define IRQ_DMA2 34 /* DMA Channel 2 */
  56. #define IRQ_I2S 35 /* I2S */
  57. #define IRQ_PMCOS0 36 /* PMC OS Timer 0 */
  58. #define IRQ_PMCOS1 37 /* PMC OS Timer 1 */
  59. #define IRQ_PMCOS2 38 /* PMC OS Timer 2 */
  60. #define IRQ_PMCOS3 39 /* PMC OS Timer 3 */
  61. #define IRQ_DMA3 40 /* DMA Channel 3 */
  62. #define IRQ_DMA4 41 /* DMA Channel 4 */
  63. #define IRQ_AC97 42 /* AC97 Interface */
  64. /* Reserved */
  65. #define IRQ_NOR 44 /* NOR Flash Controller */
  66. #define IRQ_DMA5 45 /* DMA Channel 5 */
  67. #define IRQ_DMA6 46 /* DMA Channel 6 */
  68. #define IRQ_UART2 47 /* UART 2 */
  69. #define IRQ_RTC 48 /* RTC Interrupt */
  70. #define IRQ_RTCSM 49 /* RTC Second/Minute Update Interrupt */
  71. #define IRQ_UART3 50 /* UART 3 */
  72. #define IRQ_DMA7 51 /* DMA Channel 7 */
  73. #define IRQ_EXT5 52 /* External Interrupt 5 */
  74. #define IRQ_EXT6 53 /* External Interrupt 6 */
  75. #define IRQ_EXT7 54 /* External Interrupt 7 */
  76. #define IRQ_CIR 55 /* CIR */
  77. #define IRQ_SIC0 56 /* SIC IRQ0 */
  78. #define IRQ_SIC1 57 /* SIC IRQ1 */
  79. #define IRQ_SIC2 58 /* SIC IRQ2 */
  80. #define IRQ_SIC3 59 /* SIC IRQ3 */
  81. #define IRQ_SIC4 60 /* SIC IRQ4 */
  82. #define IRQ_SIC5 61 /* SIC IRQ5 */
  83. #define IRQ_SIC6 62 /* SIC IRQ6 */
  84. #define IRQ_SIC7 63 /* SIC IRQ7 */
  85. /* Reserved */
  86. #define IRQ_JPEGDEC 65 /* JPEG Decoder */
  87. #define IRQ_SAE 66 /* SAE (?) */
  88. /* Reserved */
  89. #define IRQ_VPU 79 /* Video Processing Unit */
  90. #define IRQ_VPP 80 /* Video Post-Processor */
  91. #define IRQ_VID 81 /* Video Digital Input Interface */
  92. #define IRQ_SPU 82 /* SPU (?) */
  93. #define IRQ_PIP 83 /* PIP Error */
  94. #define IRQ_GE 84 /* Graphic Engine */
  95. #define IRQ_GOV 85 /* Graphic Overlay Engine */
  96. #define IRQ_DVO 86 /* Digital Video Output */
  97. /* Reserved */
  98. #define IRQ_DMA8 92 /* DMA Channel 8 */
  99. #define IRQ_DMA9 93 /* DMA Channel 9 */
  100. #define IRQ_DMA10 94 /* DMA Channel 10 */
  101. #define IRQ_DMA11 95 /* DMA Channel 11 */
  102. #define IRQ_DMA12 96 /* DMA Channel 12 */
  103. #define IRQ_DMA13 97 /* DMA Channel 13 */
  104. #define IRQ_DMA14 98 /* DMA Channel 14 */
  105. #define IRQ_DMA15 99 /* DMA Channel 15 */
  106. /* Reserved */
  107. #define IRQ_GOVW 111 /* GOVW (?) */
  108. #define IRQ_GOVRSDSCD 112 /* GOVR SDSCD (?) */
  109. #define IRQ_GOVRSDMIF 113 /* GOVR SDMIF (?) */
  110. #define IRQ_GOVRHDSCD 114 /* GOVR HDSCD (?) */
  111. #define IRQ_GOVRHDMIF 115 /* GOVR HDMIF (?) */
  112. #define WM8505_NR_IRQS 116