From patchwork Thu Aug 4 10:14:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9263231 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B36CC60754 for ; Thu, 4 Aug 2016 10:12:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9E9042832B for ; Thu, 4 Aug 2016 10:12:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8FA96283AC; Thu, 4 Aug 2016 10:12:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2BF1F2832B for ; Thu, 4 Aug 2016 10:12:55 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVFcP-0007sb-6J; Thu, 04 Aug 2016 10:11:13 +0000 Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bVFbN-0005y4-HJ for linux-arm-kernel@lists.infradead.org; Thu, 04 Aug 2016 10:10:11 +0000 Received: by mail-lf0-x234.google.com with SMTP id l69so178884673lfg.1 for ; Thu, 04 Aug 2016 03:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=8UE8xx4/8YNC2k3o3Oumv6ICZQ5MFncGLUPU/9qMvGI=; b=CLZcpdgQZuarG/tfzhlSeOxn12KrIPMPMBh9WZWG743RbiuDcbZe3t98uVeDbYmea9 Y8WGnBV6+NiNPRMasKEuUtMspI42FA+vx2TQv/DPUD3g2VXvDIhQvaXwydeOKahR81AM eP3VqZ07aYrRgwmQoMED6tmOeNPt3xLD45sEkGuGb7zzcdjrKewLQvF1UD14Nfe5+swg 9TI/clnwY5qFMzJabhMMJgVK//JbSuC1pxnq91oshQLYOPkBOsEqJx6b1Z5WvWbGIBjj 7u5jYBnHOLFth7fT9a7dhj7JOCQJoXsnRBC/8DfKp2mY0QykF6O+URHrHam6o/3srovE t4ZQ== 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=8UE8xx4/8YNC2k3o3Oumv6ICZQ5MFncGLUPU/9qMvGI=; b=l6Le5QEz1WvipENKdvGxtN4AvqoNNQPJ/rxBQg7IT+6LsYDOqv+1shVXBfTpkHi+u+ qNbyr6Ya6lXoUQDVkiLAwHEd8ibhU1XttDBe7kapzbdpVTPBg3qGzZwPswi9oj4v+mJd 1qpa/MXYoSzc08J5NHdZznnHQwVOeObF5xSjfx4y9BMgt0MmY2i+Auoeeoo8YQ7y7gWg q08/4+J/D7XsoK28SxGsJ9TvALUQ6R0oqKjJo774BgcgMimXBTxoadXFojZskautUumL PpzIay5qf7DD2SNi5LEHRomsAN2del/ZxeEXAro596Z9dBHBiwFAwp1RzIjEutcNmoW2 fQUA== X-Gm-Message-State: AEkoousem4Cs+UUn8NOMm/8CzYPo1u/pQ511yIZAkmb9YTuwYNnJCnQ26Z7c2YgeQgb4+w== X-Received: by 10.25.81.137 with SMTP id f131mr18867695lfb.206.1470305388566; Thu, 04 Aug 2016 03:09:48 -0700 (PDT) Received: from enkidu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id c12sm2302628lfc.40.2016.08.04.03.09.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Aug 2016 03:09:47 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v2 04/17] ARM: dts: mvebu: a385-db-ap: add default partition description for NAND Date: Thu, 4 Aug 2016 12:14:07 +0200 Message-Id: <1470305660-6601-5-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1470305660-6601-1-git-send-email-jaz@semihalf.com> References: <1470305660-6601-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160804_031009_964334_706B5F32 X-CRM114-Status: UNSURE ( 9.33 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, linux@armlinux.org.uk, nadavh@marvell.com, alior@marvell.com, robh+dt@kernel.org, gregory.clement@free-electrons.com, mw@semihalf.com, thomas.petazzoni@free-electrons.com, sebastian.hesselbarth@gmail.com MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Armada 385 Access Point Development board contains NAND FLSH which is already enabled in existing dts. Nevertheless the default partition description was missing. Signed-off-by: Grzegorz Jaszczyk Acked-by: Gregory CLEMENT --- arch/arm/boot/dts/armada-385-db-ap.dts | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/armada-385-db-ap.dts b/arch/arm/boot/dts/armada-385-db-ap.dts index a18f516..6648a3f 100644 --- a/arch/arm/boot/dts/armada-385-db-ap.dts +++ b/arch/arm/boot/dts/armada-385-db-ap.dts @@ -182,15 +182,35 @@ nfc: flash@d0000 { status = "okay"; - #address-cells = <1>; - #size-cells = <1>; - num-cs = <1>; nand-ecc-strength = <4>; nand-ecc-step-size = <512>; marvell,nand-keep-config; marvell,nand-enable-arbiter; nand-on-flash-bbt; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "U-Boot"; + reg = <0x00000000 0x00800000>; + read-only; + }; + + partition@800000 { + label = "uImage"; + reg = <0x00800000 0x00400000>; + read-only; + }; + + partition@c00000 { + label = "Root"; + reg = <0x00c00000 0x3f400000>; + }; + }; }; usb3@f0000 {