Kconfig 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. config BF52x
  2. def_bool y
  3. depends on (BF522 || BF523 || BF524 || BF525 || BF526 || BF527)
  4. if (BF52x)
  5. source "arch/blackfin/mach-bf527/boards/Kconfig"
  6. menu "BF527 Specific Configuration"
  7. comment "Alternative Multiplexing Scheme"
  8. choice
  9. prompt "SPORT0"
  10. default BF527_SPORT0_PORTG
  11. help
  12. Select PORT used for SPORT0. See Hardware Reference Manual
  13. config BF527_SPORT0_PORTF
  14. bool "PORT F"
  15. help
  16. PORT F
  17. config BF527_SPORT0_PORTG
  18. bool "PORT G"
  19. help
  20. PORT G
  21. endchoice
  22. choice
  23. prompt "SPORT0 TSCLK Location"
  24. depends on BF527_SPORT0_PORTG
  25. default BF527_SPORT0_TSCLK_PG10
  26. help
  27. Select PIN used for SPORT0_TSCLK. See Hardware Reference Manual
  28. config BF527_SPORT0_TSCLK_PG10
  29. bool "PORT PG10"
  30. help
  31. PORT PG10
  32. config BF527_SPORT0_TSCLK_PG14
  33. bool "PORT PG14"
  34. help
  35. PORT PG14
  36. endchoice
  37. choice
  38. prompt "UART1"
  39. default BF527_UART1_PORTF
  40. help
  41. Select PORT used for UART1. See Hardware Reference Manual
  42. config BF527_UART1_PORTF
  43. bool "PORT F"
  44. help
  45. PORT F
  46. config BF527_UART1_PORTG
  47. bool "PORT G"
  48. help
  49. PORT G
  50. endchoice
  51. choice
  52. prompt "NAND (NFC) Data"
  53. default BF527_NAND_D_PORTH
  54. help
  55. Select PORT used for NAND Data Bus. See Hardware Reference Manual
  56. config BF527_NAND_D_PORTF
  57. bool "PORT F"
  58. help
  59. PORT F
  60. config BF527_NAND_D_PORTH
  61. bool "PORT H"
  62. help
  63. PORT H
  64. endchoice
  65. comment "Hysteresis/Schmitt Trigger Control"
  66. config BFIN_HYSTERESIS_CONTROL
  67. bool "Enable Hysteresis Control"
  68. help
  69. The ADSP-BF52x allows to control input hysteresis for Port F,
  70. Port G and Port H and other processor signal inputs.
  71. The Schmitt trigger enables can be set only for pin groups.
  72. Saying Y will overwrite the default reset or boot loader
  73. initialization.
  74. menu "PORT F"
  75. depends on BFIN_HYSTERESIS_CONTROL
  76. config GPIO_HYST_PORTF_0_7
  77. bool "Enable Hysteresis on PORTF {0...7}"
  78. config GPIO_HYST_PORTF_8_9
  79. bool "Enable Hysteresis on PORTF {8, 9}"
  80. config GPIO_HYST_PORTF_10
  81. bool "Enable Hysteresis on PORTF 10"
  82. config GPIO_HYST_PORTF_11
  83. bool "Enable Hysteresis on PORTF 11"
  84. config GPIO_HYST_PORTF_12_13
  85. bool "Enable Hysteresis on PORTF {12, 13}"
  86. config GPIO_HYST_PORTF_14_15
  87. bool "Enable Hysteresis on PORTF {14, 15}"
  88. endmenu
  89. menu "PORT G"
  90. depends on BFIN_HYSTERESIS_CONTROL
  91. config GPIO_HYST_PORTG_0
  92. bool "Enable Hysteresis on PORTG 0"
  93. config GPIO_HYST_PORTG_1_4
  94. bool "Enable Hysteresis on PORTG {1...4}"
  95. config GPIO_HYST_PORTG_5_6
  96. bool "Enable Hysteresis on PORTG {5, 6}"
  97. config GPIO_HYST_PORTG_7_8
  98. bool "Enable Hysteresis on PORTG {7, 8}"
  99. config GPIO_HYST_PORTG_9
  100. bool "Enable Hysteresis on PORTG 9"
  101. config GPIO_HYST_PORTG_10
  102. bool "Enable Hysteresis on PORTG 10"
  103. config GPIO_HYST_PORTG_11_13
  104. bool "Enable Hysteresis on PORTG {11...13}"
  105. config GPIO_HYST_PORTG_14_15
  106. bool "Enable Hysteresis on PORTG {14, 15}"
  107. endmenu
  108. menu "PORT H"
  109. depends on BFIN_HYSTERESIS_CONTROL
  110. config GPIO_HYST_PORTH_0_7
  111. bool "Enable Hysteresis on PORTH {0...7}"
  112. config GPIO_HYST_PORTH_8
  113. bool "Enable Hysteresis on PORTH 8"
  114. config GPIO_HYST_PORTH_9_15
  115. bool "Enable Hysteresis on PORTH {9...15}"
  116. endmenu
  117. menu "None-GPIO"
  118. depends on BFIN_HYSTERESIS_CONTROL
  119. config NONEGPIO_HYST_TMR0_FS1_PPICLK
  120. bool "Enable Hysteresis on {TMR0, PPI_FS1, PPI_CLK}"
  121. config NONEGPIO_HYST_NMI_RST_BMODE
  122. bool "Enable Hysteresis on {NMI, RESET, BMODE}"
  123. config NONEGPIO_HYST_JTAG
  124. bool "Enable Hysteresis on JTAG"
  125. endmenu
  126. comment "Interrupt Priority Assignment"
  127. menu "Priority"
  128. config IRQ_PLL_WAKEUP
  129. int "IRQ_PLL_WAKEUP"
  130. default 7
  131. config IRQ_DMA0_ERROR
  132. int "IRQ_DMA0_ERROR"
  133. default 7
  134. config IRQ_DMAR0_BLK
  135. int "IRQ_DMAR0_BLK"
  136. default 7
  137. config IRQ_DMAR1_BLK
  138. int "IRQ_DMAR1_BLK"
  139. default 7
  140. config IRQ_DMAR0_OVR
  141. int "IRQ_DMAR0_OVR"
  142. default 7
  143. config IRQ_DMAR1_OVR
  144. int "IRQ_DMAR1_OVR"
  145. default 7
  146. config IRQ_PPI_ERROR
  147. int "IRQ_PPI_ERROR"
  148. default 7
  149. config IRQ_MAC_ERROR
  150. int "IRQ_MAC_ERROR"
  151. default 7
  152. config IRQ_SPORT0_ERROR
  153. int "IRQ_SPORT0_ERROR"
  154. default 7
  155. config IRQ_SPORT1_ERROR
  156. int "IRQ_SPORT1_ERROR"
  157. default 7
  158. config IRQ_UART0_ERROR
  159. int "IRQ_UART0_ERROR"
  160. default 7
  161. config IRQ_UART1_ERROR
  162. int "IRQ_UART1_ERROR"
  163. default 7
  164. config IRQ_RTC
  165. int "IRQ_RTC"
  166. default 8
  167. config IRQ_PPI
  168. int "IRQ_PPI"
  169. default 8
  170. config IRQ_SPORT0_RX
  171. int "IRQ_SPORT0_RX"
  172. default 9
  173. config IRQ_SPORT0_TX
  174. int "IRQ_SPORT0_TX"
  175. default 9
  176. config IRQ_SPORT1_RX
  177. int "IRQ_SPORT1_RX"
  178. default 9
  179. config IRQ_SPORT1_TX
  180. int "IRQ_SPORT1_TX"
  181. default 9
  182. config IRQ_TWI
  183. int "IRQ_TWI"
  184. default 10
  185. config IRQ_SPI
  186. int "IRQ_SPI"
  187. default 10
  188. config IRQ_UART0_RX
  189. int "IRQ_UART0_RX"
  190. default 10
  191. config IRQ_UART0_TX
  192. int "IRQ_UART0_TX"
  193. default 10
  194. config IRQ_UART1_RX
  195. int "IRQ_UART1_RX"
  196. default 10
  197. config IRQ_UART1_TX
  198. int "IRQ_UART1_TX"
  199. default 10
  200. config IRQ_OPTSEC
  201. int "IRQ_OPTSEC"
  202. default 11
  203. config IRQ_CNT
  204. int "IRQ_CNT"
  205. default 11
  206. config IRQ_MAC_RX
  207. int "IRQ_MAC_RX"
  208. default 11
  209. config IRQ_PORTH_INTA
  210. int "IRQ_PORTH_INTA"
  211. default 11
  212. config IRQ_MAC_TX
  213. int "IRQ_MAC_TX/NFC"
  214. default 11
  215. config IRQ_PORTH_INTB
  216. int "IRQ_PORTH_INTB"
  217. default 11
  218. config IRQ_TIMER0
  219. int "IRQ_TIMER0"
  220. default 7 if TICKSOURCE_GPTMR0
  221. default 8
  222. config IRQ_TIMER1
  223. int "IRQ_TIMER1"
  224. default 12
  225. config IRQ_TIMER2
  226. int "IRQ_TIMER2"
  227. default 12
  228. config IRQ_TIMER3
  229. int "IRQ_TIMER3"
  230. default 12
  231. config IRQ_TIMER4
  232. int "IRQ_TIMER4"
  233. default 12
  234. config IRQ_TIMER5
  235. int "IRQ_TIMER5"
  236. default 12
  237. config IRQ_TIMER6
  238. int "IRQ_TIMER6"
  239. default 12
  240. config IRQ_TIMER7
  241. int "IRQ_TIMER7"
  242. default 12
  243. config IRQ_PORTG_INTA
  244. int "IRQ_PORTG_INTA"
  245. default 12
  246. config IRQ_PORTG_INTB
  247. int "IRQ_PORTG_INTB"
  248. default 12
  249. config IRQ_MEM_DMA0
  250. int "IRQ_MEM_DMA0"
  251. default 13
  252. config IRQ_MEM_DMA1
  253. int "IRQ_MEM_DMA1"
  254. default 13
  255. config IRQ_WATCH
  256. int "IRQ_WATCH"
  257. default 13
  258. config IRQ_PORTF_INTA
  259. int "IRQ_PORTF_INTA"
  260. default 13
  261. config IRQ_PORTF_INTB
  262. int "IRQ_PORTF_INTB"
  263. default 13
  264. config IRQ_SPI_ERROR
  265. int "IRQ_SPI_ERROR"
  266. default 7
  267. config IRQ_NFC_ERROR
  268. int "IRQ_NFC_ERROR"
  269. default 7
  270. config IRQ_HDMA_ERROR
  271. int "IRQ_HDMA_ERROR"
  272. default 7
  273. config IRQ_HDMA
  274. int "IRQ_HDMA"
  275. default 7
  276. config IRQ_USB_EINT
  277. int "IRQ_USB_EINT"
  278. default 10
  279. config IRQ_USB_INT0
  280. int "IRQ_USB_INT0"
  281. default 10
  282. config IRQ_USB_INT1
  283. int "IRQ_USB_INT1"
  284. default 10
  285. config IRQ_USB_INT2
  286. int "IRQ_USB_INT2"
  287. default 10
  288. config IRQ_USB_DMA
  289. int "IRQ_USB_DMA"
  290. default 10
  291. help
  292. Enter the priority numbers between 7-13 ONLY. Others are Reserved.
  293. This applies to all the above. It is not recommended to assign the
  294. highest priority number 7 to UART or any other device.
  295. endmenu
  296. endmenu
  297. endif