ints-priority.c 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. /*
  2. * Copyright 2007-2008 Analog Devices Inc.
  3. *
  4. * Licensed under the GPL-2 or later.
  5. *
  6. * Set up the interrupt priorities
  7. */
  8. #include <linux/module.h>
  9. #include <linux/irq.h>
  10. #include <asm/blackfin.h>
  11. u8 sec_int_priority[] = {
  12. 255, /* IRQ_SEC_ERR */
  13. 255, /* IRQ_CGU_EVT */
  14. 254, /* IRQ_WATCH0 */
  15. 254, /* IRQ_WATCH1 */
  16. 253, /* IRQ_L2CTL0_ECC_ERR */
  17. 253, /* IRQ_L2CTL0_ECC_WARN */
  18. 253, /* IRQ_C0_DBL_FAULT */
  19. 253, /* IRQ_C1_DBL_FAULT */
  20. 252, /* IRQ_C0_HW_ERR */
  21. 252, /* IRQ_C1_HW_ERR */
  22. 255, /* IRQ_C0_NMI_L1_PARITY_ERR */
  23. 255, /* IRQ_C1_NMI_L1_PARITY_ERR */
  24. 50, /* IRQ_TIMER0 */
  25. 50, /* IRQ_TIMER1 */
  26. 50, /* IRQ_TIMER2 */
  27. 50, /* IRQ_TIMER3 */
  28. 50, /* IRQ_TIMER4 */
  29. 50, /* IRQ_TIMER5 */
  30. 50, /* IRQ_TIMER6 */
  31. 50, /* IRQ_TIMER7 */
  32. 50, /* IRQ_TIMER_STAT */
  33. 0, /* IRQ_PINT0 */
  34. 0, /* IRQ_PINT1 */
  35. 0, /* IRQ_PINT2 */
  36. 0, /* IRQ_PINT3 */
  37. 0, /* IRQ_PINT4 */
  38. 0, /* IRQ_PINT5 */
  39. 0, /* IRQ_CNT */
  40. 50, /* RQ_PWM0_TRIP */
  41. 50, /* IRQ_PWM0_SYNC */
  42. 50, /* IRQ_PWM1_TRIP */
  43. 50, /* IRQ_PWM1_SYNC */
  44. 0, /* IRQ_TWI0 */
  45. 0, /* IRQ_TWI1 */
  46. 10, /* IRQ_SOFT0 */
  47. 10, /* IRQ_SOFT1 */
  48. 10, /* IRQ_SOFT2 */
  49. 10, /* IRQ_SOFT3 */
  50. 0, /* IRQ_ACM_EVT_MISS */
  51. 0, /* IRQ_ACM_EVT_COMPLETE */
  52. 0, /* IRQ_CAN0_RX */
  53. 0, /* IRQ_CAN0_TX */
  54. 0, /* IRQ_CAN0_STAT */
  55. 100, /* IRQ_SPORT0_TX */
  56. 100, /* IRQ_SPORT0_TX_STAT */
  57. 100, /* IRQ_SPORT0_RX */
  58. 100, /* IRQ_SPORT0_RX_STAT */
  59. 100, /* IRQ_SPORT1_TX */
  60. 100, /* IRQ_SPORT1_TX_STAT */
  61. 100, /* IRQ_SPORT1_RX */
  62. 100, /* IRQ_SPORT1_RX_STAT */
  63. 100, /* IRQ_SPORT2_TX */
  64. 100, /* IRQ_SPORT2_TX_STAT */
  65. 100, /* IRQ_SPORT2_RX */
  66. 100, /* IRQ_SPORT2_RX_STAT */
  67. 0, /* IRQ_SPI0_TX */
  68. 0, /* IRQ_SPI0_RX */
  69. 0, /* IRQ_SPI0_STAT */
  70. 0, /* IRQ_SPI1_TX */
  71. 0, /* IRQ_SPI1_RX */
  72. 0, /* IRQ_SPI1_STAT */
  73. 0, /* IRQ_RSI */
  74. 0, /* IRQ_RSI_INT0 */
  75. 0, /* IRQ_RSI_INT1 */
  76. 0, /* DMA11 Data (SDU) */
  77. 0, /* DMA12 Data (Reserved) */
  78. 0, /* Reserved */
  79. 0, /* Reserved */
  80. 30, /* IRQ_EMAC0_STAT */
  81. 0, /* EMAC0 Power (Reserved) */
  82. 30, /* IRQ_EMAC1_STAT */
  83. 0, /* EMAC1 Power (Reserved) */
  84. 0, /* IRQ_LP0 */
  85. 0, /* IRQ_LP0_STAT */
  86. 0, /* IRQ_LP1 */
  87. 0, /* IRQ_LP1_STAT */
  88. 0, /* IRQ_LP2 */
  89. 0, /* IRQ_LP2_STAT */
  90. 0, /* IRQ_LP3 */
  91. 0, /* IRQ_LP3_STAT */
  92. 0, /* IRQ_UART0_TX */
  93. 0, /* IRQ_UART0_RX */
  94. 0, /* IRQ_UART0_STAT */
  95. 0, /* IRQ_UART1_TX */
  96. 0, /* IRQ_UART1_RX */
  97. 0, /* IRQ_UART1_STAT */
  98. 0, /* IRQ_MDMA0_SRC_CRC0 */
  99. 0, /* IRQ_MDMA0_DEST_CRC0 */
  100. 0, /* IRQ_CRC0_DCNTEXP */
  101. 0, /* IRQ_CRC0_ERR */
  102. 0, /* IRQ_MDMA1_SRC_CRC1 */
  103. 0, /* IRQ_MDMA1_DEST_CRC1 */
  104. 0, /* IRQ_CRC1_DCNTEXP */
  105. 0, /* IRQ_CRC1_ERR */
  106. 0, /* IRQ_MDMA2_SRC */
  107. 0, /* IRQ_MDMA2_DEST */
  108. 0, /* IRQ_MDMA3_SRC */
  109. 0, /* IRQ_MDMA3_DEST */
  110. 120, /* IRQ_EPPI0_CH0 */
  111. 120, /* IRQ_EPPI0_CH1 */
  112. 120, /* IRQ_EPPI0_STAT */
  113. 120, /* IRQ_EPPI2_CH0 */
  114. 120, /* IRQ_EPPI2_CH1 */
  115. 120, /* IRQ_EPPI2_STAT */
  116. 120, /* IRQ_EPPI1_CH0 */
  117. 120, /* IRQ_EPPI1_CH1 */
  118. 120, /* IRQ_EPPI1_STAT */
  119. 120, /* IRQ_PIXC_CH0 */
  120. 120, /* IRQ_PIXC_CH1 */
  121. 120, /* IRQ_PIXC_CH2 */
  122. 120, /* IRQ_PIXC_STAT */
  123. 120, /* IRQ_PVP_CPDOB */
  124. 120, /* IRQ_PVP_CPDOC */
  125. 120, /* IRQ_PVP_CPSTAT */
  126. 120, /* IRQ_PVP_CPCI */
  127. 120, /* IRQ_PVP_STAT0 */
  128. 120, /* IRQ_PVP_MPDO */
  129. 120, /* IRQ_PVP_MPDI */
  130. 120, /* IRQ_PVP_MPSTAT */
  131. 120, /* IRQ_PVP_MPCI */
  132. 120, /* IRQ_PVP_CPDOA */
  133. 120, /* IRQ_PVP_STAT1 */
  134. 0, /* IRQ_USB_STAT */
  135. 0, /* IRQ_USB_DMA */
  136. 0, /* IRQ_TRU_INT0 */
  137. 0, /* IRQ_TRU_INT1 */
  138. 0, /* IRQ_TRU_INT2 */
  139. 0, /* IRQ_TRU_INT3 */
  140. 0, /* IRQ_DMAC0_ERROR */
  141. 0, /* IRQ_CGU0_ERROR */
  142. 0, /* Reserved */
  143. 0, /* IRQ_DPM */
  144. 0, /* Reserved */
  145. 0, /* IRQ_SWU0 */
  146. 0, /* IRQ_SWU1 */
  147. 0, /* IRQ_SWU2 */
  148. 0, /* IRQ_SWU3 */
  149. 0, /* IRQ_SWU4 */
  150. 0, /* IRQ_SWU4 */
  151. 0, /* IRQ_SWU6 */
  152. };