From patchwork Tue Oct 2 13:20:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 10623701 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5411113BB for ; Tue, 2 Oct 2018 13:35:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5413B28992 for ; Tue, 2 Oct 2018 13:35:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 484F7289CE; Tue, 2 Oct 2018 13:35:54 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D1EE428992 for ; Tue, 2 Oct 2018 13:35:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=M1Win7rJXRqsDtZcUOAag+Pl7e6PFukj8jH4J8/I3yU=; b=QWQic0wu2zYeJV HRdaMWwv8FFEo+HvhuT1w0IpupFutI+bleJWA+DSWPQ+dOfviahbiMCntHze3ClFTsaRinsmaxkYk Gvq2UvLOWBIdBQP1JfBHOFDq/CeiAVHRt2BOgJGUWxfVyZ1kGMw2H2waTPX6GmO3LBfF+JG4siu7B 9IyB/tPTSILvlfqBXU6EUJKCt4Hu1oFZ6KLjmYwTANaQnaR5+k+LAwAMwY3C7PXGmwFDkFaDuXTQ6 sAerNl2jUPG1OA/WbpayevJ9WKPrS2GIVnvOCMBJonSZRl3VLVzg4o9oWZz4ZgWdvrMkqkdd1QiGV Aii4hGbIq7Rh+QfkK43g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Kq3-0003kE-Pb; Tue, 02 Oct 2018 13:35:47 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Knj-0000UF-JE for linux-arm-kernel@bombadil.infradead.org; Tue, 02 Oct 2018 13:33:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=6SydvcWP4l2cN4GWF6pb2ngKlyBreDOrz97RQQhVZYI=; b=SYQfpith/qw7mTGCkoAKGFO93 ALUYMv73ZnjPN8JrrlNqxsozfMzlLBDkoDWvfIqlf/6hVPghyCmKRtEwWqRBQWJ1G5sFNR4bf+fjc b8Jztcw3NBi8FJh0UQ4bNZLR4Cf0NfiWCOZFhY7ayFOaZKlEUfXPr5i5IMMiY4LqODj+oIsZMyfKE TW+w3EENI1BfxjJ+V07HPT/4coqEmGTMKUkKusuIBzVKLnDGWR5LY64HXFJLPeDojlyaiRy/cPXi8 wLASVUf9YepLNFSp62kHtXPalBkDqZnd2dZetjMflkjn8gGPH+fWXQYZIEOq/O1JzWvTKMwoI2WsX RyjZ0aiUg==; Received: from esa5.microchip.iphmx.com ([216.71.150.166]) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g7Kby-0003w2-Qo for linux-arm-kernel@lists.infradead.org; Tue, 02 Oct 2018 13:21:16 +0000 X-IronPort-AV: E=Sophos;i="5.54,332,1534834800"; d="scan'208";a="18815649" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 02 Oct 2018 06:21:02 -0700 Received: from localhost.localdomain.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Tue, 2 Oct 2018 06:21:02 -0700 From: Tudor Ambarus To: , , , , , , , Subject: [PATCH 4/4] ARM: dts: at91: sama5d4_xplained: even nand memory partitions Date: Tue, 2 Oct 2018 16:20:38 +0300 Message-ID: <20181002132038.27189-5-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20181002132038.27189-1-tudor.ambarus@microchip.com> References: <20181002132038.27189-1-tudor.ambarus@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181002_142115_139249_E29747A5 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tudor Ambarus 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 sama5d4_xplained, ssam9x5cm, sama5d2_ptc_ek and sama5d3_xplained nand flashes have a common memory map. Even the nand memory partitions to match our NAND flash map available at: http://www.at91.com/linux4sam/pub/Linux4SAM/SambaSubsections//demo_nandflash_map_lnx4sam5x.png Signed-off-by: Tudor Ambarus --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts b/arch/arm/boot/dts/at91-sama5d4_xplained.dts index 7d554b9ab27f..43aef56ac74a 100644 --- a/arch/arm/boot/dts/at91-sama5d4_xplained.dts +++ b/arch/arm/boot/dts/at91-sama5d4_xplained.dts @@ -232,12 +232,17 @@ bootloader@40000 { label = "bootloader"; - reg = <0x40000 0x80000>; + reg = <0x40000 0xc0000>; }; - bootloaderenv@c0000 { + bootloaderenvred@100000 { + label = "bootloader env redundant"; + reg = <0x100000 0x40000>; + }; + + bootloaderenv@140000 { label = "bootloader env"; - reg = <0xc0000 0xc0000>; + reg = <0x140000 0x40000>; }; dtb@180000 {