Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp3137614pxx; Mon, 2 Nov 2020 00:29:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVdg2S/8mCRkrmC7V8CAzFYiPlggekmS/RBfBcQQnoq+jrigWBct9azlLLxtLduMjd5+// X-Received: by 2002:a05:6402:206:: with SMTP id t6mr15112343edv.291.1604305766916; Mon, 02 Nov 2020 00:29:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604305766; cv=none; d=google.com; s=arc-20160816; b=CWwgrIYZ96fkU0oFKhNMN0hQR2xTpAImYd49JoCFsjAqXWNHBdjBy++B3Xo09hypCF 0WKA3xMcVJRQtjFlmhrPoe3YAj7vNw01grc/oO/B8EVbnmZ3qbkmyOLyN9d6kznObcbC IuM/QgzOeWK0boy+wEcZrObnwJIcgNQaH2nx3O8P69rL8ygp6OHte7EhcG0uPAbKE7C7 FQuH6hzUnSNpPot43I9a6aB4R0FnWtrUonzHFHWeO62EyUyXfcKhZa5GRucJANUhfRRc r8IOS5xoXBzEhQ/YjrN5AluRMIvrVjFXNskZl1GNiNYUwSj7VGGa3qSpnpysp2JKV3DO ShYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6tuJU2s2GgqYGgdfOYradycV34axnpPkvXnzDNxZ9oc=; b=Fyocy62XenYWUdqWMYPLFpgQ0bNQzXARhBQXE3i83Lw/2BQCor6jyBfqIszyo73c0o OLJnYCI6MrlEGzVf+NeqZfMeOnkSZxSJENus316zMKdR+sMcKB8WEtKtmTXCFswmXCK7 sg6ln5nw1lkMqvQsgsBGlF2RehLLNEUvnq0hTzfKT5r1zwKMNf/TXiN2cJSwoZQvqMfP Xnrhf4aRYurQq5FVAu1NrAuhYgP7BiCtdq8ysNVAsnixrUljS2Ho9rc3yYU8K3jY6qGX LCK7LhnO+iHKbehwLj7WHncATPdrO+Ws7pb7K9A5XD+s3905EMhiqyv+uLkHCOM/1vxz vCPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qq1si1846601ejb.240.2020.11.02.00.29.03; Mon, 02 Nov 2020 00:29:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728153AbgKBIZw (ORCPT + 99 others); Mon, 2 Nov 2020 03:25:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48592 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727870AbgKBIZw (ORCPT ); Mon, 2 Nov 2020 03:25:52 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82FD6C061A04 for ; Mon, 2 Nov 2020 00:25:52 -0800 (PST) Received: from pty.hi.pengutronix.de ([2001:67c:670:100:1d::c5]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZV9w-0001hy-0o; Mon, 02 Nov 2020 09:25:48 +0100 Received: from mfe by pty.hi.pengutronix.de with local (Exim 4.89) (envelope-from ) id 1kZV9v-0008WE-KY; Mon, 02 Nov 2020 09:25:47 +0100 Date: Mon, 2 Nov 2020 09:25:47 +0100 From: Marco Felsch To: Matthias Schiffer Cc: Rob Herring , Shawn Guo , Sascha Hauer , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , Fabio Estevam , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/2] ARM: dts: imx7-mba7: add default SPI-NOR flash partition layout Message-ID: <20201102082547.qbo2pu2lgjzf43bp@pengutronix.de> References: <20201030102636.16476-1-matthias.schiffer@ew.tq-group.com> <20201030102636.16476-2-matthias.schiffer@ew.tq-group.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201030102636.16476-2-matthias.schiffer@ew.tq-group.com> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain X-Uptime: 09:24:57 up 352 days, 23:43, 378 users, load average: 0.25, 0.09, 0.07 User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::c5 X-SA-Exim-Mail-From: mfe@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Matthias, On 20-10-30 11:26, Matthias Schiffer wrote: > 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 { Please see my other email about how to add paritions nowadays. Regards, Marco > + 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>; > -- > 2.17.1 > > > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |