irqs.h 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * arch/arm/mach-orion5x/include/mach/irqs.h
  3. *
  4. * IRQ definitions for Orion SoC
  5. *
  6. * Maintainer: Tzachi Perelstein <tzachi@marvell.com>
  7. *
  8. * This file is licensed under the terms of the GNU General Public
  9. * License version 2. This program is licensed "as is" without any
  10. * warranty of any kind, whether express or implied.
  11. */
  12. #ifndef __ASM_ARCH_IRQS_H
  13. #define __ASM_ARCH_IRQS_H
  14. #include "orion5x.h" /* need GPIO_MAX */
  15. /*
  16. * Orion Main Interrupt Controller
  17. */
  18. #define IRQ_ORION5X_BRIDGE 0
  19. #define IRQ_ORION5X_DOORBELL_H2C 1
  20. #define IRQ_ORION5X_DOORBELL_C2H 2
  21. #define IRQ_ORION5X_UART0 3
  22. #define IRQ_ORION5X_UART1 4
  23. #define IRQ_ORION5X_I2C 5
  24. #define IRQ_ORION5X_GPIO_0_7 6
  25. #define IRQ_ORION5X_GPIO_8_15 7
  26. #define IRQ_ORION5X_GPIO_16_23 8
  27. #define IRQ_ORION5X_GPIO_24_31 9
  28. #define IRQ_ORION5X_PCIE0_ERR 10
  29. #define IRQ_ORION5X_PCIE0_INT 11
  30. #define IRQ_ORION5X_USB1_CTRL 12
  31. #define IRQ_ORION5X_DEV_BUS_ERR 14
  32. #define IRQ_ORION5X_PCI_ERR 15
  33. #define IRQ_ORION5X_USB_BR_ERR 16
  34. #define IRQ_ORION5X_USB0_CTRL 17
  35. #define IRQ_ORION5X_ETH_RX 18
  36. #define IRQ_ORION5X_ETH_TX 19
  37. #define IRQ_ORION5X_ETH_MISC 20
  38. #define IRQ_ORION5X_ETH_SUM 21
  39. #define IRQ_ORION5X_ETH_ERR 22
  40. #define IRQ_ORION5X_IDMA_ERR 23
  41. #define IRQ_ORION5X_IDMA_0 24
  42. #define IRQ_ORION5X_IDMA_1 25
  43. #define IRQ_ORION5X_IDMA_2 26
  44. #define IRQ_ORION5X_IDMA_3 27
  45. #define IRQ_ORION5X_CESA 28
  46. #define IRQ_ORION5X_SATA 29
  47. #define IRQ_ORION5X_XOR0 30
  48. #define IRQ_ORION5X_XOR1 31
  49. /*
  50. * Orion General Purpose Pins
  51. */
  52. #define IRQ_ORION5X_GPIO_START 32
  53. #define NR_GPIO_IRQS GPIO_MAX
  54. #define NR_IRQS (IRQ_ORION5X_GPIO_START + NR_GPIO_IRQS)
  55. #endif