Config.in.serial 12 KB

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