irqs.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * arch/arm/mach-ep93xx/include/mach/irqs.h
  4. */
  5. #ifndef __ASM_ARCH_IRQS_H
  6. #define __ASM_ARCH_IRQS_H
  7. #define IRQ_EP93XX_COMMRX 2
  8. #define IRQ_EP93XX_COMMTX 3
  9. #define IRQ_EP93XX_TIMER1 4
  10. #define IRQ_EP93XX_TIMER2 5
  11. #define IRQ_EP93XX_AACINTR 6
  12. #define IRQ_EP93XX_DMAM2P0 7
  13. #define IRQ_EP93XX_DMAM2P1 8
  14. #define IRQ_EP93XX_DMAM2P2 9
  15. #define IRQ_EP93XX_DMAM2P3 10
  16. #define IRQ_EP93XX_DMAM2P4 11
  17. #define IRQ_EP93XX_DMAM2P5 12
  18. #define IRQ_EP93XX_DMAM2P6 13
  19. #define IRQ_EP93XX_DMAM2P7 14
  20. #define IRQ_EP93XX_DMAM2P8 15
  21. #define IRQ_EP93XX_DMAM2P9 16
  22. #define IRQ_EP93XX_DMAM2M0 17
  23. #define IRQ_EP93XX_DMAM2M1 18
  24. #define IRQ_EP93XX_GPIO0MUX 19
  25. #define IRQ_EP93XX_GPIO1MUX 20
  26. #define IRQ_EP93XX_GPIO2MUX 21
  27. #define IRQ_EP93XX_GPIO3MUX 22
  28. #define IRQ_EP93XX_UART1RX 23
  29. #define IRQ_EP93XX_UART1TX 24
  30. #define IRQ_EP93XX_UART2RX 25
  31. #define IRQ_EP93XX_UART2TX 26
  32. #define IRQ_EP93XX_UART3RX 27
  33. #define IRQ_EP93XX_UART3TX 28
  34. #define IRQ_EP93XX_KEY 29
  35. #define IRQ_EP93XX_TOUCH 30
  36. #define EP93XX_VIC1_VALID_IRQ_MASK 0x7ffffffc
  37. #define IRQ_EP93XX_EXT0 32
  38. #define IRQ_EP93XX_EXT1 33
  39. #define IRQ_EP93XX_EXT2 34
  40. #define IRQ_EP93XX_64HZ 35
  41. #define IRQ_EP93XX_WATCHDOG 36
  42. #define IRQ_EP93XX_RTC 37
  43. #define IRQ_EP93XX_IRDA 38
  44. #define IRQ_EP93XX_ETHERNET 39
  45. #define IRQ_EP93XX_EXT3 40
  46. #define IRQ_EP93XX_PROG 41
  47. #define IRQ_EP93XX_1HZ 42
  48. #define IRQ_EP93XX_VSYNC 43
  49. #define IRQ_EP93XX_VIDEO_FIFO 44
  50. #define IRQ_EP93XX_SSP1RX 45
  51. #define IRQ_EP93XX_SSP1TX 46
  52. #define IRQ_EP93XX_GPIO4MUX 47
  53. #define IRQ_EP93XX_GPIO5MUX 48
  54. #define IRQ_EP93XX_GPIO6MUX 49
  55. #define IRQ_EP93XX_GPIO7MUX 50
  56. #define IRQ_EP93XX_TIMER3 51
  57. #define IRQ_EP93XX_UART1 52
  58. #define IRQ_EP93XX_SSP 53
  59. #define IRQ_EP93XX_UART2 54
  60. #define IRQ_EP93XX_UART3 55
  61. #define IRQ_EP93XX_USB 56
  62. #define IRQ_EP93XX_ETHERNET_PME 57
  63. #define IRQ_EP93XX_DSP 58
  64. #define IRQ_EP93XX_GPIO_AB 59
  65. #define IRQ_EP93XX_SAI 60
  66. #define EP93XX_VIC2_VALID_IRQ_MASK 0x1fffffff
  67. #define NR_EP93XX_IRQS (64 + 24)
  68. #define EP93XX_BOARD_IRQ(x) (NR_EP93XX_IRQS + (x))
  69. #define EP93XX_BOARD_IRQS 32
  70. #define NR_IRQS (NR_EP93XX_IRQS + EP93XX_BOARD_IRQS)
  71. #endif