summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorRoland Stigge <stigge@antcom.de>2012-06-11 21:57:14 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-26 22:37:02 +0200
commited85c60457a8e6bfe4604f8d3d343e70e30aaa3e (patch)
tree815ca1904fdf827c727983d5ecc10d0ea8adfd36 /drivers/tty
parentserial/8250: Add LPC3220 standard UART type (diff)
downloadlinux-ed85c60457a8e6bfe4604f8d3d343e70e30aaa3e.tar.xz
linux-ed85c60457a8e6bfe4604f8d3d343e70e30aaa3e.zip
serial/of-serial: Add LPC3220 standard UART compatible string
This patch adds a "compatible" string for the new 8250 UART type PORT_LPC3220. This is necessary for initializing LPC32xx UARTs via DT. Signed-off-by: Roland Stigge <stigge@antcom.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/of_serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c
index 5410c0637266..34e71874a892 100644
--- a/drivers/tty/serial/of_serial.c
+++ b/drivers/tty/serial/of_serial.c
@@ -208,6 +208,7 @@ static struct of_device_id __devinitdata of_platform_serial_table[] = {
{ .compatible = "ns16750", .data = (void *)PORT_16750, },
{ .compatible = "ns16850", .data = (void *)PORT_16850, },
{ .compatible = "nvidia,tegra20-uart", .data = (void *)PORT_TEGRA, },
+ { .compatible = "nxp,lpc3220-uart", .data = (void *)PORT_LPC3220, },
#ifdef CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL
{ .compatible = "ibm,qpace-nwp-serial",
.data = (void *)PORT_NWPSERIAL, },