From: Thomas Koeller <[email protected]>

The register base address for the second serial port (UART1) was
wrong.

Patch is against 'arago' tree.

Signed-off-by: Thomas Koeller <[email protected]>
---
 arch/arm/mach-davinci/dm365.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index 5645b4a..ffcf0c8 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -44,6 +44,9 @@
 
 #define DM365_REF_FREQ         24000000        /* 24 MHz on the DM365 EVM */
 
+#undef DAVINCI_UART1_BASE      /* Value in serial.h is wrong for DM365 */
+#define DAVINCI_UART1_BASE     (IO_PHYS + 0x106000)
+
 static struct pll_data pll1_data = {
        .num            = 1,
        .phys_base      = DAVINCI_PLL1_BASE,
-- 
1.7.1

_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to