From patchwork Thu Aug 11 05:50:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joel Fernandes X-Patchwork-Id: 109539 X-Patchwork-Delegate: s-paulraj@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 394F8B6F70 for ; Thu, 11 Aug 2011 15:50:46 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 25912281A6; Thu, 11 Aug 2011 07:50:43 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GtEZYio0QCzW; Thu, 11 Aug 2011 07:50:42 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id CF331281A9; Thu, 11 Aug 2011 07:50:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0D8DB281A9 for ; Thu, 11 Aug 2011 07:50:39 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CEvmp8-To0Tk for ; Thu, 11 Aug 2011 07:50:38 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from mail-yw0-f44.google.com (mail-yw0-f44.google.com [209.85.213.44]) by theia.denx.de (Postfix) with ESMTPS id 1B77B281A6 for ; Thu, 11 Aug 2011 07:50:36 +0200 (CEST) Received: by ywm21 with SMTP id 21so1088121ywm.3 for ; Wed, 10 Aug 2011 22:50:35 -0700 (PDT) Received: by 10.150.16.41 with SMTP id 41mr200998ybp.104.1313041835260; Wed, 10 Aug 2011 22:50:35 -0700 (PDT) Received: from localhost.localdomain (cpe-76-184-244-226.tx.res.rr.com [76.184.244.226]) by mx.google.com with ESMTPS id f4sm1900305yhn.41.2011.08.10.22.50.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Aug 2011 22:50:34 -0700 (PDT) From: Joel A Fernandes To: u-boot@lists.denx.de Date: Thu, 11 Aug 2011 00:50:01 -0500 Message-Id: <1313041801-2734-1-git-send-email-agnel.joel@gmail.com> X-Mailer: git-send-email 1.7.1 Cc: Koen Kooi , jdk@ti.com, k-kooi@ti.com Subject: [U-Boot] [PATCH] beagleboard: add support for xM revision C X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Koen Kooi Signed-off-by: Koen Kooi Signed-off-by: Joel A Fernandes Acked-by: Jason Kridner --- board/ti/beagle/beagle.c | 10 ++++++++++ board/ti/beagle/beagle.h | 1 + 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c index 15d061a..7768901 100644 --- a/board/ti/beagle/beagle.c +++ b/board/ti/beagle/beagle.c @@ -216,6 +216,16 @@ int misc_init_r(void) TWL4030_PM_RECEIVER_VAUX2_DEV_GRP, TWL4030_PM_RECEIVER_DEV_GRP_P1); break; + case REVISION_XM_C: + printf("Beagle xM Rev C\n"); + setenv("beaglerev", "xMC"); + MUX_BEAGLE_XM(); + /* Set VAUX2 to 1.8V for EHCI PHY */ + twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX2_DEDICATED, + TWL4030_PM_RECEIVER_VAUX2_VSEL_18, + TWL4030_PM_RECEIVER_VAUX2_DEV_GRP, + TWL4030_PM_RECEIVER_DEV_GRP_P1); + break; default: printf("Beagle unknown 0x%02x\n", get_board_revision()); MUX_BEAGLE_XM(); diff --git a/board/ti/beagle/beagle.h b/board/ti/beagle/beagle.h index a7401b1..04247cd 100644 --- a/board/ti/beagle/beagle.h +++ b/board/ti/beagle/beagle.h @@ -39,6 +39,7 @@ const omap3_sysinfo sysinfo = { #define REVISION_C4 0x5 #define REVISION_XM_A 0x0 #define REVISION_XM_B 0x1 +#define REVISION_XM_C 0x2 /* * IEN - Input Enable