From patchwork Sat Feb 16 11:38:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anil Kumar X-Patchwork-Id: 2151601 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 58BA5DF2A1 for ; Sat, 16 Feb 2013 11:41:42 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U6g6i-0001hE-64; Sat, 16 Feb 2013 11:39:04 +0000 Received: from mail-pa0-f54.google.com ([209.85.220.54]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U6g6R-0001fC-Px for linux-arm-kernel@lists.infradead.org; Sat, 16 Feb 2013 11:38:48 +0000 Received: by mail-pa0-f54.google.com with SMTP id fa10so2111859pad.27 for ; Sat, 16 Feb 2013 03:38:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=7Ke5hpEBIQKKHx+dXWmlJ2lT295LPYyEFa56RasMtKU=; b=WAUZziTsqoxlshsNOR8scb2t1kV5MLOrXqcTgDcs3J9+NLNmmok1uIoxumaDU7+Gxq 6Iz3J5L/i4FZKCc5DcGa8rUazbXVuGKOIS9SeD0x4Ity7QsuMYXJe1YAwOTuymB6k+/k Fcyggg1EIciJUCZezWdBVpbkysWPZJ4im2l+E0q1IMUJMzZ3RgwwDJPc/xRemRn4DFU/ HDN4J/9rtghX+rxjeMaakj/+ucKGqO6UboxiI8JJB34Vf7SHKHwxJqfpOrlX86Yh34gP jI3C5eLinTFEmWK24mq78sSyEAh9dEffKJDFRc2TmNUgGVOfqVEnDzXpugMMkJ8Fq+uC dukg== X-Received: by 10.69.3.161 with SMTP id bx1mr13991064pbd.0.1361014726467; Sat, 16 Feb 2013 03:38:46 -0800 (PST) Received: from localhost.localdomain ([123.237.222.239]) by mx.google.com with ESMTPS id tm1sm7822297pbc.11.2013.02.16.03.38.41 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 16 Feb 2013 03:38:45 -0800 (PST) From: Anil Kumar To: devicetree-discuss@lists.ozlabs.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] ARM: dts: omap3-devkit8000: add nand dt node Date: Sat, 16 Feb 2013 17:08:28 +0530 Message-Id: <1361014708-1659-3-git-send-email-anilk4.v@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1361014708-1659-1-git-send-email-anilk4.v@gmail.com> References: <1361014708-1659-1-git-send-email-anilk4.v@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130216_063847_981256_16E5C1C0 X-CRM114-Status: GOOD ( 10.36 ) X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.3 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.54 listed in list.dnswl.org] 3.0 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (anilk4.v[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux@arm.linux.org.uk, b-cousson@ti.com, tony@atomide.com, zonque@gmail.com, grant.likely@secretlab.ca, anilk4.v@gmail.com, thomas@tomweber.eu X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add the needed sections to enable nand support on Devkit8000. Add nand partitions information. Signed-off-by: Anil Kumar --- :100644 100644 6338993... 6c6decf... M arch/arm/boot/dts/omap3-devkit8000.dts arch/arm/boot/dts/omap3-devkit8000.dts | 52 ++++++++++++++++++++++++++++++++ 1 files changed, 52 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap3-devkit8000.dts b/arch/arm/boot/dts/omap3-devkit8000.dts index 6338993..6c6decf 100644 --- a/arch/arm/boot/dts/omap3-devkit8000.dts +++ b/arch/arm/boot/dts/omap3-devkit8000.dts @@ -101,3 +101,55 @@ &mcbsp5 { status = "disabled"; }; + +&gpmc { + ranges = <0 0 0x30000000 0x04>; /* CS0: NAND */ + + nand@0,0 { + reg = <0 0 0>; /* CS0, offset 0 */ + nand-bus-width = <16>; + + gpmc,sync-clk = <0>; + gpmc,cs-on = <0>; + gpmc,cs-rd-off = <44>; + gpmc,cs-wr-off = <44>; + gpmc,adv-on = <6>; + gpmc,adv-rd-off = <34>; + gpmc,adv-wr-off = <44>; + gpmc,we-off = <40>; + gpmc,oe-off = <54>; + gpmc,access = <64>; + gpmc,rd-cycle = <82>; + gpmc,wr-cycle = <82>; + gpmc,wr-access = <40>; + gpmc,wr-data-mux-bus = <0>; + + #address-cells = <1>; + #size-cells = <1>; + + x-loader@0 { + label = "X-Loader"; + reg = <0 0x80000>; + }; + + bootloaders@80000 { + label = "U-Boot"; + reg = <0x80000 0x1e0000>; + }; + + bootloaders_env@260000 { + label = "U-Boot Env"; + reg = <0x260000 0x20000>; + }; + + kernel@280000 { + label = "Kernel"; + reg = <0x280000 0x400000>; + }; + + filesystem@680000 { + label = "File System"; + reg = <0x680000 0xf980000>; + }; + }; +};