aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/dm365.c
diff options
context:
space:
mode:
authorThomas Koeller <thomas.koeller@baslerweb.com>2010-06-22 08:08:12 -0400
committerKevin Hilman <khilman@deeprootsystems.com>2010-08-05 12:58:22 -0400
commita2767b41eee1267db73f405634376a1802cbe3ad (patch)
tree5389bd4a970f3e4e8840f4e79a8c037f0fc4b21b /arch/arm/mach-davinci/dm365.c
parent57a58a2e4407859932c72fd9f57f89eff330d77a (diff)
davinci: DM365: fixed second serial port
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>
Diffstat (limited to 'arch/arm/mach-davinci/dm365.c')
-rw-r--r--arch/arm/mach-davinci/dm365.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index a146849d78f0..652f4b6ee1cd 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -1020,6 +1020,8 @@ static struct davinci_timer_info dm365_timer_info = {
1020 .clocksource_id = T0_TOP, 1020 .clocksource_id = T0_TOP,
1021}; 1021};
1022 1022
1023#define DM365_UART1_BASE (IO_PHYS + 0x106000)
1024
1023static struct plat_serial8250_port dm365_serial_platform_data[] = { 1025static struct plat_serial8250_port dm365_serial_platform_data[] = {
1024 { 1026 {
1025 .mapbase = DAVINCI_UART0_BASE, 1027 .mapbase = DAVINCI_UART0_BASE,
@@ -1030,7 +1032,7 @@ static struct plat_serial8250_port dm365_serial_platform_data[] = {
1030 .regshift = 2, 1032 .regshift = 2,
1031 }, 1033 },
1032 { 1034 {
1033 .mapbase = DAVINCI_UART1_BASE, 1035 .mapbase = DM365_UART1_BASE,
1034 .irq = IRQ_UARTINT1, 1036 .irq = IRQ_UARTINT1,
1035 .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST | 1037 .flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
1036 UPF_IOREMAP, 1038 UPF_IOREMAP,