serial: Add 16850 uart type support to OF uart driver
authorMatthias Fuchs <mfuchs@ma-fu.de>
Thu, 15 Jan 2009 09:43:35 +0000 (09:43 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Fri, 16 Jan 2009 05:15:17 +0000 (16:15 +1100)
This patch adds support for "ns16850" as supported value
of the compatible node in flat device tree uart descriptions.

This is needed for example when you have a XR16C2850 uart
connected to a PPC405's external bus controller.

Signed-off-by: Matthias Fuchs <mfuchs@ma-fu.de>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/serial/of_serial.c

index a821e3a3d664e93f18fa6dcb8e7e561ce4fc6076..14f8fa9135be49c664f64d80c9633bf1d405f85c 100644 (file)
@@ -163,6 +163,7 @@ static struct of_device_id __devinitdata of_platform_serial_table[] = {
        { .type = "serial", .compatible = "ns16450",  .data = (void *)PORT_16450, },
        { .type = "serial", .compatible = "ns16550",  .data = (void *)PORT_16550, },
        { .type = "serial", .compatible = "ns16750",  .data = (void *)PORT_16750, },
+       { .type = "serial", .compatible = "ns16850",  .data = (void *)PORT_16850, },
 #ifdef CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL
        { .type = "serial", .compatible = "ibm,qpace-nwp-serial",
                                        .data = (void *)PORT_NWPSERIAL, },