1 ## SPDX-License-Identifier: GPL-2.0-only
6 config DRIVERS_UART_8250IO
7 # FIXME: Shouldn't have a prompt, should default to n, and
8 # should be selected by boards that have it instead.
9 bool "Serial port on SuperIO"
10 depends on ARCH_X86 || ARCH_PPC64
11 default n if DRIVERS_UART_8250MEM || HAVE_UART_SPECIAL
12 default n if NO_UART_ON_SUPERIO
16 config DRIVERS_UART_8250IO_SKIP_INIT
18 depends on DRIVERS_UART_8250IO
20 # Select this for mainboard without SuperIO serial port.
21 config NO_UART_ON_SUPERIO
24 config UART_OVERRIDE_INPUT_CLOCK_DIVIDER
28 Set to "y" when the platform overrides the uart_input_clock_divider
31 config UART_OVERRIDE_REFCLK
35 Set to "y" when the platform overrides the uart_platform_refclk
38 config DRIVERS_UART_8250MEM
43 config DRIVERS_UART_8250MEM_32
46 select DRIVERS_UART_8250MEM
48 config HAVE_UART_SPECIAL
53 config DRIVERS_UART_OXPCIE
54 bool "Oxford OXPCIe952"
56 depends on PCI && !DRIVERS_UART_8250MEM_32
57 select DRIVERS_UART_8250MEM
58 select EARLY_PCI_BRIDGE
59 select UART_OVERRIDE_REFCLK
61 Support for Oxford OXPCIe952 serial port PCIe cards.
62 Currently only devices with the vendor ID 0x1415 and device ID
63 0xc158 or 0xc11b will work.
65 config DRIVERS_UART_PL011
68 select HAVE_UART_SPECIAL
70 config DRIVERS_UART_SIFIVE
72 select HAVE_UART_SPECIAL
73 select UART_OVERRIDE_INPUT_CLOCK_DIVIDER