Config.in.serial 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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_EXTENDED if ADK_TARGET_SYSTEM_VISIONFIVE2
  99. select ADK_LINUX_KERNEL_SERIAL_8250_DMA if ADK_TARGET_SYSTEM_ORANGE_PI0
  100. select ADK_LINUX_KERNEL_SERIAL_8250_INGENIC if ADK_TARGET_SYSTEM_IMGTEC_CI20
  101. select ADK_LINUX_KERNEL_SERIAL_8250_BCM2835AUX if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  102. select ADK_LINUX_KERNEL_SERIAL_8250_EXTENDED if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  103. select ADK_LINUX_KERNEL_SERIAL_8250_SHARE_IRQ if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  104. select ADK_LINUX_KERNEL_SERIAL_8250_BCM2835AUX if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  105. select ADK_LINUX_KERNEL_SERIAL_8250_EXTENDED if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  106. select ADK_LINUX_KERNEL_SERIAL_8250_SHARE_IRQ if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  107. depends on ADK_TARGET_SYSTEM_XILINX_KINTEX7 \
  108. || ADK_TARGET_SYSTEM_IMGTEC_CI20 \
  109. || ADK_TARGET_SYSTEM_LINKSYS_NSLU2 \
  110. || ADK_TARGET_SYSTEM_ANDES_AG101P \
  111. || ADK_TARGET_SYSTEM_PCENGINES_APU \
  112. || ADK_TARGET_SYSTEM_PCENGINES_ALIX \
  113. || ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605 \
  114. || ADK_TARGET_SYSTEM_QEMU_MIPS \
  115. || ADK_TARGET_SYSTEM_QEMU_MIPS64 \
  116. || ADK_TARGET_SYSTEM_QEMU_ALPHA \
  117. || ADK_TARGET_SYSTEM_QEMU_ARC \
  118. || ADK_TARGET_SYSTEM_QEMU_CSKY \
  119. || ADK_TARGET_SYSTEM_QEMU_HPPA \
  120. || ADK_TARGET_SYSTEM_QEMU_NIOS2 \
  121. || ADK_TARGET_SYSTEM_QEMU_OR1K \
  122. || ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO \
  123. || ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS \
  124. || ADK_TARGET_SYSTEM_QEMU_RISCV32 \
  125. || ADK_TARGET_SYSTEM_QEMU_RISCV64 \
  126. || ADK_TARGET_SYSTEM_QEMU_X86 \
  127. || ADK_TARGET_SYSTEM_QEMU_X86_64 \
  128. || ADK_TARGET_SYSTEM_QEMU_XTENSA \
  129. || ADK_TARGET_SYSTEM_GENERIC_NDS32 \
  130. || ADK_TARGET_SYSTEM_GENERIC_X86 \
  131. || ADK_TARGET_SYSTEM_GENERIC_X86_64 \
  132. || ADK_TARGET_SYSTEM_MIKROTIK_RB532 \
  133. || ADK_TARGET_SYSTEM_MIKROTIK_RB4XX \
  134. || ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG \
  135. || ADK_TARGET_SYSTEM_ORANGE_PI0 \
  136. || ADK_TARGET_SYSTEM_SYNOPSYS_HSDK \
  137. || ADK_TARGET_CPU_ARC_ARCHS \
  138. || ADK_TARGET_SYSTEM_SOM_C6745 \
  139. || ADK_TARGET_SYSTEM_RASPBERRY_PI4 \
  140. || ADK_TARGET_SYSTEM_RASPBERRY_PI4_64 \
  141. || ADK_TARGET_SYSTEM_ROCKPI4_PLUS \
  142. || ADK_TARGET_SYSTEM_STARFIVE_VISIONFIVE2
  143. default y if ADK_TARGET_SYSTEM_XILINX_KINTEX7
  144. default y if ADK_TARGET_SYSTEM_IMGTEC_CI20
  145. default y if ADK_TARGET_SYSTEM_LINKSYS_NSLU2
  146. default y if ADK_TARGET_SYSTEM_ANDES_AG101P
  147. default y if ADK_TARGET_SYSTEM_PCENGINES_APU
  148. default y if ADK_TARGET_SYSTEM_PCENGINES_ALIX
  149. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_ML605
  150. default y if ADK_TARGET_SYSTEM_QEMU_MIPS
  151. default y if ADK_TARGET_SYSTEM_QEMU_MIPS64
  152. default y if ADK_TARGET_SYSTEM_QEMU_ALPHA
  153. default y if ADK_TARGET_SYSTEM_QEMU_ARC
  154. default y if ADK_TARGET_SYSTEM_QEMU_CSKY
  155. default y if ADK_TARGET_SYSTEM_QEMU_HPPA
  156. default y if ADK_TARGET_SYSTEM_QEMU_NIOS2
  157. default y if ADK_TARGET_SYSTEM_QEMU_OR1K
  158. default y if ADK_TARGET_SYSTEM_QEMU_PPC_BAMBOO
  159. default y if ADK_TARGET_SYSTEM_QEMU_PPC_MPC8544DS
  160. default y if ADK_TARGET_SYSTEM_QEMU_RISCV32
  161. default y if ADK_TARGET_SYSTEM_QEMU_RISCV64
  162. default y if ADK_TARGET_SYSTEM_QEMU_X86
  163. default y if ADK_TARGET_SYSTEM_QEMU_X86_64
  164. default y if ADK_TARGET_SYSTEM_QEMU_XTENSA
  165. default y if ADK_TARGET_SYSTEM_GENERIC_NDS32
  166. default y if ADK_TARGET_SYSTEM_GENERIC_X86
  167. default y if ADK_TARGET_SYSTEM_GENERIC_X86_64
  168. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB532
  169. default y if ADK_TARGET_SYSTEM_MIKROTIK_RB4XX
  170. default y if ADK_TARGET_SYSTEM_SOLIDRUN_CLEARFOG
  171. default y if ADK_TARGET_SYSTEM_ORANGE_PI0
  172. default y if ADK_TARGET_SYSTEM_SYNOPSYS_HSDK
  173. default y if ADK_TARGET_CPU_ARC_ARCHS
  174. default y if ADK_TARGET_SYSTEM_SOM_C6745
  175. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4
  176. default y if ADK_TARGET_SYSTEM_RASPBERRY_PI4_64
  177. default y if ADK_TARGET_SYSTEM_ROCKPI4_PLUS
  178. default y if ADK_TARGET_SYSTEM_STARFIVE_VISIONFIVE2
  179. default n
  180. help
  181. Serial driver for 8250 UART chip.
  182. config ADK_LINUX_KERNEL_DA_TTY
  183. bool "METAG serial driver"
  184. select ADK_LINUX_KERNEL_DA_CONSOLE
  185. depends on ADK_TARGET_SYSTEM_QEMU_METAG
  186. default y if ADK_TARGET_SYSTEM_QEMU_METAG
  187. default n
  188. help
  189. Serial driver for Qemu METAG Emulation.
  190. config ADK_LINUX_KERNEL_SERIAL_SUNSU
  191. bool "Sun Sparc64 serial driver"
  192. select ADK_LINUX_KERNEL_SERIAL_SUNSU_CONSOLE
  193. select ADK_LINUX_KERNEL_SERIAL_SUNCORE
  194. depends on ADK_TARGET_SYSTEM_QEMU_SPARC64
  195. default y if ADK_TARGET_SYSTEM_QEMU_SPARC64
  196. default n
  197. help
  198. Serial driver for Sun SPARC64.
  199. config ADK_LINUX_KERNEL_SERIAL_ETRAXFS
  200. bool "ETRAXFS serial driver"
  201. select ADK_LINUX_KERNEL_SERIAL_ETRAXFS_CONSOLE
  202. depends on ADK_TARGET_SYSTEM_QEMU_CRIS
  203. default y if ADK_TARGET_SYSTEM_QEMU_CRIS
  204. default n
  205. help
  206. Serial driver for ETRAXFS CRISv32 Qemu Emulation.
  207. config ADK_LINUX_KERNEL_SERIAL_ARC
  208. bool "ARC serial driver"
  209. select ADK_LINUX_KERNEL_SERIAL_ARC_CONSOLE
  210. depends on ADK_TARGET_SYSTEM_SYNOPSYS_NSIM && ADK_TARGET_CPU_ARC_ARC700
  211. default y if ADK_TARGET_SYSTEM_SYNOPSYS_NSIM && ADK_TARGET_CPU_ARC_ARC700
  212. default n
  213. help
  214. Serial driver for nSIM ARC simulator.
  215. config ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART
  216. bool "Cadence serial driver"
  217. select ADK_LINUX_KERNEL_SERIAL_XILINX_PS_UART_CONSOLE
  218. depends on ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  219. default y if ADK_TARGET_SYSTEM_QEMU_ARM_XILINX_ZYNQ
  220. default n
  221. help
  222. Serial driver for Xilinx Zynq.
  223. config ADK_LINUX_KERNEL_SERIAL_IMX
  224. bool "IMX serial driver"
  225. select ADK_LINUX_KERNEL_SERIAL_IMX_CONSOLE
  226. depends on ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  227. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  228. default y if ADK_TARGET_SYSTEM_SOLIDRUN_IMX6 || \
  229. ADK_TARGET_SYSTEM_PHYTEC_IMX6
  230. default n
  231. help
  232. Serial driver for IMX6 chip.
  233. config ADK_LINUX_KERNEL_SERIAL_AMBA_PL011
  234. bool "AMBA PL011 serial driver"
  235. select ADK_LINUX_KERNEL_SERIAL_AMBA_PL011_CONSOLE
  236. select ADK_LINUX_KERNEL_SERIAL_OF_PLATFORM
  237. select ADK_LINUX_KERNEL_SERIAL_8250
  238. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  239. depends on ADK_TARGET_BOARD_BCM28XX \
  240. || ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE \
  241. || ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB \
  242. || ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  243. default y if ADK_TARGET_BOARD_BCM28XX
  244. default y if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
  245. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB
  246. default y if ADK_TARGET_SYSTEM_QEMU_ARM_VEXPRESS_A9
  247. default n
  248. help
  249. Serial driver for AMBA PL011 chip.
  250. config ADK_LINUX_KERNEL_SERIAL_SH_SCI
  251. bool "sci serial driver"
  252. select ADK_LINUX_KERNEL_SERIAL_SH_SCI_CONSOLE
  253. depends on ADK_TARGET_SYSTEM_SIM_H8300H \
  254. || ADK_TARGET_SYSTEM_SIM_H8S \
  255. || ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  256. default y if ADK_TARGET_SYSTEM_SIM_H8300H
  257. default y if ADK_TARGET_SYSTEM_SIM_H8S
  258. default y if ADK_TARGET_SYSTEM_HITACHI_EDOSK2674
  259. default n
  260. help
  261. Serial driver for SCI chip.
  262. config ADK_LINUX_KERNEL_SERIAL_MCF
  263. bool "coldfire serial driver"
  264. select ADK_LINUX_KERNEL_SERIAL_MCF_CONSOLE
  265. depends on ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  266. default y if ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
  267. default n
  268. help
  269. Serial driver for Qemu coldfire.
  270. config ADK_LINUX_KERNEL_SERIAL_PMACZILOG
  271. bool "pmac serial driver"
  272. select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_TTYS
  273. select ADK_LINUX_KERNEL_SERIAL_PMACZILOG_CONSOLE
  274. depends on ADK_TARGET_SYSTEM_QEMU_M68K_Q800 \
  275. || ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  276. default y if ADK_TARGET_SYSTEM_QEMU_M68K_Q800
  277. default y if ADK_TARGET_SYSTEM_QEMU_PPC_MACPPC
  278. default n
  279. help
  280. Serial driver for PMAC Q800 M68K and MACPPC.
  281. config ADK_LINUX_KERNEL_SERIAL_OMAP
  282. bool "omap serial driver"
  283. select ADK_LINUX_KERNEL_SERIAL_8250
  284. select ADK_LINUX_KERNEL_SERIAL_8250_CONSOLE
  285. select ADK_LINUX_KERNEL_SERIAL_OMAP_CONSOLE
  286. depends on ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK \
  287. || ADK_TARGET_SYSTEM_PHYTEC_WEGA
  288. default y if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
  289. default y if ADK_TARGET_SYSTEM_PHYTEC_WEGA
  290. default n
  291. help
  292. Serial driver for TI OMAP Boards.
  293. config ADK_LINUX_KERNEL_SERIAL_UARTLITE
  294. bool "uartlite serial driver"
  295. select ADK_LINUX_KERNEL_SERIAL_UARTLITE_CONSOLE
  296. depends on ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800 \
  297. || ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  298. default y if ADK_TARGET_SYSTEM_QEMU_MICROBLAZE_S3ADSP1800
  299. default y if ADK_TARGET_SYSTEM_NUMATO_MIMASV2
  300. default n
  301. help
  302. Serial driver for UART lite hardware.
  303. config ADK_LINUX_KERNEL_SERIAL_ATMEL
  304. bool "AT32 serial driver"
  305. select ADK_LINUX_KERNEL_SERIAL_ATMEL_CONSOLE
  306. select ADK_LINUX_KERNEL_SERIAL_ATMEL_PDC
  307. select ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART1 if ADK_TARGET_SYSTEM_GRASSHOPPER
  308. depends on ADK_TARGET_CPU_AVR32
  309. default y if ADK_TARGET_SYSTEM_GRASSHOPPER
  310. default n
  311. help
  312. Serial driver for AVR32 Grasshopper boards
  313. config ADK_LINUX_KERNEL_BOARD_GRASSHOPPER_USART0
  314. bool "Enable USART0 on AVR32 Grasshopper boards"
  315. depends on ADK_LINUX_KERNEL_SERIAL_ATMEL && ADK_TARGET_SYSTEM_GRASSHOPPER
  316. default n
  317. help
  318. Enable second USART on Grasshoper boards
  319. config ADK_LINUX_KERNEL_SERIAL_MILKYMIST
  320. bool "Enable UART0 on Milkymist"
  321. select ADK_LINUX_KERNEL_SERIAL_MILKYMIST_CONSOLE
  322. depends on ADK_TARGET_SYSTEM_QEMU_LM32
  323. default y if ADK_TARGET_SYSTEM_QEMU_LM32
  324. default n
  325. help
  326. Enable second USART on Grasshoper boards
  327. endmenu