From patchwork Mon Jun 7 14:22:37 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: thomas.koeller@baslerweb.com X-Patchwork-Id: 104773 Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o57EOjhU007959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 7 Jun 2010 14:25:21 GMT Received: from dlep36.itg.ti.com ([157.170.170.91]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o57EMoxw008933 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Jun 2010 09:22:50 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id o57EMnAJ012040; Mon, 7 Jun 2010 09:22:50 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id B15EE80627; Mon, 7 Jun 2010 09:22:49 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 8A24580626 for ; Mon, 7 Jun 2010 09:22:47 -0500 (CDT) Received: from red.ext.ti.com (localhost [127.0.0.1]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id o57EMlJM021737 for ; Mon, 7 Jun 2010 09:22:47 -0500 (CDT) Received: from psmtp.com (na3sys009amx238.postini.com [74.125.149.122]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id o57EMkIV009460 for ; Mon, 7 Jun 2010 09:22:46 -0500 Received: from source ([80.156.24.166]) by na3sys009amx238.postini.com ([74.125.148.10]) with SMTP; Mon, 07 Jun 2010 07:22:46 PDT Received: from unknown (HELO AHR075S.basler.corp) ([172.16.20.75]) by mail01-out.baslerweb.com with ESMTP; 07 Jun 2010 16:22:17 +0200 Received: from rd-ipcam.basler.corp ([172.16.13.131]) by AHR075S.basler.corp with Microsoft SMTPSVC(6.0.3790.4675); Mon, 7 Jun 2010 16:22:43 +0200 From: thomas.koeller@baslerweb.com To: davinci-linux-open-source@linux.davincidsp.com, nsekhar@ti.com Subject: [PATCH] DM365: fixed second serial port Date: Mon, 7 Jun 2010 16:22:37 +0200 Message-Id: <1275920557-18324-1-git-send-email-thomas.koeller@baslerweb.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: References: X-OriginalArrivalTime: 07 Jun 2010 14:22:43.0464 (UTC) FILETIME=[E4B68880:01CB064C] X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:99.90000/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-settings: 2 (0.5000:0.5000) s cv gt3 gt2 gt1 r p m c X-pstn-addresses: from [db-null] X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: davinci-linux-open-source-bounces@linux.davincidsp.com Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com X-Greylist: Sender succeeded STARTTLS authentication, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 07 Jun 2010 14:25:21 +0000 (UTC) diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c index a146849..cf08950 100644 --- a/arch/arm/mach-davinci/dm365.c +++ b/arch/arm/mach-davinci/dm365.c @@ -41,6 +41,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, @@ -1020,6 +1023,9 @@ static struct davinci_timer_info dm365_timer_info = { .clocksource_id = T0_TOP, }; +#undef DAVINCI_UART1_BASE /* Value in serial.h is wrong for DM365 */ +#define DAVINCI_UART1_BASE (IO_PHYS + 0x106000) + static struct plat_serial8250_port dm365_serial_platform_data[] = { { .mapbase = DAVINCI_UART0_BASE,