From patchwork Mon Jun 7 14:27:38 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: 104775 Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o57ETXE8009150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 7 Jun 2010 14:30:10 GMT Received: from dlep35.itg.ti.com ([157.170.170.118]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id o57ERkq1011623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Jun 2010 09:27:46 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by dlep35.itg.ti.com (8.13.7/8.13.7) with ESMTP id o57ERklP011777; Mon, 7 Jun 2010 09:27:46 -0500 (CDT) Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id CA3D880627; Mon, 7 Jun 2010 09:27:45 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id AA5D180626 for ; Mon, 7 Jun 2010 09:27:43 -0500 (CDT) Received: from neches.ext.ti.com (localhost [127.0.0.1]) by dflp52.itg.ti.com (8.13.7/8.13.7) with ESMTP id o57ERh2K027021 for ; Mon, 7 Jun 2010 09:27:43 -0500 (CDT) Received: from psmtp.com (na3sys009amx181.postini.com [74.125.149.162]) by neches.ext.ti.com (8.13.7/8.13.7) with SMTP id o57ERgs5032490 for ; Mon, 7 Jun 2010 09:27:42 -0500 Received: from source ([80.156.24.166]) by na3sys009amx181.postini.com ([74.125.148.10]) with SMTP; Mon, 07 Jun 2010 07:27:42 PDT Received: from unknown (HELO AHR075S.basler.corp) ([172.16.20.75]) by mail01-out.baslerweb.com with ESMTP; 07 Jun 2010 16:27:15 +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:27:41 +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:27:38 +0200 Message-Id: <1275920858-24843-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:27:41.0676 (UTC) FILETIME=[967612C0:01CB064D] 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:30:10 +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,