irqs.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. /*
  2. * arch/arm/mach-kirkwood/include/mach/irqs.h
  3. *
  4. * IRQ definitions for Marvell Kirkwood SoCs
  5. *
  6. * This file is licensed under the terms of the GNU General Public
  7. * License version 2. This program is licensed "as is" without any
  8. * warranty of any kind, whether express or implied.
  9. */
  10. #ifndef __ASM_ARCH_IRQS_H
  11. #define __ASM_ARCH_IRQS_H
  12. /*
  13. * Low Interrupt Controller
  14. */
  15. #define IRQ_KIRKWOOD_HIGH_SUM 0
  16. #define IRQ_KIRKWOOD_BRIDGE 1
  17. #define IRQ_KIRKWOOD_HOST2CPU 2
  18. #define IRQ_KIRKWOOD_CPU2HOST 3
  19. #define IRQ_KIRKWOOD_XOR_00 5
  20. #define IRQ_KIRKWOOD_XOR_01 6
  21. #define IRQ_KIRKWOOD_XOR_10 7
  22. #define IRQ_KIRKWOOD_XOR_11 8
  23. #define IRQ_KIRKWOOD_PCIE 9
  24. #define IRQ_KIRKWOOD_GE00_SUM 11
  25. #define IRQ_KIRKWOOD_GE01_SUM 15
  26. #define IRQ_KIRKWOOD_USB 19
  27. #define IRQ_KIRKWOOD_SATA 21
  28. #define IRQ_KIRKWOOD_CRYPTO 22
  29. #define IRQ_KIRKWOOD_SPI 23
  30. #define IRQ_KIRKWOOD_I2S 24
  31. #define IRQ_KIRKWOOD_TS_0 26
  32. #define IRQ_KIRKWOOD_SDIO 28
  33. #define IRQ_KIRKWOOD_TWSI 29
  34. #define IRQ_KIRKWOOD_AVB 30
  35. #define IRQ_KIRKWOOD_TDMI 31
  36. /*
  37. * High Interrupt Controller
  38. */
  39. #define IRQ_KIRKWOOD_UART_0 33
  40. #define IRQ_KIRKWOOD_UART_1 34
  41. #define IRQ_KIRKWOOD_GPIO_LOW_0_7 35
  42. #define IRQ_KIRKWOOD_GPIO_LOW_8_15 36
  43. #define IRQ_KIRKWOOD_GPIO_LOW_16_23 37
  44. #define IRQ_KIRKWOOD_GPIO_LOW_24_31 38
  45. #define IRQ_KIRKWOOD_GPIO_HIGH_0_7 39
  46. #define IRQ_KIRKWOOD_GPIO_HIGH_8_15 40
  47. #define IRQ_KIRKWOOD_GPIO_HIGH_16_23 41
  48. #define IRQ_KIRKWOOD_GE00_ERR 46
  49. #define IRQ_KIRKWOOD_GE01_ERR 47
  50. /*
  51. * KIRKWOOD General Purpose Pins
  52. */
  53. #define IRQ_KIRKWOOD_GPIO_START 64
  54. #define NR_GPIO_IRQS 50
  55. #define NR_IRQS (IRQ_KIRKWOOD_GPIO_START + NR_GPIO_IRQS)
  56. #endif