Kconfig 5.7 KB

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