From patchwork Fri Oct 30 10:26:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 11869185 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7CB15C4363A for ; Fri, 30 Oct 2020 10:27:58 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AAB2B20704 for ; Fri, 30 Oct 2020 10:27:57 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Ej803lsi"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=tq-group.com header.i=@tq-group.com header.b="J4m5uUOh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AAB2B20704 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:MIME-Version:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id: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=LzwTOHopnAeeq0PEI5BoF/tjsJ7Rt7p3liuYsUQ1O1Q=; b=Ej803lsi377Gv1PrB7c86sXMDY Sk0YfbMtJoymzeIRKUBouAyHnVh2fnt000mOlgStRZWh4tEoHS4iBvHp9j+wkKlwmRS/9IOclXGca JMlLSB8Dg8UrUU6Nrhx8BkCxvY5y85JlOF4tLXWo85YEOOFyHD+MsiiukgbhVB6AaAuOutUSmEWSu Wv+gcrCyEXuqt2AjIjgcnx7pTIVp8Bdur8yn+Z8rhi1KdXPH7cqQU9V/45eOwfe1VlbZAvNWlx6Fx hQYilp/jV6rJLnNgbffZ0lUuknWBcupW80+ow8oCk7nPk6b/4Nj7t0+1jzIwxJUoOnROrXQSf2r9H KWBSUt/w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYRd1-0005p0-9q; Fri, 30 Oct 2020 10:27:27 +0000 Received: from mx1.tq-group.com ([62.157.118.193]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kYRcy-0005nw-Tn for linux-arm-kernel@lists.infradead.org; Fri, 30 Oct 2020 10:27:25 +0000 IronPort-SDR: o6O08EGS7bTOtn37NhFXoZFR5YcHzmc4gGGY1zMFH2ElbuKIFMMncMnygFxy3CJehyVQNalOHN 8Wo+ruTprDRG5Rba9uaxgj/yRSyR0eJ1Xos0Awchi8t0/Bd/cIWVrEourucA+uUZmojAD3lC3u hEMWJ1JGU0Pv0GuIpzK2vafhWXcvN07zrN0x78Hwn/x2vpMEBPcelujtoKIbKx7n4oFf0truL6 0Dszi3ocEzJhx8IxGjh0ELVA8oSr0Cb8CmdHZScLAa78RXN4rCJb3ftGh3u0o+yp+s/1AF2HBt /dw= X-IronPort-AV: E=Sophos;i="5.77,432,1596492000"; d="scan'208";a="14511048" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 30 Oct 2020 11:27:21 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Fri, 30 Oct 2020 11:27:20 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Fri, 30 Oct 2020 11:27:20 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1604053641; x=1635589641; h=from:to:cc:subject:date:message-id:in-reply-to: references; bh=B4aRjAdCIiT+jqxl5xeNc+oGMypf6gdkXGtOqsQkS8E=; b=J4m5uUOhm8/eYyzaqdt8o/MotSCu6t4YDjvJyJePQ6Jb7lIw6EBole+H pqiH13yXlaMy8MjbkYtyaV4HSky4Oc++0RlatNXAdPszKof3lANFvdC16 CcBdn2kRReC7ebIg+4n3/Qw+j9TMJU0OP8r6dFdj7dG+uIfp7+iAAoHfd xFMR/yM/MKejxecPnMR5eiCVTT3NqXKZJJ7Unmd4R6nP1x5ReKddmDzjD lTRSYD7jGKgcAoCH1j3zF/BoV27MykgkGVeQY9KrussoyP2DT4GIphGAZ YxPMbb8yB6a5kHrebkQmdK0Nsd2rtOpNydt5SPRXoDa6WfbkQLOGEiwRG w==; IronPort-SDR: 2rw6PDEGMfLEp0p/dSZqqiTww5nauUVCLPDSwcdf2JnQ9aQFtGOEiP+vxQJQfZf6SlEG1milwQ hNiOHbeqaSF+uge24txgcBKMovWbB7pAcPcleud1YuAsvC9ldAu8vk6SbG14na027Rwswfk0JG W68FmGLWlAOV5AMfJqnKcXWSAVjlRfCyWhoLWOp2t5izdHGTCvvAhDT4BFQ0sIrucNi01gZ7LO KdB9oNfxuFexaJsbXamgrCSTRsW8tl1IMi56u9H1LTZgooID7CpHv9BK3LhQ00QH2KqBBBnXHo z8k= X-IronPort-AV: E=Sophos;i="5.77,432,1596492000"; d="scan'208";a="14511046" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 30 Oct 2020 11:27:21 +0100 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.117.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id EFF03280075; Fri, 30 Oct 2020 11:27:20 +0100 (CET) From: Matthias Schiffer To: Rob Herring , Shawn Guo , Sascha Hauer Subject: [PATCH v2 2/2] ARM: dts: imx7-mba7: add default SPI-NOR flash partition layout Date: Fri, 30 Oct 2020 11:26:36 +0100 Message-Id: <20201030102636.16476-2-matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201030102636.16476-1-matthias.schiffer@ew.tq-group.com> References: <20201030102636.16476-1-matthias.schiffer@ew.tq-group.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201030_062725_209167_FF60C89F X-CRM114-Status: GOOD ( 11.49 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Matthias Schiffer , linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add the partition layout also used by the bootloader. Signed-off-by: Matthias Schiffer --- arch/arm/boot/dts/imx7-mba7.dtsi | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) v2: no changes diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi index c6d1c63f7905..3683f97f946f 100644 --- a/arch/arm/boot/dts/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/imx7-mba7.dtsi @@ -237,6 +237,38 @@ }; }; +&flash0 { + uboot@0 { + label = "U-Boot"; + reg = <0x0 0xd0000>; + }; + + env1@d0000 { + label = "ENV1"; + reg = <0xd0000 0x10000>; + }; + + env2@e0000 { + label = "ENV2"; + reg = <0xe0000 0x10000>; + }; + + dtb@f0000 { + label = "DTB"; + reg = <0xf0000 0x10000>; + }; + + linux@100000 { + label = "Linux"; + reg = <0x100000 0x700000>; + }; + + rootfs@800000 { + label = "RootFS"; + reg = <0x800000 0x3800000>; + }; +}; + &flexcan1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_flexcan1>;