Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp2063835rwa; Mon, 22 Aug 2022 01:07:13 -0700 (PDT) X-Google-Smtp-Source: AA6agR6pPh1nxOycm05P0PYdpNIrz625HZ0RsYHXmf/9twdnQxn8oopPPYhXj+NAXh9ivZafhQvf X-Received: by 2002:a17:907:6091:b0:731:37fb:bd9 with SMTP id ht17-20020a170907609100b0073137fb0bd9mr11944065ejc.219.1661155633272; Mon, 22 Aug 2022 01:07:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661155633; cv=none; d=google.com; s=arc-20160816; b=NdCOi3aLiQdKK6hNKE6Emv3LHquh0Da7cSmGx4mZrbj/XtWnNInirzb6cojmAONYSq w3FjCgs2jy+nHFS47Ur/npRUzXa0pdBwlevcwpoReET4aIerRBxz3tOqj1rRGwNhrhfy yvR9DRC6eKKagTBXswk764pnpINt4/A3T61AsRtOvwvn2Z2fV6yVZKK8gBg3Afu2tSPp 3M1v52ueBFtbH6lN4v9xri63YfC8cokEK6uFYsJsM9UDYcqNyuY22FAAmTg6fQu7njJg svz7nVVTC2j1b+H7Bta1X5c0WK1PAk+TmDw6dWcb3b+HBIp2B1XIda6bO1YG3UX10NDv cH4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iWm6cbXgNgOMu08msuouo2YkcT7OoKQnsuMv8gfoWnY=; b=HFjGN0ReeI2FLnp39SqkQuJmiWZD8bz4iQHS5+cGZaT1ecuofWYaD7nJwtJEd5oMhl AF53vu7D77YQBp+RC1tQ6N7VRfV+/JPLOPgrZuvMp5oJ83FNENn/NjPirIhrfo783iwV j+2bGBz9DSE3lw4ryIwMnLuxNlVahQ5sH9iDPwTGcIUCRDDXUyjTIKjTpKkiiFQOyBn+ m0mCpEbNm4r4/95qnliO9/lRS/H+7IKDe9WPu6t7SJRGMRV1cT3KV8IKERre82DzzlNf zdI+++1yfndbXtBqdAcipmLs02NCSn9wud46NQ0Pu7cxiuJbQCxIceocTZSAXUGUPesU sl2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=kBlJNkF2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr38-20020a1709073fa600b0073d71b3e93dsi3698658ejc.285.2022.08.22.01.06.47; Mon, 22 Aug 2022 01:07:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fris.de header.s=dkim header.b=kBlJNkF2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=fris.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233633AbiHVICb (ORCPT + 99 others); Mon, 22 Aug 2022 04:02:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233574AbiHVICN (ORCPT ); Mon, 22 Aug 2022 04:02:13 -0400 Received: from mail.fris.de (mail.fris.de [116.203.77.234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EDB92B246; Mon, 22 Aug 2022 01:02:03 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 97312BFB01; Mon, 22 Aug 2022 10:02:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fris.de; s=dkim; t=1661155321; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=iWm6cbXgNgOMu08msuouo2YkcT7OoKQnsuMv8gfoWnY=; b=kBlJNkF2rUWcnsp353JKgd8ucW5QMw5AO1MgXpEYKZgdP6LE0ZtTo+ptt47ufWZAD9iQlY IdAY9i0viLMQN1YOBFAb7alDPf5QSwFwzgk6Q8bK+DCewp2g7/ONbWTJTRk9jQIdvQpCOt 5XN7jqxM8qw19wFoOUvwmFGOHu+Xb4+vzCr8/yr29fqXw3ieoKDiK0va1OMtzLehb/SWEt QwgMOlsdslB++5rwvGz3ugMj9ec4oa1SvV1pUyufWIXN4i4Z1tRcFq7ZFhj7qsv5GdY/+x 7f5jpuo6Fmpn4TLyM+LFQdH6zmS1K5Cmh2rz3ZUxyYhaiqoLbaji+06nxAt4aQ== From: Frieder Schrempf To: devicetree@vger.kernel.org, Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring , Sascha Hauer , Shawn Guo Cc: Krzysztof Kozlowski , Frieder Schrempf , Fabio Estevam , Heiko Thiery , NXP Linux Team , Pengutronix Kernel Team Subject: [PATCH v3 7/8] arm64: dts: imx8mm-kontron: Add SPI NOR partition layout Date: Mon, 22 Aug 2022 10:01:00 +0200 Message-Id: <20220822080103.24016-8-frieder@fris.de> In-Reply-To: <20220822080103.24016-1-frieder@fris.de> References: <20220822080103.24016-1-frieder@fris.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Frieder Schrempf This is the layout used by the bootloader. Add it to the kernel devicetree to make the same layout available in Linux and have the devicetrees synced. Signed-off-by: Frieder Schrempf --- Changes in v3: * rebase on v6.0-rc1 Changes in v2: * new patch --- .../boot/dts/freescale/imx8mm-kontron-sl.dtsi | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi index ce9c27619e26..c227ca813d9e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-sl.dtsi @@ -66,6 +66,27 @@ flash@0 { compatible = "mxicy,mx25r1635f", "jedec,spi-nor"; spi-max-frequency = <80000000>; reg = <0>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "u-boot"; + reg = <0x0 0x1E0000>; + }; + + partition@1 { + label = "env"; + reg = <0x1E0000 0x10000>; + }; + + partition@2 { + label = "env_redundant"; + reg = <0x1F0000 0x10000>; + }; + }; }; }; -- 2.37.1