Raffaele Recalcati wrote:
From: Davide Bonfanti <[email protected]
<mailto:[email protected]>>
Date: Fri, 4 Jun 2010 14:05:35 +0200
Subject: [PATCH 07/12] davinci: dm365: Fix UART0,1 register addresses
But UART0 base address is correct.
Signed-off-by: Raffaele Recalcati <[email protected]
<mailto:[email protected]>>
[...]
diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index 42fd4a4..e4ead0a 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -1024,7 +1024,7 @@ static struct davinci_timer_info dm365_timer_info = {
static struct plat_serial8250_port dm365_serial_platform_data[] = {
{
- .mapbase = DAVINCI_UART0_BASE,
+ .mapbase = DM365_UART0_BASE,
Email client has converted tabs to spaces.
.irq = IRQ_UARTINT0,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
UPF_IOREMAP,
@@ -1032,7 +1032,7 @@ static struct plat_serial8250_port
dm365_serial_platform_data[] = {
Line-wrapped patch.
.regshift = 2,
},
{
- .mapbase = DAVINCI_UART1_BASE,
+ .mapbase = DM365_UART1_BASE,
.irq = IRQ_UARTINT1,
.flags = UPF_BOOT_AUTOCONF | UPF_SKIP_TEST |
UPF_IOREMAP,
diff --git a/arch/arm/mach-davinci/include/mach/serial.h
b/arch/arm/mach-davinci/include/mach/serial.h
index f6c4f34..ba8f230 100644
--- a/arch/arm/mach-davinci/include/mach/serial.h
+++ b/arch/arm/mach-davinci/include/mach/serial.h
@@ -17,6 +17,9 @@
#define DAVINCI_UART1_BASE (IO_PHYS + 0x20400)
#define DAVINCI_UART2_BASE (IO_PHYS + 0x20800)
+#define DM365_UART0_BASE 0x01C20000
+#define DM365_UART1_BASE 0x01D06000
+
Other base addresses here are expressed via IO_PHYS...
WBR, Sergei
PS: There is analogous patch by Thomas Koeller already.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source