Kconfig 6.3 KB

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