Config.in.serial 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. menu "Serial devices support"
  4. depends on ADK_TARGET_WITH_SERIAL || ADK_TARGET_QEMU || ADK_TARGET_SIM || ADK_TARGET_GENERIC
  5. config ADK_LINUX_KERNEL_SERIAL_8250_DMA
  6. bool
  7. config ADK_LINUX_KERNEL_SERIAL_8250_DW
  8. bool
  9. config ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  10. bool
  11. config ADK_LINUX_KERNEL_SERIAL_8250_PCI
  12. bool
  13. config ADK_LINUX_KERNEL_SERIAL_8250_PNP
  14. bool
  15. config ADK_LINUX_KERNEL_SERIAL_8250_EXTENDED
  16. bool
  17. config ADK_LINUX_KERNEL_SERIAL_8250_SHARE_IRQ
  18. bool
  19. config ADK_LINUX_KERNEL_SERIAL_ARC_CONSOLE
  20. bool
  21. config ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
  22. bool
  23. config ADK_LINUX_KERNEL_SERIAL_IMX_CONSOLE
  24. bool
  25. config ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM
  26. bool
  27. config ADK_LINUX_KERNEL_SERIAL_OMAP_CONSOLE
  28. bool
  29. config ADK_LINUX_KERNEL_SERIAL_UARTLITE_CONSOLE
  30. bool
  31. config ADK_LINUX_KERNEL_SERIAL_ETRAXFS_CONSOLE
  32. bool
  33. config ADK_LINUX_KERNEL_SERIAL_MCF_CONSOLE
  34. bool
  35. config ADK_LINUX_KERNEL_SERIAL_PMACZILOG_TTYS
  36. bool
  37. config ADK_LINUX_KERNEL_SERIAL_PMACZILOG_CONSOLE
  38. bool
  39. config ADK_LINUX_KERNEL_SERIAL_SH_SCI_CONSOLE
  40. bool
  41. config ADK_LINUX_KERNEL_SERIAL_AMBA_PL011_CONSOLE
  42. bool
  43. config ADK_LINUX_KERNEL_SERIAL_SUNCORE
  44. bool
  45. config ADK_LINUX_KERNEL_SERIAL_SUNSU_CONSOLE
  46. bool
  47. config ADK_LINUX_KERNEL_DA_CONSOLE
  48. bool
  49. config ADK_LINUX_KERNEL_SERIAL_IP22_ZILOG_CONSOLE
  50. bool
  51. config ADK_LINUX_KERNEL_SERIAL_BFIN_CONSOLE
  52. bool
  53. config ADK_LINUX_KERNEL_SERIAL_BFIN_UART0
  54. bool
  55. config ADK_LINUX_KERNEL_SERIAL_BFIN_UART1
  56. bool
  57. config ADK_LINUX_KERNEL_SERIAL_8250_INGENIC
  58. bool
  59. config ADK_LINUX_KERNEL_SERIAL_MILKYMIST_CONSOLE
  60. bool
  61. config ADK_LINUX_KERNEL_SERIAL_8250_BCM2835AUX
  62. bool
  63. config ADK_LINUX_KERNEL_SERIAL_BFIN
  64. bool "BFIN serial driver"
  65. select ADK_LINUX_KERNEL_SERIAL_BFIN_CONSOLE
  66. select ADK_LINUX_KERNEL_SERIAL_BFIN_UART0
  67. select ADK_LINUX_KERNEL_SERIAL_BFIN_UART1
  68. depends on ADK_TARGET_ARCH_BFIN
  69. default y if ADK_TARGET_ARCH_BFIN
  70. config ADK_LINUX_KERNEL_SERIAL_8250
  71. bool "8250 serial driver"
  72. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  73. select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM if ADK_TARGET_CPU_ARC_ARCHS && ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  74. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_CPU_ARC_ARCHS && ADK_TARGET_SYSTEM_SYNOPSYS_NSIM
  75. select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM if ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
  76. || ADK_TARGET_SYSTEM_IMGTEC_CI20 \
  77. || ADK_TARGET_SYSTEM_QEMU_ARC \
  78. || ADK_TARGET_SYSTEM_QEMU_CSKY \
  79. || ADK_TARGET_SYSTEM_QEMU_XTENSA \
  80. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  81. || ADK_TARGET_SYSTEM_QEMU_NIOS2 \
  82. || ADK_TARGET_SYSTEM_QEMU_OR1K \
  83. || ADK_TARGET_SYSTEM_QEMU_RISCV32 \
  84. || ADK_TARGET_SYSTEM_QEMU_RISCV64 \
  85. || ADK_TARGET_SYSTEM_ANDES_AG101P \
  86. || ADK_TARGET_SYSTEM_ORANGE_PI0 \
  87. || ADK_TARGET_SYSTEM_SYNOPSYS_HSDK \
  88. || ADK_TARGET_SYSTEM_SOM_C6745 \
  89. || ADK_TARGET_SYSTEM_ROCKPI4_PLUS \
  90. || ADK_TARGET_SYSTEM_STARFIVE_VISIONFIVE2
  91. select ADK_LINUX_KERNEL_SERIAL_8250_PNP if ADK_TARGET_SYSTEM_PCENGINES_APU
  92. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  93. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_ORANGE_PI0
  94. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
  95. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_QEMU_ARC
  96. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  97. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_STARFIVE_VISIONFIVE2
  98. select ADK_LINUX_KERNEL_SERIAL_8250_DW if ADK_TARGET_SYSTEM_BANANA_PRO
  99. select ADK_LINUX_KERNEL_SERIAL_8250_EXTENDED if ADK_TARGET_SYSTEM_VISIONFIVE2
  100. select ADK_LINUX_KERNEL_SERIAL_8250_DMA if ADK_TARGET_SYSTEM_ORANGE_PI0
  101. select ADK_LINUX_KERNEL_SERIAL_8250_INGENIC if ADK_TARGET_SYSTEM_IMGTEC_CI20
  102. select ADK_LINUX_KERNEL_SERIAL_8250_BCM2835AUX if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  103. select ADK_LINUX_KERNEL_SERIAL_8250_EXTENDED if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  104. select ADK_LINUX_KERNEL_SERIAL_8250_SHARE_IRQ if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  105. select ADK_LINUX_KERNEL_SERIAL_8250_BCM2835AUX if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  106. select ADK_LINUX_KERNEL_SERIAL_8250_EXTENDED if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  107. select ADK_LINUX_KERNEL_SERIAL_8250_SHARE_IRQ if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  108. depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
  109. || ADK_TARGET_SYSTEM_IMGTEC_CI20 \
  110. || ADK_TARGET_SYSTEM_LINKSYS_NSLU2 \
  111. || ADK_TARGET_SYSTEM_ANDES_AG101P \
  112. || ADK_TARGET_SYSTEM_PCENGINES_APU \
  113. || ADK_TARGET_SYSTEM_PCENGINES_ALIX \
  114. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  115. || ADK_TARGET_SYSTEM_QEMU_MIPS \
  116. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  117. || ADK_TARGET_SYSTEM_QEMU_ALPHA \
  118. || ADK_TARGET_SYSTEM_QEMU_ARC \
  119. || ADK_TARGET_SYSTEM_QEMU_CSKY \
  120. || ADK_TARGET_SYSTEM_QEMU_HPPA \
  121. || ADK_TARGET_SYSTEM_QEMU_NIOS2 \
  122. || ADK_TARGET_SYSTEM_QEMU_OR1K \
  123. || ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  124. || ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS \
  125. || ADK_TARGET_SYSTEM_QEMU_RISCV32 \
  126. || ADK_TARGET_SYSTEM_QEMU_RISCV64 \
  127. || ADK_TARGET_SYSTEM_QEMU_X86 \
  128. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  129. || ADK_TARGET_SYSTEM_QEMU_XTENSA \
  130. || ADK_TARGET_SYSTEM_GENERIC_NDS32 \
  131. || ADK_TARGET_SYSTEM_GENERIC_X86 \
  132. || ADK_TARGET_SYSTEM_GENERIC_X86_64 \
  133. || ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  134. || ADK_TARGET_SYSTEM_MIKROTIK_RB4XX \
  135. || ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG \
  136. || ADK_TARGET_SYSTEM_ORANGE_PI0 \
  137. || ADK_TARGET_SYSTEM_SYNOPSYS_HSDK \
  138. || ADK_TARGET_CPU_ARC_ARCHS \
  139. || ADK_TARGET_SYSTEM_SOM_C6745 \
  140. || ADK_TARGET_SYSTEM_RASPBERRY_PI4 \
  141. || ADK_TARGET_SYSTEM_RASPBERRY_PI4_64 \
  142. || ADK_TARGET_SYSTEM_ROCKPI4_PLUS \
  143. || ADK_TARGET_SYSTEM_STARFIVE_VISIONFIVE2 \
  144. || ADK_TARGET_SYSTEM_BANANA_PRO
  145. default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7
  146. default y if ADK_TARGET_SYSTEM_IMGTEC_CI20
  147. default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  148. default y if ADK_TARGET_SYSTEM_ANDES_AG101P
  149. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  150. default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  151. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  152. default y if ADK_TARGET_SYSTEM_QEMU_MIPS
  153. default y if ADK_TARGET_SYSTEM_QEMU_MIPS64
  154. default y if ADK_TARGET_SYSTEM_QEMU_ALPHA
  155. default y if ADK_TARGET_SYSTEM_QEMU_ARC
  156. default y if ADK_TARGET_SYSTEM_QEMU_CSKY
  157. default y if ADK_TARGET_SYSTEM_QEMU_HPPA
  158. default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
  159. default y if ADK_TARGET_SYSTEM_QEMU_OR1K
  160. default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
  161. default y if ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS
  162. default y if ADK_TARGET_SYSTEM_QEMU_RISCV32
  163. default y if ADK_TARGET_SYSTEM_QEMU_RISCV64
  164. default y if ADK_TARGET_SYSTEM_QEMU_X86
  165. default y if ADK_TARGET_SYSTEM_QEMU_X86_64
  166. default y if ADK_TARGET_SYSTEM_QEMU_XTENSA
  167. default y if ADK_TARGET_SYSTEM_GENERIC_NDS32
  168. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  169. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  170. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  171. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
  172. default y if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  173. default y if ADK_TARGET_SYSTEM_ORANGE_PI0
  174. default y if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
  175. default y if ADK_TARGET_CPU_ARC_ARCHS
  176. default y if ADK_TARGET_SYSTEM_SOM_C6745
  177. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  178. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  179. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  180. default y if ADK_TARGET_SYSTEM_STARFIVE_VISIONFIVE2
  181. default y if ADK_TARGET_SYSTEM_BANANA_PRO
  182. default n
  183. help
  184. Serial driver for 8250 UART chip.
  185. config ADK_LINUX_KERNEL_DA_TTY
  186. bool "METAG serial driver"
  187. select ADK_LINUX_KERNEL_DA_CONSOLE
  188. depends on ADK_TARGET_SYSTEM_QEMU_METAG
  189. default y if ADK_TARGET_SYSTEM_QEMU_METAG
  190. default n
  191. help
  192. Serial driver for Qemu METAG Emulation.
  193. config ADK_LINUX_KERNEL_SERIAL_SUNSU
  194. bool "Sun Sparc64 serial driver"
  195. select ADK_LINUX_KERNEL_SERIAL_SUNSU_CONSOLE
  196. select ADK_LINUX_KERNEL_SERIAL_SUNCORE
  197. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64
  198. default y if ADK_TARGET_SYSTEM_QEMU_SPARC64
  199. default n
  200. help
  201. Serial driver for Sun SPARC64.
  202. config ADK_LINUX_KERNEL_SERIAL_ETRAXFS
  203. bool "ETRAXFS serial driver"
  204. select ADK_LINUX_KERNEL_SERIAL_ETRAXFS_CONSOLE
  205. depends on ADK_TARGET_SYSTEM_QEMU_CRIS
  206. default y if ADK_TARGET_SYSTEM_QEMU_CRIS
  207. default n
  208. help
  209. Serial driver for ETRAXFS CRISv32 Qemu Emulation.
  210. config ADK_LINUX_KERNEL_SERIAL_ARC
  211. bool "ARC serial driver"
  212. select ADK_LINUX_KERNEL_SERIAL_ARC_CONSOLE
  213. depends on ADK_TARGET_SYSTEM_SYNOPSYS_NSIM && ADK_TARGET_CPU_ARC_ARC700
  214. default y if ADK_TARGET_SYSTEM_SYNOPSYS_NSIM && ADK_TARGET_CPU_ARC_ARC700
  215. default n
  216. help
  217. Serial driver for nSIM ARC simulator.
  218. config ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART
  219. bool "Cadence serial driver"
  220. select ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
  221. depends on ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  222. default y if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  223. default n
  224. help
  225. Serial driver for Xilinx Zynq.
  226. config ADK_LINUX_KERNEL_SERIAL_IMX
  227. bool "IMX serial driver"
  228. select ADK_LINUX_KERNEL_SERIAL_IMX_CONSOLE
  229. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  230. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  231. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  232. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  233. default n
  234. help
  235. Serial driver for IMX6 chip.
  236. config ADK_LINUX_KERNEL_SERIAL_AMBA_PL011
  237. bool "AMBA PL011 serial driver"
  238. select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011_CONSOLE
  239. select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM
  240. select ADK_LINUX_KERNEL_SERIAL_8250
  241. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  242. depends on ADK_TARGET_BOARD_BCM28XX \
  243. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  244. || ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  245. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  246. default y if ADK_TARGET_BOARD_BCM28XX
  247. default y if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  248. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  249. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  250. default n
  251. help
  252. Serial driver for AMBA PL011 chip.
  253. config ADK_LINUX_KERNEL_SERIAL_SH_SCI
  254. bool "sci serial driver"
  255. select ADK_LINUX_KERNEL_SERIAL_SH_SCI_CONSOLE
  256. depends on ADK_TARGET_SYSTEM_SIM_H8300H \
  257. || ADK_TARGET_SYSTEM_SIM_H8S \
  258. || ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  259. default y if ADK_TARGET_SYSTEM_SIM_H8300H
  260. default y if ADK_TARGET_SYSTEM_SIM_H8S
  261. default y if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  262. default n
  263. help
  264. Serial driver for SCI chip.
  265. config ADK_LINUX_KERNEL_SERIAL_MCF
  266. bool "coldfire serial driver"
  267. select ADK_LINUX_KERNEL_SERIAL_MCF_CONSOLE
  268. depends on ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  269. default y if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  270. default n
  271. help
  272. Serial driver for Qemu coldfire.
  273. config ADK_LINUX_KERNEL_SERIAL_PMACZILOG
  274. bool "pmac serial driver"
  275. select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_TTYS
  276. select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_CONSOLE
  277. depends on ADK_TARGET_SYSTEM_QEMU_M68K_Q800 \
  278. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  279. default y if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
  280. default y if ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  281. default n
  282. help
  283. Serial driver for PMAC Q800 M68K and MACPPC.
  284. config ADK_LINUX_KERNEL_SERIAL_OMAP
  285. bool "omap serial driver"
  286. select ADK_LINUX_KERNEL_SERIAL_8250
  287. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  288. select ADK_LINUX_KERNEL_SERIAL_OMAP_CONSOLE
  289. depends on ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK \
  290. || ADK_TARGET_SYSTEM_PHYTEC_WEGA
  291. default y if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  292. default y if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  293. default n
  294. help
  295. Serial driver for TI OMAP Boards.
  296. config ADK_LINUX_KERNEL_SERIAL_UARTLITE
  297. bool "uartlite serial driver"
  298. select ADK_LINUX_KERNEL_SERIAL_UARTLITE_CONSOLE
  299. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  300. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  301. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  302. default y if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  303. default n
  304. help
  305. Serial driver for UART lite hardware.
  306. config ADK_LINUX_KERNEL_SERIAL_ATMEL
  307. bool "AT32 serial driver"
  308. select ADK_LINUX_KERNEL_SERIAL_ATMEL_CONSOLE
  309. select ADK_LINUX_KERNEL_SERIAL_ATMEL_PDC
  310. select ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART1 if ADK_TARGET_SYSTEM_GRASSHOPPER
  311. depends on ADK_TARGET_CPU_AVR32
  312. default y if ADK_TARGET_SYSTEM_GRASSHOPPER
  313. default n
  314. help
  315. Serial driver for AVR32 Grasshopper boards
  316. config ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART0
  317. bool "Enable USART0 on AVR32 Grasshopper boards"
  318. depends on ADK_LINUX_KERNEL_SERIAL_ATMEL && ADK_TARGET_SYSTEM_GRASSHOPPER
  319. default n
  320. help
  321. Enable second USART on Grasshoper boards
  322. config ADK_LINUX_KERNEL_SERIAL_MILKYMIST
  323. bool "Enable UART0 on Milkymist"
  324. select ADK_LINUX_KERNEL_SERIAL_MILKYMIST_CONSOLE
  325. depends on ADK_TARGET_SYSTEM_QEMU_LM32
  326. default y if ADK_TARGET_SYSTEM_QEMU_LM32
  327. default n
  328. help
  329. Enable second USART on Grasshoper boards
  330. endmenu