Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp737521pxf; Thu, 18 Mar 2021 10:21:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTgONX27pC7gEVly+16A/WBSh+sfpkd0bWK2KTAkA0v65U67PV5M9FhfJd1zo17CFTj26V X-Received: by 2002:a17:907:1692:: with SMTP id hc18mr41741447ejc.265.1616088078196; Thu, 18 Mar 2021 10:21:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616088078; cv=none; d=google.com; s=arc-20160816; b=MuIuNZ/fmlg/ra8o2sTVfnd/po7RAEMDltxlqRyzTN5Acf6UPw9qZj/UNs5K51i6Ec TWtTVwq7B9evUE6OwvqHxlUhEAWHC/zGyHrVFi1CzAlw6rG8aLskYcl7gxj6NzCqXUX7 fmdDRc4cLsI30yiVBSf16Ob+MRszbVCUd1hWNELwwdwO+s/nDQYLl8hQREvP9NpmQ26+ 6XO3o8LCucf5ZjMx/v3Q7agVUeJ/FCTWUyypOVXOJ7Klt97ZUlt40u/OHJ+bL13dwMim j9ybJsmn3qAvDmFBQ+qbABhYIqU5YtCPIdUWZssG4dLI3sLT2uFQtri7e2gWVWktWrPr T07Q== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=zScicOu5h1kWopVKEvc+11eswp5j64QDoz9ikr8fwU4=; b=ed0sBxZqCQjaKuTnDaEiAucK/7q5jQBhaLziJ0pVJWyisagqZBlkGBducAIUgdCmdg kGA43ho+OSXtIX+zaAl1wRwsxy0GEBKtBIJ5euV1F1PIF52Nb/VwqOnB6UUF6mqnoPgi 0Gw4NyNBw4cqzO6AGLBQDKE+FE45qoJKNPWAWIakzzpM1i3quenQ6JKstnVpobvSDNI8 rmmimleo44QzQqE1CFQgzvfLTtH41qkiihDkcPttQJaGlTTvBU7BrSgNGK1+x0fBl9H0 rEBkxZqY3BPGTxIC4x/HBhgXfwkviZeuUOxFzTgZoolO4TsBpUeQ49monzF52IwS1oFG 688Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=U6FKg4Dl; 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 a10si2321188edf.499.2021.03.18.10.20.54; Thu, 18 Mar 2021 10:21:18 -0700 (PDT) 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; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=U6FKg4Dl; 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 S232296AbhCRRTk (ORCPT + 99 others); Thu, 18 Mar 2021 13:19:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232316AbhCRRTO (ORCPT ); Thu, 18 Mar 2021 13:19:14 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E249EC06174A; Thu, 18 Mar 2021 10:19:13 -0700 (PDT) Received: from mwalle01.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:fa59:71ff:fe9b:b851]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id B97CD22205; Thu, 18 Mar 2021 18:19:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1616087951; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=zScicOu5h1kWopVKEvc+11eswp5j64QDoz9ikr8fwU4=; b=U6FKg4DlCfe2ajUlm/m/Cgc78Udvwjo8n0R2mvrm77eRcTHE0LZy6D14pP3Bp3Ugpb/JL3 Om1IkqK3Kf5s/thsoE31k/ofLkhvACIZsbv7axClaWuPkX0TnMaF92LKzYdrtUFKIKkKKg ddDZ+WqFCZwRvi4G+4n64HIGPGyTg1A= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Michael Walle Subject: [PATCH 1/2] arm64: dts: fsl-ls1028a-kontron-sl28: move MTD partitions Date: Thu, 18 Mar 2021 18:18:55 +0100 Message-Id: <20210318171856.3487-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move the MTD partitions to the partitions subnode. This is the new way to specify the partitions, see Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml Signed-off-by: Michael Walle --- .../freescale/fsl-ls1028a-kontron-sl28.dts | 94 ++++++++++--------- 1 file changed, 49 insertions(+), 45 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts index 0516076087ae..7e3a33eb2045 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28.dts @@ -115,8 +115,6 @@ status = "okay"; flash@0 { - #address-cells = <1>; - #size-cells = <1>; compatible = "jedec,spi-nor"; m25p,fast-read; spi-max-frequency = <133000000>; @@ -125,49 +123,55 @@ spi-rx-bus-width = <2>; /* 2 SPI Rx lines */ spi-tx-bus-width = <1>; /* 1 SPI Tx line */ - partition@0 { - reg = <0x000000 0x010000>; - label = "rcw"; - read-only; - }; - - partition@10000 { - reg = <0x010000 0x0f0000>; - label = "failsafe bootloader"; - read-only; - }; - - partition@100000 { - reg = <0x100000 0x040000>; - label = "failsafe DP firmware"; - read-only; - }; - - partition@140000 { - reg = <0x140000 0x0a0000>; - label = "failsafe trusted firmware"; - read-only; - }; - - partition@1e0000 { - reg = <0x1e0000 0x020000>; - label = "reserved"; - read-only; - }; - - partition@200000 { - reg = <0x200000 0x010000>; - label = "configuration store"; - }; - - partition@210000 { - reg = <0x210000 0x1d0000>; - label = "bootloader"; - }; - - partition@3e0000 { - reg = <0x3e0000 0x020000>; - label = "bootloader environment"; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + reg = <0x000000 0x010000>; + label = "rcw"; + read-only; + }; + + partition@10000 { + reg = <0x010000 0x0f0000>; + label = "failsafe bootloader"; + read-only; + }; + + partition@100000 { + reg = <0x100000 0x040000>; + label = "failsafe DP firmware"; + read-only; + }; + + partition@140000 { + reg = <0x140000 0x0a0000>; + label = "failsafe trusted firmware"; + read-only; + }; + + partition@1e0000 { + reg = <0x1e0000 0x020000>; + label = "reserved"; + read-only; + }; + + partition@200000 { + reg = <0x200000 0x010000>; + label = "configuration store"; + }; + + partition@210000 { + reg = <0x210000 0x1d0000>; + label = "bootloader"; + }; + + partition@3e0000 { + reg = <0x3e0000 0x020000>; + label = "bootloader environment"; + }; }; }; }; -- 2.20.1