Config.in.serial 12 KB

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