From patchwork Wed May 31 23:49:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 101621 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:6358:3046:b0:115:7a1d:dabb with SMTP id p6csp779116rwl; Wed, 31 May 2023 16:51:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ55vGtn5j5eoUxEVDKTzXg8xbj7MhSWpQ8wo+9AVTfp/j/jFsaZG4fIM5Tg8zXPp7kVvZks X-Received: by 2002:a05:6a21:9810:b0:104:873:c3b5 with SMTP id ue16-20020a056a21981000b001040873c3b5mr4935699pzb.44.1685577101258; Wed, 31 May 2023 16:51:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685577101; cv=none; d=google.com; s=arc-20160816; b=wYNHLWdl28tvnuGikMYSGYMllkS0HOnDUSCuL181LO7i5gg3BB68d9MStN9bu8E0lK CxRwlT8b/CcKKlIPCyBjh/A+WZJ+wfHZ4Wvw5f+Y2D/yHtgBG1ap1NQT3Xtjyohr3m8W bUXCoBLSe5liqxavrAJPu8rKrlGi/UN7hnXUNqb9zwoUjEMndK0uZPa2aVsUf1mRnajB dIAISvLbOND97DHsfCgar2KI9KWztzZhpYlBtk+72EHehBqyB/R6UOFGDmNBkr01GuJt Abfx9jBDAR9QAyKdmQqIoYLo0YSmlSnA5KTDWFv1Xz/v4FDpD3j8i88/ppEVLeIrRuxN j3rQ== 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=J8M93mkz4vrLKdNA3BnSi6fRCGqPpXnlnyQMlwSvJpc=; b=WVsUQrspcnhOCECtHkoQ1+cVaoXEvmbazYQnzidub1NlKIZRqo80aMePlXZXb+DTxo rJ6LzgPPVtq0zzwDIrgjwf109FD7epdw6lfMR4wWYf5tdB3DijcoCGejPl3GeHGrfdym wOnu7lganUifBiVNlp/ITrFyfbPzbgrJ9yTEEpRls1aOWJxbXky8P7XVelDiiZ1hXhKb dIYXFCjSfZbr14j3BOipEAEB+l9j6NCrj2EkLY5qAFR321EZO1qVn3aFzYpiy3iBJmsB X/IJ7usG2a2FnE1MNtq+WzWipLoTW9GpfeshamCCiszCmpvx2PABk+gH++Du7SZ5dhZN 0tNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b=mFPXYmfa; 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=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q3-20020a17090311c300b0019e9c8e51f4si1862919plh.165.2023.05.31.16.51.26; Wed, 31 May 2023 16:51:41 -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=@alliedtelesis.co.nz header.s=mail181024 header.b=mFPXYmfa; 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=REJECT dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230184AbjEaXtl (ORCPT + 99 others); Wed, 31 May 2023 19:49:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbjEaXtf (ORCPT ); Wed, 31 May 2023 19:49:35 -0400 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [202.36.163.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83A68136 for ; Wed, 31 May 2023 16:49:33 -0700 (PDT) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 188882C0343; Thu, 1 Jun 2023 11:49:30 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1685576970; bh=J8M93mkz4vrLKdNA3BnSi6fRCGqPpXnlnyQMlwSvJpc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=mFPXYmfaF+ODlRXtYXClW/Z+oga0nyEn4UbSP65ZNWtQmYR9jjSBG/plDbkQiqV/I FDL/LD96E1VSwi/59B/8CE+fO49Jf9oadheK7nznanlKDHigBzkGtwBN4JKhX5DF8e qIQb3JdaS3pL7R2PST+52kRwejPBENMAcZwiqgI7H3+jar4NZJdf2Hy77Ax6KpfHyh Lm0lVWtf0NbQbTcVmYC8ipmDnIFGc2ulBzBKgpKpWKXdweROwN0zZAgDRCf11Z7uWR mVV/N5lVhXkM3sMwZx2bzokZpEtLed1Q/+b0CnYtWVcJzrhnFQYdY/5Sk6Of/8paZU ADAwOqxwT1piQ== Received: from pat.atlnz.lc (Not Verified[10.32.16.33]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Thu, 01 Jun 2023 11:49:29 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by pat.atlnz.lc (Postfix) with ESMTP id E1B9A13ED2D; Thu, 1 Jun 2023 11:49:29 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id E299A285285; Thu, 1 Jun 2023 11:49:29 +1200 (NZST) From: Chris Packham To: miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com, conor@kernel.org Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, enachman@marvell.com, Chris Packham Subject: [PATCH v8 2/3] ARM: dts: mvebu: align MTD partition nodes to dtschema Date: Thu, 1 Jun 2023 11:49:22 +1200 Message-Id: <20230531234923.2307013-3-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230531234923.2307013-1-chris.packham@alliedtelesis.co.nz> References: <20230531234923.2307013-1-chris.packham@alliedtelesis.co.nz> MIME-Version: 1.0 X-SEG-SpamProfiler-Score: -1 x-atlnz-ls: pat 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_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1767455694291144375?= X-GMAIL-MSGID: =?utf-8?q?1767455694291144375?= Update the node names for the SPI NOR and NAND partitions to conform to the partition properties in the relevant dtschema. Signed-off-by: Chris Packham Reviewed-by: Miquel Raynal --- Notes: Changes in v8: - Add r-by from Miquel arch/arm/boot/dts/armada-385-atl-x530.dts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/armada-385-atl-x530.dts b/arch/arm/boot/dts/armada-385-atl-x530.dts index 241f5d7c80e9..5a9ab8410b7b 100644 --- a/arch/arm/boot/dts/armada-385-atl-x530.dts +++ b/arch/arm/boot/dts/armada-385-atl-x530.dts @@ -179,19 +179,19 @@ partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; - partition@u-boot { + partition@0 { reg = <0x00000000 0x00100000>; label = "u-boot"; }; - partition@u-boot-env { + partition@100000 { reg = <0x00100000 0x00040000>; label = "u-boot-env"; }; - partition@unused { + partition@140000 { reg = <0x00140000 0x00e80000>; label = "unused"; }; - partition@idprom { + partition@fc0000 { reg = <0x00fc0000 0x00040000>; label = "idprom"; }; @@ -216,16 +216,16 @@ partitions { compatible = "fixed-partitions"; #address-cells = <1>; #size-cells = <1>; - partition@user { + partition@0 { reg = <0x00000000 0x0f000000>; label = "user"; }; - partition@errlog { + partition@f000000 { /* Maximum mtdoops size is 8MB, so set to that. */ reg = <0x0f000000 0x00800000>; label = "errlog"; }; - partition@nand-bbt { + partition@f800000 { reg = <0x0f800000 0x00800000>; label = "nand-bbt"; };