blob: 54f591d9adc79f1141454a70174738b9c51e9c4c [file] [log] [blame]
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +02001config DRIVERS_UART
Kyösti Mälkki970ad702014-02-15 13:58:01 +02002 bool
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +02003 default y if CONSOLE_SERIAL
4 default n
5
6config DRIVERS_UART_8250IO
7 bool "Serial port on SuperIO"
Gabe Black51edd542013-09-30 23:00:33 -07008 depends on !ARCH_ARM
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +02009 default n if NO_UART_ON_SUPERIO
Kyösti Mälkki970ad702014-02-15 13:58:01 +020010 default y if ARCH_X86
11
Nico Huberbc97b4e2016-09-28 22:15:07 +020012config DRIVERS_UART_8250IO_SKIP_INIT
13 def_bool n
14 depends on DRIVERS_UART_8250IO
15
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +020016# Select this for mainboard without SuperIO serial port.
17config NO_UART_ON_SUPERIO
18 def_bool n
19
Lee Leahy14876212016-05-04 13:13:20 -070020config UART_OVERRIDE_INPUT_CLOCK_DIVIDER
21 boolean
22 default n
23 help
24 Set to "y" when the platform overrides the uart_input_clock_divider
25 routine.
26
Lee Leahy6ec72c92016-05-07 09:04:46 -070027config UART_OVERRIDE_REFCLK
28 boolean
29 default n
30 help
31 Set to "y" when the platform overrides the uart_platform_refclk
32 routine.
33
Kyösti Mälkkiafa7b132014-02-13 17:16:22 +020034config DRIVERS_UART_8250MEM
Kyösti Mälkki970ad702014-02-15 13:58:01 +020035 bool
36 default n
37
Naveen Krishna Chatradhia73408d2015-07-08 14:23:06 +053038config DRIVERS_UART_8250MEM_32
39 bool
40 default n
Alexandru Gagniuc715a18e2015-10-02 17:01:22 -070041 select DRIVERS_UART_8250MEM
Naveen Krishna Chatradhia73408d2015-07-08 14:23:06 +053042
Kyösti Mälkki970ad702014-02-15 13:58:01 +020043config HAVE_UART_SPECIAL
44 bool
45 default n
46
Kyösti Mälkkid53d96d2014-02-28 15:15:12 +020047config DRIVERS_UART_OXPCIE
48 bool "Oxford OXPCIe952"
49 default n
Martin Roth643236e2016-12-18 11:02:56 -070050 depends on PCI && !DRIVERS_UART_8250MEM_32
Kyösti Mälkkid53d96d2014-02-28 15:15:12 +020051 select DRIVERS_UART_8250MEM
52 select EARLY_PCI_BRIDGE
Lee Leahy6ec72c92016-05-07 09:04:46 -070053 select UART_OVERRIDE_REFCLK
Kyösti Mälkkid53d96d2014-02-28 15:15:12 +020054 help
55 Support for Oxford OXPCIe952 serial port PCIe cards.
56 Currently only devices with the vendor ID 0x1415 and device ID
57 0xc158 or 0xc11b will work.
58
Kyösti Mälkki7e75f202014-02-10 23:21:14 +020059config DRIVERS_UART_PL011
60 bool
61 default n
62 select HAVE_UART_SPECIAL
Lee Leahyf92a98c2016-05-04 11:59:19 -070063
64config UART_USE_REFCLK_AS_INPUT_CLOCK
65 bool
66 default n
67 help
68 Use uart_platform_refclk to specify the input clock value.
69
70config UART_PCI_ADDR
71 hex "UART's PCI bus, device, function address"
Martin Roth311fb692016-09-29 14:46:24 -060072 default 0x0
Lee Leahyf92a98c2016-05-04 11:59:19 -070073 help
74 Specify zero if the UART is connected to another bus type.
75 For PCI based UARTs, build the value as:
76 * 1 << 31 - Valid bit, PCI UART in use
77 * Bus << 20
78 * Device << 15
79 * Function << 12