diff options
-rw-r--r-- | drivers/tty/serial/8250/8250.c | 8 | ||||
-rw-r--r-- | include/linux/serial_core.h | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c index 6e1958a325bd..8123f784bcda 100644 --- a/drivers/tty/serial/8250/8250.c +++ b/drivers/tty/serial/8250/8250.c | |||
@@ -282,6 +282,14 @@ static const struct serial8250_config uart_config[] = { | |||
282 | .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10, | 282 | .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_10, |
283 | .flags = UART_CAP_FIFO | UART_CAP_AFE | UART_CAP_EFR, | 283 | .flags = UART_CAP_FIFO | UART_CAP_AFE | UART_CAP_EFR, |
284 | }, | 284 | }, |
285 | [PORT_LPC3220] = { | ||
286 | .name = "LPC3220", | ||
287 | .fifo_size = 64, | ||
288 | .tx_loadsz = 32, | ||
289 | .fcr = UART_FCR_DMA_SELECT | UART_FCR_ENABLE_FIFO | | ||
290 | UART_FCR_R_TRIG_00 | UART_FCR_T_TRIG_00, | ||
291 | .flags = UART_CAP_FIFO, | ||
292 | }, | ||
285 | }; | 293 | }; |
286 | 294 | ||
287 | /* Uart divisor latch read */ | 295 | /* Uart divisor latch read */ |
diff --git a/include/linux/serial_core.h b/include/linux/serial_core.h index 65db9928e15f..0253c2022e53 100644 --- a/include/linux/serial_core.h +++ b/include/linux/serial_core.h | |||
@@ -47,7 +47,8 @@ | |||
47 | #define PORT_U6_16550A 19 /* ST-Ericsson U6xxx internal UART */ | 47 | #define PORT_U6_16550A 19 /* ST-Ericsson U6xxx internal UART */ |
48 | #define PORT_TEGRA 20 /* NVIDIA Tegra internal UART */ | 48 | #define PORT_TEGRA 20 /* NVIDIA Tegra internal UART */ |
49 | #define PORT_XR17D15X 21 /* Exar XR17D15x UART */ | 49 | #define PORT_XR17D15X 21 /* Exar XR17D15x UART */ |
50 | #define PORT_MAX_8250 21 /* max port ID */ | 50 | #define PORT_LPC3220 22 /* NXP LPC32xx SoC "Standard" UART */ |
51 | #define PORT_MAX_8250 22 /* max port ID */ | ||
51 | 52 | ||
52 | /* | 53 | /* |
53 | * ARM specific type numbers. These are not currently guaranteed | 54 | * ARM specific type numbers. These are not currently guaranteed |