irqs.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. * arch/arm/mach-nuc93x/include/mach/irqs.h
  3. *
  4. * Copyright (c) 2008 Nuvoton technology corporation.
  5. *
  6. * Wan ZongShun <mcuos.com@gmail.com>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation;version 2 of the License.
  11. *
  12. */
  13. #ifndef __ASM_ARCH_IRQS_H
  14. #define __ASM_ARCH_IRQS_H
  15. #define NUC93X_IRQ(x) (x)
  16. /* Main cpu interrupts */
  17. #define IRQ_WDT NUC93X_IRQ(1)
  18. #define IRQ_IRQ0 NUC93X_IRQ(2)
  19. #define IRQ_IRQ1 NUC93X_IRQ(3)
  20. #define IRQ_IRQ2 NUC93X_IRQ(4)
  21. #define IRQ_IRQ3 NUC93X_IRQ(5)
  22. #define IRQ_USBH NUC93X_IRQ(6)
  23. #define IRQ_APU NUC93X_IRQ(7)
  24. #define IRQ_VPOST NUC93X_IRQ(8)
  25. #define IRQ_ADC NUC93X_IRQ(9)
  26. #define IRQ_UART0 NUC93X_IRQ(10)
  27. #define IRQ_TIMER0 NUC93X_IRQ(11)
  28. #define IRQ_GPU0 NUC93X_IRQ(12)
  29. #define IRQ_GPU1 NUC93X_IRQ(13)
  30. #define IRQ_GPU2 NUC93X_IRQ(14)
  31. #define IRQ_GPU3 NUC93X_IRQ(15)
  32. #define IRQ_GPU4 NUC93X_IRQ(16)
  33. #define IRQ_VIN NUC93X_IRQ(17)
  34. #define IRQ_USBD NUC93X_IRQ(18)
  35. #define IRQ_VRAMLD NUC93X_IRQ(19)
  36. #define IRQ_GDMA0 NUC93X_IRQ(20)
  37. #define IRQ_GDMA1 NUC93X_IRQ(21)
  38. #define IRQ_SDIO NUC93X_IRQ(22)
  39. #define IRQ_FMI NUC93X_IRQ(22)
  40. #define IRQ_JPEG NUC93X_IRQ(23)
  41. #define IRQ_SPI0 NUC93X_IRQ(24)
  42. #define IRQ_SPI1 NUC93X_IRQ(25)
  43. #define IRQ_RTC NUC93X_IRQ(26)
  44. #define IRQ_PWM0 NUC93X_IRQ(27)
  45. #define IRQ_PWM1 NUC93X_IRQ(28)
  46. #define IRQ_PWM2 NUC93X_IRQ(29)
  47. #define IRQ_PWM3 NUC93X_IRQ(30)
  48. #define IRQ_I2SAC97 NUC93X_IRQ(31)
  49. #define IRQ_CAP0 IRQ_PWM0
  50. #define IRQ_CAP1 IRQ_PWM1
  51. #define IRQ_CAP2 IRQ_PWM2
  52. #define IRQ_CAP3 IRQ_PWM3
  53. #define NR_IRQS (IRQ_I2SAC97 + 1)
  54. #endif /* __ASM_ARCH_IRQ_H */