]> git.karo-electronics.de Git - linux-beck.git/commitdiff
davinci: DM365: fixed second serial port
authorThomas Koeller <thomas.koeller@baslerweb.com>
Tue, 22 Jun 2010 12:08:12 +0000 (14:08 +0200)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 5 Aug 2010 16:58:22 +0000 (09:58 -0700)
The register base address for the second serial port (UART1) was
wrong.

Signed-off-by: Thomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/dm365.c

index a146849d78f0f48ef935d47a8c2765d65c076f03..652f4b6ee1cda27aff35513c6035e03f78476357 100644 (file)
@@ -1020,6 +1020,8 @@ static struct davinci_timer_info dm365_timer_info = {
        .clocksource_id = T0_TOP,
 };
 
+#define DM365_UART1_BASE       (IO_PHYS + 0x106000)
+
 static struct plat_serial8250_port dm365_serial_platform_data[] = {
        {
                .mapbase        = DAVINCI_UART0_BASE,
@@ -1030,7 +1032,7 @@ static struct plat_serial8250_port dm365_serial_platform_data[] = {
                .regshift       = 2,
        },
        {
-               .mapbase        = DAVINCI_UART1_BASE,
+               .mapbase        = DM365_UART1_BASE,
                .irq            = IRQ_UARTINT1,
                .flags          = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
                                  UPF_IOREMAP,