From patchwork Thu Mar 13 19:39:01 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ezequiel Garcia X-Patchwork-Id: 3828381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 80B779F369 for ; Thu, 13 Mar 2014 20:10:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B78DE201F4 for ; Thu, 13 Mar 2014 20:10:09 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8D853201E4 for ; Thu, 13 Mar 2014 20:10:08 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBVi-00017P-D2; Thu, 13 Mar 2014 19:41:47 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBV4-0004xQ-EV; Thu, 13 Mar 2014 19:41:06 +0000 Received: from mail-yk0-f175.google.com ([209.85.160.175]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WOBU0-0004np-3L for linux-arm-kernel@lists.infradead.org; Thu, 13 Mar 2014 19:40:04 +0000 Received: by mail-yk0-f175.google.com with SMTP id 131so3966630ykp.6 for ; Thu, 13 Mar 2014 12:39:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=wxGLlep9Yi6Of75z+WK+02quTGO04NrSchKxZk2eyPU=; b=MSeP3nglmCViVN7Fq+0+3oxduTy8yur3pJffovvaNNfJ0p9kK9LhMdYGbLdZZNZwVj KM9g6Z40Oo2oPw+E6HNohqo/Nqi3wueIrHX6ovE9JEFh5n/8IYDrEkVw+tYCzcdzS3dr eMh63DJjo49iE20mDwDqRagYbVmtot/n0fKuEyfIcZIqOabUKbplIxQE21xoK1DDy5pv NM+7YjFwQE0yAAtRXei4sFJuMS5cxAO6EcR4d9ZMana+E07eewx9Tbuy7O8Byxy1g1lA p+vYYn6SsAarFbZaU6rNUbhoa8CgwPxrUgSOgfMmxBgNFlq02c2LtwJOPEOxAXRh7qA/ UCpg== X-Gm-Message-State: ALoCoQk3sqmFlkMwnDxG4abRk4K4uWEhr/gslfVtuuOnaSZu7QpTuNz2KGsW8r25a7gGbUVOnber X-Received: by 10.236.7.47 with SMTP id 35mr4747360yho.23.1394739579060; Thu, 13 Mar 2014 12:39:39 -0700 (PDT) Received: from localhost.localdomain ([190.2.108.104]) by mx.google.com with ESMTPSA id t58sm8806635yho.20.2014.03.13.12.39.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Mar 2014 12:39:38 -0700 (PDT) From: Ezequiel Garcia To: Mike Turquette , Jason Cooper , , , Subject: [PATCH v2 5/6] ARM: mvebu: Enable NAND controller in Armada 385-DB Date: Thu, 13 Mar 2014 16:39:01 -0300 Message-Id: <1394739542-30017-6-git-send-email-ezequiel@vanguardiasur.com.ar> X-Mailer: git-send-email 1.9.0 In-Reply-To: <1394739542-30017-1-git-send-email-ezequiel@vanguardiasur.com.ar> References: <1394739542-30017-1-git-send-email-ezequiel@vanguardiasur.com.ar> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140313_154000_368312_D36840A4 X-CRM114-Status: UNSURE ( 7.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.6 (--) Cc: Lior Amsalem , Thomas Petazzoni , sergei.shtylyov@cogentembedded.com, Tawfik Bayouk , Andrew Lunn , Seif Mazareeb , Ezequiel Garcia , Gregory Clement , Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Ezequiel Garcia The Armada 385-DB board has a NAND flash, so enable it in the devicetree and add the partitions as prepared in the factory images. Signed-off-by: Ezequiel Garcia --- arch/arm/boot/dts/armada-385-db.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/armada-385-db.dts b/arch/arm/boot/dts/armada-385-db.dts index 9a13642..edcf7ff 100644 --- a/arch/arm/boot/dts/armada-385-db.dts +++ b/arch/arm/boot/dts/armada-385-db.dts @@ -80,6 +80,27 @@ reg = <1>; }; }; + + flash: flash@d0000 { + status = "okay"; + num-cs = <1>; + marvell,nand-keep-config; + marvell,nand-enable-arbiter; + nand-on-flash-bbt; + + partition@0 { + label = "U-Boot"; + reg = <0 0x800000>; + }; + partition@800000 { + label = "Linux"; + reg = <0x800000 0x800000>; + }; + partition@1000000 { + label = "Filesystem"; + reg = <0x1000000 0x3f000000>; + }; + }; }; pcie-controller {