1 --- a/drivers/tty/serial/Kconfig
2 +++ b/drivers/tty/serial/Kconfig
3 @@ -1612,4 +1612,27 @@ config SERIAL_MXS_AUART_CONSOLE
5 Enable a MXS AUART port to be the system console.
8 + bool "AR933X serial port support"
9 + depends on SOC_AR933X
12 + If you have an Atheros AR933X SOC based board and want to use the
13 + built-in UART of the SoC, say Y to this option.
15 +config SERIAL_AR933X_CONSOLE
16 + bool "Console on AR933X serial port"
17 + depends on SERIAL_AR933X=y
18 + select SERIAL_CORE_CONSOLE
20 + Enable a built-in UART port of the AR933X to be the system console.
22 +config SERIAL_AR933X_NR_UARTS
23 + int "Maximum number of AR933X serial ports"
24 + depends on SERIAL_AR933X
27 + Set this to the number of serial ports you want the driver
31 --- a/drivers/tty/serial/Makefile
32 +++ b/drivers/tty/serial/Makefile
33 @@ -94,3 +94,4 @@ obj-$(CONFIG_SERIAL_IFX6X60) += ifx6x6
34 obj-$(CONFIG_SERIAL_PCH_UART) += pch_uart.o
35 obj-$(CONFIG_SERIAL_MSM_SMD) += msm_smd_tty.o
36 obj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
37 +obj-$(CONFIG_SERIAL_AR933X) += ar933x_uart.o
38 --- a/include/linux/serial_core.h
39 +++ b/include/linux/serial_core.h
42 #define PORT_VT8500 97
44 +/* Atheros AR933X SoC */
45 +#define PORT_AR933X 99
50 #include <linux/compiler.h>