1# Copyright (c) 2018 Linaro Limited
2# SPDX-License-Identifier: Apache-2.0
3
4menuconfig UART_PL011
5	bool "ARM PL011 UART Driver"
6	default y
7	depends on DT_HAS_ARM_PL011_ENABLED || DT_HAS_ARM_SBSA_UART_ENABLED
8	select SERIAL_HAS_DRIVER
9	select SERIAL_SUPPORT_INTERRUPT
10	select PINCTRL if $(dt_compat_any_has_prop,$(DT_COMPAT_ARM_PL011),pinctrl-0)
11	help
12	  This option enables the UART driver for the PL011
13
14if UART_PL011
15
16config UART_PL011_SBSA
17	bool "SBSA UART"
18	default y if DT_HAS_ARM_SBSA_UART_ENABLED
19	help
20	  Enable SBSA mode for PL011 driver. SBSA stands for
21	  Server Based System Architecture. This specification
22	  among other things defines simplified UART interface
23	  which is subset of PL011 interface.
24
25endif # UART_PL011
26