From patchwork Wed Sep 22 13:00:54 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Schiffer X-Patchwork-Id: 12510643 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=-18.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,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 48371C433FE for ; Wed, 22 Sep 2021 13:11:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 12D8260FA0 for ; Wed, 22 Sep 2021 13:11:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 12D8260FA0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=ew.tq-group.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mW/DaVTywAgD4KyzQf/uSxAuYb7yh6ES6LQLiSMhy60=; b=M1y/cANqJWtwyV oNuHWeyqXS3zXbrvpKis/SDKMXZl7OE3tCa86xOPk7gIN7kxpQwNii+MTglv81732qAP9/MwsYoIf /K/CJ5RspL5ObwLVn7vglzox76VK4Y7HDb9ocrG3wcjeSQzAwuaOxWLGrAY4FefMOTojEm9AKA++S KJkR1JN1UJkvKH5MHnrY5hM8wS9pxFcKPRz2S6gpZc1mGsQU9No9oyEfJhgTa249RnT8rWIC83lv0 QHlNi2H3z7g9dh2K5pNpJ7oc2ICBLLUDiAePjjwcFr/JIyHpzGckTNujE2uw4nH73cf3XuPXRybLC /RPadFx9gG4orVdSXulg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT1zo-008XvZ-Jh; Wed, 22 Sep 2021 13:09:09 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mT1t5-008V1m-CZ for linux-arm-kernel@lists.infradead.org; Wed, 22 Sep 2021 13:02:13 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1632315731; x=1663851731; h=from:to:cc:subject:date:message-id; bh=Zk18MfnwZsuiqJS3BzcWavsFpz6rAWNTwbA7wI3jQoE=; b=QNXdLmeqhxJzuVO6VYU5QWujGmW0tlC9lRURko0bT1a1o0Z8nPY+GJHW V1AS2Kq5FxQMbJ02Zlj8tDZvT37zPZNW2Xvw0vojeVFcPausEj1+P3tba F4asLuIGApP6Y/gUdyp7zTTrkMwzsQIm45uQ601L1eYvMRJQh/X+bXvqC qS+cO6T3IoO0a8seDWKb/3C1aYINnBCeJ3NCBtINbw3T98GsYvhEp0ndA J5jngqdqR2UGa2oClU/KQm3UomnD7I6n6nBlfayJ/KYUwZ0qzccZKm20b GtHKO1aYOqHNLm0X8Orp5Y0bxMFPYggTQeh3ZxRseYN/LoEIda9Dknrhz A==; X-IronPort-AV: E=Sophos;i="5.85,314,1624312800"; d="scan'208";a="19650007" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 22 Sep 2021 15:01:39 +0200 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 22 Sep 2021 15:01:39 +0200 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 22 Sep 2021 15:01:39 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1632315699; x=1663851699; h=from:to:cc:subject:date:message-id; bh=Zk18MfnwZsuiqJS3BzcWavsFpz6rAWNTwbA7wI3jQoE=; b=ashR9uv3B8jwwHfxP4Pd6oYicO1DuNR5GkCFxuSZeLaEDnE922G716Y9 n2IRR38EQE6VvmhgCx+6bMz5nEAB4sLQTdD0OOsdi8NSLOG+EJkJbzCnd rAzvgSRhGlmCvGWojYDVwPtnD4seqTtxOrejxJesE1pJTyzubQEgUEU0W kX0gZo/UxjbisVZxRiIxeBvZPe+BQc1W+5LM6/zl89Kb751fQSwGSK+NW vL3VWVsM+v1SGjd7JYevJ0Yq6bMn/UBFRpSkB0U/yHXPb0TF2KCjHlBnh Akyk9jCVvsOb90AQiV3bTRg5ePUbLxvTAoX5xayeAvh10NNCuz0Q6/LNw w==; X-IronPort-AV: E=Sophos;i="5.85,314,1624312800"; d="scan'208";a="19649858" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 22 Sep 2021 15:01:02 +0200 Received: from schifferm-ubuntu4.tq-net.de (schifferm-ubuntu4.tq-net.de [10.121.48.12]) by vtuxmail01.tq-net.de (Postfix) with ESMTPA id F2542280078; Wed, 22 Sep 2021 15:01:01 +0200 (CEST) From: Matthias Schiffer To: Shawn Guo , Sascha Hauer Cc: Rob Herring , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Matthias Schiffer Subject: [PATCH v2 3/3] ARM: dts: imx7-mba7: add default SPI-NOR flash partition layout Date: Wed, 22 Sep 2021 15:00:54 +0200 Message-Id: <429c83781ef9a32aacb8128de917194404298914.1632314390.git.matthias.schiffer@ew.tq-group.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <941f977a8f98a26a4f14fd2c8caf5374a67e9345.1632314390.git.matthias.schiffer@ew.tq-group.com> References: <941f977a8f98a26a4f14fd2c8caf5374a67e9345.1632314390.git.matthias.schiffer@ew.tq-group.com> In-Reply-To: <941f977a8f98a26a4f14fd2c8caf5374a67e9345.1632314390.git.matthias.schiffer@ew.tq-group.com> References: <941f977a8f98a26a4f14fd2c8caf5374a67e9345.1632314390.git.matthias.schiffer@ew.tq-group.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210922_060211_801137_DA2F5C3D X-CRM114-Status: GOOD ( 11.21 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 --- v2: Update with modern "partitions" specification arch/arm/boot/dts/imx7-mba7.dtsi | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/imx7-mba7.dtsi b/arch/arm/boot/dts/imx7-mba7.dtsi index 0212962b2189..49086c6b6a0a 100644 --- a/arch/arm/boot/dts/imx7-mba7.dtsi +++ b/arch/arm/boot/dts/imx7-mba7.dtsi @@ -236,6 +236,44 @@ }; }; +&flash0 { + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + 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>;