Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  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. choice
  38. prompt "UART2 DMA channel selection"
  39. depends on SERIAL_BFIN_UART2
  40. default UART2_DMA_RX_ON_DMA18
  41. help
  42. UART2 DMA channel selection
  43. RX -> DMA18
  44. TX -> DMA19
  45. or
  46. RX -> DMA13
  47. TX -> DMA14
  48. config UART2_DMA_RX_ON_DMA18
  49. bool "UART2 DMA RX -> DMA18 TX -> DMA19"
  50. help
  51. UART2 DMA channel assignment
  52. RX -> DMA18
  53. TX -> DMA19
  54. use SPORT2 default DMA channel
  55. config UART2_DMA_RX_ON_DMA13
  56. bool "UART2 DMA RX -> DMA13 TX -> DMA14"
  57. help
  58. UART2 DMA channel assignment
  59. RX -> DMA13
  60. TX -> DMA14
  61. use EPPI1 EPPI2 default DMA channel
  62. endchoice
  63. choice
  64. prompt "UART3 DMA channel selection"
  65. depends on SERIAL_BFIN_UART3
  66. default UART3_DMA_RX_ON_DMA20
  67. help
  68. UART3 DMA channel selection
  69. RX -> DMA20
  70. TX -> DMA21
  71. or
  72. RX -> DMA15
  73. TX -> DMA16
  74. config UART3_DMA_RX_ON_DMA20
  75. bool "UART3 DMA RX -> DMA20 TX -> DMA21"
  76. help
  77. UART3 DMA channel assignment
  78. RX -> DMA20
  79. TX -> DMA21
  80. use SPORT3 default DMA channel
  81. config UART3_DMA_RX_ON_DMA15
  82. bool "UART3 DMA RX -> DMA15 TX -> DMA16"
  83. help
  84. UART3 DMA channel assignment
  85. RX -> DMA15
  86. TX -> DMA16
  87. use PIXC default DMA channel
  88. endchoice
  89. comment "Interrupt Priority Assignment"
  90. menu "Priority"
  91. config IRQ_PLL_WAKEUP
  92. int "IRQ_PLL_WAKEUP"
  93. default 7
  94. config IRQ_DMAC0_ERR
  95. int "IRQ_DMAC0_ERR"
  96. default 7
  97. config IRQ_EPPI0_ERR
  98. int "IRQ_EPPI0_ERR"
  99. default 7
  100. config IRQ_SPORT0_ERR
  101. int "IRQ_SPORT0_ERR"
  102. default 7
  103. config IRQ_SPORT1_ERR
  104. int "IRQ_SPORT1_ERR"
  105. default 7
  106. config IRQ_SPI0_ERR
  107. int "IRQ_SPI0_ERR"
  108. default 7
  109. config IRQ_UART0_ERR
  110. int "IRQ_UART0_ERR"
  111. default 7
  112. config IRQ_RTC
  113. int "IRQ_RTC"
  114. default 8
  115. config IRQ_EPPI0
  116. int "IRQ_EPPI0"
  117. default 8
  118. config IRQ_SPORT0_RX
  119. int "IRQ_SPORT0_RX"
  120. default 9
  121. config IRQ_SPORT0_TX
  122. int "IRQ_SPORT0_TX"
  123. default 9
  124. config IRQ_SPORT1_RX
  125. int "IRQ_SPORT1_RX"
  126. default 9
  127. config IRQ_SPORT1_TX
  128. int "IRQ_SPORT1_TX"
  129. default 9
  130. config IRQ_SPI0
  131. int "IRQ_SPI0"
  132. default 10
  133. config IRQ_UART0_RX
  134. int "IRQ_UART0_RX"
  135. default 10
  136. config IRQ_UART0_TX
  137. int "IRQ_UART0_TX"
  138. default 10
  139. config IRQ_TIMER8
  140. int "IRQ_TIMER8"
  141. default 11
  142. config IRQ_TIMER9
  143. int "IRQ_TIMER9"
  144. default 11
  145. config IRQ_TIMER10
  146. int "IRQ_TIMER10"
  147. default 11
  148. config IRQ_PINT0
  149. int "IRQ_PINT0"
  150. default 12
  151. config IRQ_PINT1
  152. int "IRQ_PINT0"
  153. default 12
  154. config IRQ_MDMAS0
  155. int "IRQ_MDMAS0"
  156. default 13
  157. config IRQ_MDMAS1
  158. int "IRQ_DMDMAS1"
  159. default 13
  160. config IRQ_WATCHDOG
  161. int "IRQ_WATCHDOG"
  162. default 13
  163. config IRQ_DMAC1_ERR
  164. int "IRQ_DMAC1_ERR"
  165. default 7
  166. config IRQ_SPORT2_ERR
  167. int "IRQ_SPORT2_ERR"
  168. default 7
  169. config IRQ_SPORT3_ERR
  170. int "IRQ_SPORT3_ERR"
  171. default 7
  172. config IRQ_MXVR_DATA
  173. int "IRQ MXVR Data"
  174. default 7
  175. config IRQ_SPI1_ERR
  176. int "IRQ_SPI1_ERR"
  177. default 7
  178. config IRQ_SPI2_ERR
  179. int "IRQ_SPI2_ERR"
  180. default 7
  181. config IRQ_UART1_ERR
  182. int "IRQ_UART1_ERR"
  183. default 7
  184. config IRQ_UART2_ERR
  185. int "IRQ_UART2_ERR"
  186. default 7
  187. config IRQ_CAN0_ERR
  188. int "IRQ_CAN0_ERR"
  189. default 7
  190. config IRQ_SPORT2_RX
  191. int "IRQ_SPORT2_RX"
  192. default 9
  193. config IRQ_SPORT2_TX
  194. int "IRQ_SPORT2_TX"
  195. default 9
  196. config IRQ_SPORT3_RX
  197. int "IRQ_SPORT3_RX"
  198. default 9
  199. config IRQ_SPORT3_TX
  200. int "IRQ_SPORT3_TX"
  201. default 9
  202. config IRQ_EPPI1
  203. int "IRQ_EPPI1"
  204. default 9
  205. config IRQ_EPPI2
  206. int "IRQ_EPPI2"
  207. default 9
  208. config IRQ_SPI1
  209. int "IRQ_SPI1"
  210. default 10
  211. config IRQ_SPI2
  212. int "IRQ_SPI2"
  213. default 10
  214. config IRQ_UART1_RX
  215. int "IRQ_UART1_RX"
  216. default 10
  217. config IRQ_UART1_TX
  218. int "IRQ_UART1_TX"
  219. default 10
  220. config IRQ_ATAPI_RX
  221. int "IRQ_ATAPI_RX"
  222. default 10
  223. config IRQ_ATAPI_TX
  224. int "IRQ_ATAPI_TX"
  225. default 10
  226. config IRQ_TWI0
  227. int "IRQ_TWI0"
  228. default 11
  229. config IRQ_TWI1
  230. int "IRQ_TWI1"
  231. default 11
  232. config IRQ_CAN0_RX
  233. int "IRQ_CAN_RX"
  234. default 11
  235. config IRQ_CAN0_TX
  236. int "IRQ_CAN_TX"
  237. default 11
  238. config IRQ_MDMAS2
  239. int "IRQ_MDMAS2"
  240. default 13
  241. config IRQ_MDMAS3
  242. int "IRQ_DMMAS3"
  243. default 13
  244. config IRQ_MXVR_ERR
  245. int "IRQ_MXVR_ERR"
  246. default 11
  247. config IRQ_MXVR_MSG
  248. int "IRQ_MXVR_MSG"
  249. default 11
  250. config IRQ_MXVR_PKT
  251. int "IRQ_MXVR_PKT"
  252. default 11
  253. config IRQ_EPPI1_ERR
  254. int "IRQ_EPPI1_ERR"
  255. default 7
  256. config IRQ_EPPI2_ERR
  257. int "IRQ_EPPI2_ERR"
  258. default 7
  259. config IRQ_UART3_ERR
  260. int "IRQ_UART3_ERR"
  261. default 7
  262. config IRQ_HOST_ERR
  263. int "IRQ_HOST_ERR"
  264. default 7
  265. config IRQ_PIXC_ERR
  266. int "IRQ_PIXC_ERR"
  267. default 7
  268. config IRQ_NFC_ERR
  269. int "IRQ_NFC_ERR"
  270. default 7
  271. config IRQ_ATAPI_ERR
  272. int "IRQ_ATAPI_ERR"
  273. default 7
  274. config IRQ_CAN1_ERR
  275. int "IRQ_CAN1_ERR"
  276. default 7
  277. config IRQ_HS_DMA_ERR
  278. int "IRQ Handshake DMA Status"
  279. default 7
  280. config IRQ_PIXC_IN0
  281. int "IRQ PIXC IN0"
  282. default 8
  283. config IRQ_PIXC_IN1
  284. int "IRQ PIXC IN1"
  285. default 8
  286. config IRQ_PIXC_OUT
  287. int "IRQ PIXC OUT"
  288. default 8
  289. config IRQ_SDH
  290. int "IRQ SDH"
  291. default 8
  292. config IRQ_CNT
  293. int "IRQ CNT"
  294. default 8
  295. config IRQ_KEY
  296. int "IRQ KEY"
  297. default 8
  298. config IRQ_CAN1_RX
  299. int "IRQ CAN1 RX"
  300. default 11
  301. config IRQ_CAN1_TX
  302. int "IRQ_CAN1_TX"
  303. default 11
  304. config IRQ_SDH_MASK0
  305. int "IRQ_SDH_MASK0"
  306. default 11
  307. config IRQ_SDH_MASK1
  308. int "IRQ_SDH_MASK1"
  309. default 11
  310. config IRQ_USB_INT0
  311. int "IRQ USB INT0"
  312. default 11
  313. config IRQ_USB_INT1
  314. int "IRQ USB INT1"
  315. default 11
  316. config IRQ_USB_INT2
  317. int "IRQ USB INT2"
  318. default 11
  319. config IRQ_USB_DMA
  320. int "IRQ USB DMA"
  321. default 11
  322. config IRQ_OTPSEC
  323. int "IRQ OPTSEC"
  324. default 11
  325. config IRQ_TIMER0
  326. int "IRQ_TIMER0"
  327. default 7 if TICKSOURCE_GPTMR0
  328. default 8
  329. config IRQ_TIMER1
  330. int "IRQ_TIMER1"
  331. default 11
  332. config IRQ_TIMER2
  333. int "IRQ_TIMER2"
  334. default 11
  335. config IRQ_TIMER3
  336. int "IRQ_TIMER3"
  337. default 11
  338. config IRQ_TIMER4
  339. int "IRQ_TIMER4"
  340. default 11
  341. config IRQ_TIMER5
  342. int "IRQ_TIMER5"
  343. default 11
  344. config IRQ_TIMER6
  345. int "IRQ_TIMER6"
  346. default 11
  347. config IRQ_TIMER7
  348. int "IRQ_TIMER7"
  349. default 11
  350. config IRQ_PINT2
  351. int "IRQ_PIN2"
  352. default 11
  353. config IRQ_PINT3
  354. int "IRQ_PIN3"
  355. default 11
  356. help
  357. Enter the priority numbers between 7-13 ONLY. Others are Reserved.
  358. This applies to all the above. It is not recommended to assign the
  359. highest priority number 7 to UART or any other device.
  360. endmenu
  361. endmenu
  362. endif