Kconfig 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. config BF542
  2. def_bool y
  3. depends on BF542_std || BF542M
  4. config BF544
  5. def_bool y
  6. depends on BF544_std || BF544M
  7. config BF547
  8. def_bool y
  9. depends on BF547_std || BF547M
  10. config BF548
  11. def_bool y
  12. depends on BF548_std || BF548M
  13. config BF549
  14. def_bool y
  15. depends on BF549_std || BF549M
  16. config BF54xM
  17. def_bool y
  18. depends on (BF542M || BF544M || BF547M || BF548M || BF549M)
  19. config BF54x
  20. def_bool y
  21. depends on (BF542 || BF544 || BF547 || BF548 || BF549)
  22. if (BF54x)
  23. source "arch/blackfin/mach-bf548/boards/Kconfig"
  24. menu "BF548 Specific Configuration"
  25. config DEB_DMA_URGENT
  26. bool "DMA has priority over core for ext. accesses"
  27. depends on BF54x
  28. default y
  29. help
  30. Treat any DEB1, DEB2 and DEB3 request as Urgent
  31. config BF548_ATAPI_ALTERNATIVE_PORT
  32. bool "BF548 ATAPI alternative port via GPIO"
  33. help
  34. BF548 ATAPI data and address PINs can be routed through
  35. async address or GPIO port F and G. Select y to route it
  36. to GPIO.
  37. comment "Interrupt Priority Assignment"
  38. menu "Priority"
  39. config IRQ_PLL_WAKEUP
  40. int "IRQ_PLL_WAKEUP"
  41. default 7
  42. config IRQ_DMAC0_ERR
  43. int "IRQ_DMAC0_ERR"
  44. default 7
  45. config IRQ_EPPI0_ERR
  46. int "IRQ_EPPI0_ERR"
  47. default 7
  48. config IRQ_SPORT0_ERR
  49. int "IRQ_SPORT0_ERR"
  50. default 7
  51. config IRQ_SPORT1_ERR
  52. int "IRQ_SPORT1_ERR"
  53. default 7
  54. config IRQ_SPI0_ERR
  55. int "IRQ_SPI0_ERR"
  56. default 7
  57. config IRQ_UART0_ERR
  58. int "IRQ_UART0_ERR"
  59. default 7
  60. config IRQ_RTC
  61. int "IRQ_RTC"
  62. default 8
  63. config IRQ_EPPI0
  64. int "IRQ_EPPI0"
  65. default 8
  66. config IRQ_SPORT0_RX
  67. int "IRQ_SPORT0_RX"
  68. default 9
  69. config IRQ_SPORT0_TX
  70. int "IRQ_SPORT0_TX"
  71. default 9
  72. config IRQ_SPORT1_RX
  73. int "IRQ_SPORT1_RX"
  74. default 9
  75. config IRQ_SPORT1_TX
  76. int "IRQ_SPORT1_TX"
  77. default 9
  78. config IRQ_SPI0
  79. int "IRQ_SPI0"
  80. default 10
  81. config IRQ_UART0_RX
  82. int "IRQ_UART0_RX"
  83. default 10
  84. config IRQ_UART0_TX
  85. int "IRQ_UART0_TX"
  86. default 10
  87. config IRQ_TIMER8
  88. int "IRQ_TIMER8"
  89. default 11
  90. config IRQ_TIMER9
  91. int "IRQ_TIMER9"
  92. default 11
  93. config IRQ_TIMER10
  94. int "IRQ_TIMER10"
  95. default 11
  96. config IRQ_PINT0
  97. int "IRQ_PINT0"
  98. default 12
  99. config IRQ_PINT1
  100. int "IRQ_PINT0"
  101. default 12
  102. config IRQ_MDMAS0
  103. int "IRQ_MDMAS0"
  104. default 13
  105. config IRQ_MDMAS1
  106. int "IRQ_DMDMAS1"
  107. default 13
  108. config IRQ_WATCHDOG
  109. int "IRQ_WATCHDOG"
  110. default 13
  111. config IRQ_DMAC1_ERR
  112. int "IRQ_DMAC1_ERR"
  113. default 7
  114. config IRQ_SPORT2_ERR
  115. int "IRQ_SPORT2_ERR"
  116. default 7
  117. config IRQ_SPORT3_ERR
  118. int "IRQ_SPORT3_ERR"
  119. default 7
  120. config IRQ_MXVR_DATA
  121. int "IRQ MXVR Data"
  122. default 7
  123. config IRQ_SPI1_ERR
  124. int "IRQ_SPI1_ERR"
  125. default 7
  126. config IRQ_SPI2_ERR
  127. int "IRQ_SPI2_ERR"
  128. default 7
  129. config IRQ_UART1_ERR
  130. int "IRQ_UART1_ERR"
  131. default 7
  132. config IRQ_UART2_ERR
  133. int "IRQ_UART2_ERR"
  134. default 7
  135. config IRQ_CAN0_ERR
  136. int "IRQ_CAN0_ERR"
  137. default 7
  138. config IRQ_SPORT2_RX
  139. int "IRQ_SPORT2_RX"
  140. default 9
  141. config IRQ_SPORT2_TX
  142. int "IRQ_SPORT2_TX"
  143. default 9
  144. config IRQ_SPORT3_RX
  145. int "IRQ_SPORT3_RX"
  146. default 9
  147. config IRQ_SPORT3_TX
  148. int "IRQ_SPORT3_TX"
  149. default 9
  150. config IRQ_EPPI1
  151. int "IRQ_EPPI1"
  152. default 9
  153. config IRQ_EPPI2
  154. int "IRQ_EPPI2"
  155. default 9
  156. config IRQ_SPI1
  157. int "IRQ_SPI1"
  158. default 10
  159. config IRQ_SPI2
  160. int "IRQ_SPI2"
  161. default 10
  162. config IRQ_UART1_RX
  163. int "IRQ_UART1_RX"
  164. default 10
  165. config IRQ_UART1_TX
  166. int "IRQ_UART1_TX"
  167. default 10
  168. config IRQ_ATAPI_RX
  169. int "IRQ_ATAPI_RX"
  170. default 10
  171. config IRQ_ATAPI_TX
  172. int "IRQ_ATAPI_TX"
  173. default 10
  174. config IRQ_TWI0
  175. int "IRQ_TWI0"
  176. default 11
  177. config IRQ_TWI1
  178. int "IRQ_TWI1"
  179. default 11
  180. config IRQ_CAN0_RX
  181. int "IRQ_CAN_RX"
  182. default 11
  183. config IRQ_CAN0_TX
  184. int "IRQ_CAN_TX"
  185. default 11
  186. config IRQ_MDMAS2
  187. int "IRQ_MDMAS2"
  188. default 13
  189. config IRQ_MDMAS3
  190. int "IRQ_DMMAS3"
  191. default 13
  192. config IRQ_MXVR_ERR
  193. int "IRQ_MXVR_ERR"
  194. default 11
  195. config IRQ_MXVR_MSG
  196. int "IRQ_MXVR_MSG"
  197. default 11
  198. config IRQ_MXVR_PKT
  199. int "IRQ_MXVR_PKT"
  200. default 11
  201. config IRQ_EPPI1_ERR
  202. int "IRQ_EPPI1_ERR"
  203. default 7
  204. config IRQ_EPPI2_ERR
  205. int "IRQ_EPPI2_ERR"
  206. default 7
  207. config IRQ_UART3_ERR
  208. int "IRQ_UART3_ERR"
  209. default 7
  210. config IRQ_HOST_ERR
  211. int "IRQ_HOST_ERR"
  212. default 7
  213. config IRQ_PIXC_ERR
  214. int "IRQ_PIXC_ERR"
  215. default 7
  216. config IRQ_NFC_ERR
  217. int "IRQ_NFC_ERR"
  218. default 7
  219. config IRQ_ATAPI_ERR
  220. int "IRQ_ATAPI_ERR"
  221. default 7
  222. config IRQ_CAN1_ERR
  223. int "IRQ_CAN1_ERR"
  224. default 7
  225. config IRQ_HS_DMA_ERR
  226. int "IRQ Handshake DMA Status"
  227. default 7
  228. config IRQ_PIXC_IN0
  229. int "IRQ PIXC IN0"
  230. default 8
  231. config IRQ_PIXC_IN1
  232. int "IRQ PIXC IN1"
  233. default 8
  234. config IRQ_PIXC_OUT
  235. int "IRQ PIXC OUT"
  236. default 8
  237. config IRQ_SDH
  238. int "IRQ SDH"
  239. default 8
  240. config IRQ_CNT
  241. int "IRQ CNT"
  242. default 8
  243. config IRQ_KEY
  244. int "IRQ KEY"
  245. default 8
  246. config IRQ_CAN1_RX
  247. int "IRQ CAN1 RX"
  248. default 11
  249. config IRQ_CAN1_TX
  250. int "IRQ_CAN1_TX"
  251. default 11
  252. config IRQ_SDH_MASK0
  253. int "IRQ_SDH_MASK0"
  254. default 11
  255. config IRQ_SDH_MASK1
  256. int "IRQ_SDH_MASK1"
  257. default 11
  258. config IRQ_USB_INT0
  259. int "IRQ USB INT0"
  260. default 11
  261. config IRQ_USB_INT1
  262. int "IRQ USB INT1"
  263. default 11
  264. config IRQ_USB_INT2
  265. int "IRQ USB INT2"
  266. default 11
  267. config IRQ_USB_DMA
  268. int "IRQ USB DMA"
  269. default 11
  270. config IRQ_OTPSEC
  271. int "IRQ OPTSEC"
  272. default 11
  273. config IRQ_TIMER0
  274. int "IRQ_TIMER0"
  275. default 7 if TICKSOURCE_GPTMR0
  276. default 8
  277. config IRQ_TIMER1
  278. int "IRQ_TIMER1"
  279. default 11
  280. config IRQ_TIMER2
  281. int "IRQ_TIMER2"
  282. default 11
  283. config IRQ_TIMER3
  284. int "IRQ_TIMER3"
  285. default 11
  286. config IRQ_TIMER4
  287. int "IRQ_TIMER4"
  288. default 11
  289. config IRQ_TIMER5
  290. int "IRQ_TIMER5"
  291. default 11
  292. config IRQ_TIMER6
  293. int "IRQ_TIMER6"
  294. default 11
  295. config IRQ_TIMER7
  296. int "IRQ_TIMER7"
  297. default 11
  298. config IRQ_PINT2
  299. int "IRQ_PIN2"
  300. default 11
  301. config IRQ_PINT3
  302. int "IRQ_PIN3"
  303. default 11
  304. help
  305. Enter the priority numbers between 7-13 ONLY. Others are Reserved.
  306. This applies to all the above. It is not recommended to assign the
  307. highest priority number 7 to UART or any other device.
  308. endmenu
  309. comment "Pin Interrupt to Port Assignment"
  310. menu "Assignment"
  311. config PINTx_REASSIGN
  312. bool "Reprogram PINT Assignment"
  313. default y
  314. help
  315. The interrupt assignment registers controls the pin-to-interrupt
  316. assignment in a byte-wide manner. Each option allows you to select
  317. a set of pins (High/Low Byte) of an specific Port being mapped
  318. to one of the four PIN Interrupts IRQ_PINTx.
  319. You shouldn't change any of these unless you know exactly what you're doing.
  320. Please consult the Blackfin BF54x Processor Hardware Reference Manual.
  321. config PINT0_ASSIGN
  322. hex "PINT0_ASSIGN"
  323. depends on PINTx_REASSIGN
  324. default 0x00000101
  325. config PINT1_ASSIGN
  326. hex "PINT1_ASSIGN"
  327. depends on PINTx_REASSIGN
  328. default 0x01010000
  329. config PINT2_ASSIGN
  330. hex "PINT2_ASSIGN"
  331. depends on PINTx_REASSIGN
  332. default 0x07000101
  333. config PINT3_ASSIGN
  334. hex "PINT3_ASSIGN"
  335. depends on PINTx_REASSIGN
  336. default 0x02020303
  337. endmenu
  338. endmenu
  339. endif