irqs.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. /*
  2. * linux/include/asm-arm/arch-iop32x/irqs.h
  3. *
  4. * Author: Rory Bolt <rorybolt@pacbell.net>
  5. * Copyright: (C) 2002 Rory Bolt
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License version 2 as
  9. * published by the Free Software Foundation.
  10. *
  11. */
  12. #ifndef _IRQS_H_
  13. #define _IRQS_H_
  14. /*
  15. * IOP80321 chipset interrupts
  16. */
  17. #define IRQ_IOP321_DMA0_EOT 0
  18. #define IRQ_IOP321_DMA0_EOC 1
  19. #define IRQ_IOP321_DMA1_EOT 2
  20. #define IRQ_IOP321_DMA1_EOC 3
  21. #define IRQ_IOP321_AA_EOT 6
  22. #define IRQ_IOP321_AA_EOC 7
  23. #define IRQ_IOP321_CORE_PMON 8
  24. #define IRQ_IOP321_TIMER0 9
  25. #define IRQ_IOP321_TIMER1 10
  26. #define IRQ_IOP321_I2C_0 11
  27. #define IRQ_IOP321_I2C_1 12
  28. #define IRQ_IOP321_MESSAGING 13
  29. #define IRQ_IOP321_ATU_BIST 14
  30. #define IRQ_IOP321_PERFMON 15
  31. #define IRQ_IOP321_CORE_PMU 16
  32. #define IRQ_IOP321_BIU_ERR 17
  33. #define IRQ_IOP321_ATU_ERR 18
  34. #define IRQ_IOP321_MCU_ERR 19
  35. #define IRQ_IOP321_DMA0_ERR 20
  36. #define IRQ_IOP321_DMA1_ERR 21
  37. #define IRQ_IOP321_AA_ERR 23
  38. #define IRQ_IOP321_MSG_ERR 24
  39. #define IRQ_IOP321_SSP 25
  40. #define IRQ_IOP321_XINT0 27
  41. #define IRQ_IOP321_XINT1 28
  42. #define IRQ_IOP321_XINT2 29
  43. #define IRQ_IOP321_XINT3 30
  44. #define IRQ_IOP321_HPI 31
  45. #define NR_IRQS 32
  46. /*
  47. * Interrupts available on the IQ80321 board
  48. */
  49. /*
  50. * On board devices
  51. */
  52. #define IRQ_IQ80321_I82544 IRQ_IOP321_XINT0
  53. #define IRQ_IQ80321_UART IRQ_IOP321_XINT1
  54. /*
  55. * PCI interrupts
  56. */
  57. #define IRQ_IQ80321_INTA IRQ_IOP321_XINT0
  58. #define IRQ_IQ80321_INTB IRQ_IOP321_XINT1
  59. #define IRQ_IQ80321_INTC IRQ_IOP321_XINT2
  60. #define IRQ_IQ80321_INTD IRQ_IOP321_XINT3
  61. /*
  62. * Interrupts on the IQ31244 board
  63. */
  64. /*
  65. * On board devices
  66. */
  67. #define IRQ_IQ31244_UART IRQ_IOP321_XINT1
  68. #define IRQ_IQ31244_I82546 IRQ_IOP321_XINT0
  69. #define IRQ_IQ31244_SATA IRQ_IOP321_XINT2
  70. #define IRQ_IQ31244_PCIX_SLOT IRQ_IOP321_XINT3
  71. /*
  72. * PCI interrupts
  73. */
  74. #define IRQ_IQ31244_INTA IRQ_IOP321_XINT0
  75. #define IRQ_IQ31244_INTB IRQ_IOP321_XINT1
  76. #define IRQ_IQ31244_INTC IRQ_IOP321_XINT2
  77. #define IRQ_IQ31244_INTD IRQ_IOP321_XINT3
  78. #endif // _IRQ_H_