From patchwork Thu Jul 21 12:44:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grzegorz Jaszczyk X-Patchwork-Id: 9241583 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 035F5607D3 for ; Thu, 21 Jul 2016 12:43:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E951327E22 for ; Thu, 21 Jul 2016 12:43:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DD60627D85; Thu, 21 Jul 2016 12:43:21 +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 6C78227D85 for ; Thu, 21 Jul 2016 12:43:21 +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 1bQDIb-0002TT-Mj; Thu, 21 Jul 2016 12:41:57 +0000 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bQDHh-0001gH-IR for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2016 12:41:04 +0000 Received: by mail-lf0-x22e.google.com with SMTP id f93so60790117lfi.2 for ; Thu, 21 Jul 2016 05:40:41 -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=5UKosU4aBUkMgEQ5pfk9RAU52IMCeEo2zFcDBszXPrs=; b=BBGCUM8RPwXnjo57yDuE0Qo6OPp0eDc9/6ntlNZ5/FK1FZC35by5f/ncXOgVkRVHOQ yKgXmNc8IL93mV0J+imv1IdO2gylSKnRNO+IYwSrDw/gy5xjicJf2qs69YMOdsbDIDBI Cuux+Lux4dXQbjrsUGFIvibvqzc2jrf47Q2M/WAtBig9dEHMupQeSYPYlW/bEu1bxcL6 x9IP4pwrtQ4PHPEihFmIL1RsxlKm3UMiLCcofvVmZbYAcVX+a7FHcnRYN+oJzZWOyXku kgDt7cO397aHYudcAGC69ZGzX7GCEdGBtnuIlZyTPSolbaAAeLyVjR6hxP9AyE3mq2bA UB5A== 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=5UKosU4aBUkMgEQ5pfk9RAU52IMCeEo2zFcDBszXPrs=; b=SVa2Q+RLqBhZqVcFrM24pCeHhwp65+1bHfrlJZVcQPTAlbBpeN2qM50aw+QZBsr0aj PdxhQ3prBGHgVD4lzQsbTy8sdGaIBXCqpfHvwXlTX4r1zddP/0AFSDSk7OJon/+ShRKQ KkExY+R7bUqIEUGgkvcHpsK/gc/tB/M2vRctrqf+OaQteK5zRTI4MmbmFY/hAQBBLN1v o6jFIN5o5mmSng6KGXPUcC3kHQhlW1uDavsIhEKQH5XndthfP3eHaf8O6RiVxNmPznWE 7J/xoLmptLfmi1yjvHAIBJORtxbDIWTyezHCZMOZRDbqSlSttZUZZZ+5qBKhfOjxwqM1 iKlA== X-Gm-Message-State: ALyK8tL8PY627UaYSmji7PAs1Ip5EDC4RZpLl+Ng22MarddjFcvq4AQwYtiD781Yp/iYsQ== X-Received: by 10.25.159.10 with SMTP id i10mr11897043lfe.131.1469104839637; Thu, 21 Jul 2016 05:40:39 -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 196sm1759701ljf.5.2016.07.21.05.40.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 05:40:38 -0700 (PDT) From: Grzegorz Jaszczyk To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 05/18] ARM: mvebu: a385-db-ap: add default partition description for NAND Date: Thu, 21 Jul 2016 14:44:01 +0200 Message-Id: <1469105055-25181-6-git-send-email-jaz@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1469105055-25181-1-git-send-email-jaz@semihalf.com> References: <1469105055-25181-1-git-send-email-jaz@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160721_054102_084281_0E4FCE92 X-CRM114-Status: UNSURE ( 9.36 ) 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, 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 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 {