From patchwork Wed Dec 6 12:36:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 13481735 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 6E549C4167B for ; Wed, 6 Dec 2023 12:36:50 +0000 (UTC) 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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=nwog5qQ0j1LlrKE2F474x79k+o5jM9Oghjo2epUUiRE=; b=VYYamI2vNNxPhX B3bMn56STSkxPD2JQMlu2dfkGBeEDBl60FemMBUsKc+Q1/cN81do2Pxu6Nkgn2sVo83aaESoVZlv/ k64IHAhFqjnp4FjZCQmrx6Llq9l2LDi7EscdxgxBlbLt21GQ3AWrEv+7srRxDE7vtyC2cJibD37o7 qbjKu7A2sL9dSV4Qg8+qz4aOsPi2uMHdlmA06e167SDpx+TgING6JHBIpJFxwn3HxFJxokQu3eE2w hBbMCNy3J6USCb1FIg8GT3TAFLTzMANMOSESBS7oENqNYNwucrPXp/7E3MlHlI7DylI36zMhrC/BW wFR6Wz4gz5AUqfkp0UdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rAr8W-00AHVm-0Z; Wed, 06 Dec 2023 12:36:20 +0000 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rAr8S-00AHUW-1u for linux-arm-kernel@lists.infradead.org; Wed, 06 Dec 2023 12:36:18 +0000 Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-5c67fdbe7d4so381081a12.0 for ; Wed, 06 Dec 2023 04:36:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701866173; x=1702470973; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=+FGlPBDi552F/NP+bRvljzw68E9AF53TzN4RqPEElfY=; b=JwT8NU/Tju3LNJxS72ufSLgAEW/Xs3QVli/89RgaC7u2zClS8pIQoNGiDrvwyyBENB 5bZgZGePYz2GhHfPnoP7B69lBjJ7wAy3NKILHrOhVtingPFsU6WVW10odgVK0F3SzIN8 F6ahxz95VdXgHwGMD0ynJPJq2PbXVILit/zLi955nkQsDlBghTR+vIxTvXM5eqEtYx7M NgJx6/LQOwcptwqGHmxdqDnhlTTeQ1QJxCgfgCwcEkKHjqfHGLB1IdKJ/7Hms8QGUXnr Mw4zUsnkK01x9SoCrM/jUD/Q46kGmx0UrjjDf28v29S79CnU9uD3Drvt1cKWv/8F/MrS w+OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701866173; x=1702470973; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+FGlPBDi552F/NP+bRvljzw68E9AF53TzN4RqPEElfY=; b=M+YjnjYbKRNMeE47priyPgD7MPFa+R9J2DmwWehYTQImCXlGjwsAFQz2Z0/FOrAoJn 3VybndmbtUwAttOMTkTwG+GY5h6ICp2LKfnxvLQVJ2DsOYqV1H1dDaQeozVW3iFPcb5K AGjGKte0olXOuFUsxex5/IfCHJ7cYvlPy0mR9r/olR0enC//dSQlj+1MSMdEanbd0isl 42HNU+8ybSxG2wUjGqkcywpjQG3/1ge25ds+iyQ4VAZvBfrGL3rVOWkAMOkxy69ZN5DJ 6xs2qrfhOGhYqVRwUuLebkFyDthbq0FNbRxdeSNRqskp7SFhRDQUpzetf6SKqU2EDRVC Uzcw== X-Gm-Message-State: AOJu0YxhcmC3PJJJQUdpLskAuxpxjfZj2j0jbqoD+rMUagBmc44SKwpz 7Sfwkv6851RkKDrUyHVnokw= X-Google-Smtp-Source: AGHT+IFPL/LWTVz6oNt618M/etdSjqN/bZTlWW625mhqOKHTab6Wiehq14YtpD9IZM1Y4TU8e8rmcQ== X-Received: by 2002:a05:6a20:1583:b0:18b:4b84:3a1 with SMTP id h3-20020a056a20158300b0018b4b8403a1mr1377214pzj.5.1701866173514; Wed, 06 Dec 2023 04:36:13 -0800 (PST) Received: from fabio-Precision-3551.. ([2804:14c:485:4b61:6764:e124:5ffc:3f5]) by smtp.gmail.com with ESMTPSA id e15-20020aa78c4f000000b006ce5f2996d4sm4635071pfd.143.2023.12.06.04.36.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 04:36:13 -0800 (PST) From: Fabio Estevam To: shawnguo@kernel.org Cc: linux-arm-kernel@lists.infradead.org, Fabio Estevam Subject: [PATCH v2] ARM: dts: imx: Use flash@0,0 pattern Date: Wed, 6 Dec 2023 09:36:05 -0300 Message-Id: <20231206123605.2255158-1-festevam@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231206_043616_625898_F33803A2 X-CRM114-Status: GOOD ( 10.96 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Fabio Estevam Per mtd-physmap.yaml, 'nor@0,0' is not a valid node pattern. Change it to 'flash@0,0' to fix the following dt-schema warning: imx1-ads.dtb: nor@0,0: $nodename:0: 'nor@0,0' does not match '^(flash|.*sram|nand)(@.*)?$' from schema $id: http://devicetree.org/schemas/mtd/mtd-physmap.yaml# Signed-off-by: Fabio Estevam --- Changes since v1: - Fix Subject. arch/arm/boot/dts/nxp/imx/imx1-ads.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts | 2 +- arch/arm/boot/dts/nxp/imx/imx27-eukrea-cpuimx27.dtsi | 2 +- arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx1-ads.dts b/arch/arm/boot/dts/nxp/imx/imx1-ads.dts index 5833fb6f15d8..2c817c4a4c68 100644 --- a/arch/arm/boot/dts/nxp/imx/imx1-ads.dts +++ b/arch/arm/boot/dts/nxp/imx/imx1-ads.dts @@ -65,7 +65,7 @@ &weim { pinctrl-0 = <&pinctrl_weim>; status = "okay"; - nor: nor@0,0 { + nor: flash@0,0 { compatible = "cfi-flash"; reg = <0 0x00000000 0x02000000>; bank-width = <4>; diff --git a/arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts b/arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts index 1f11e9542a72..e66eef87a7a4 100644 --- a/arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts +++ b/arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts @@ -45,7 +45,7 @@ &weim { pinctrl-0 = <&pinctrl_weim>; status = "okay"; - nor: nor@0,0 { + nor: flash@0,0 { compatible = "cfi-flash"; reg = <0 0x00000000 0x02000000>; bank-width = <2>; diff --git a/arch/arm/boot/dts/nxp/imx/imx27-eukrea-cpuimx27.dtsi b/arch/arm/boot/dts/nxp/imx/imx27-eukrea-cpuimx27.dtsi index 4b83e2918b55..c7e923584878 100644 --- a/arch/arm/boot/dts/nxp/imx/imx27-eukrea-cpuimx27.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx27-eukrea-cpuimx27.dtsi @@ -90,7 +90,7 @@ &usbotg { &weim { status = "okay"; - nor: nor@0,0 { + nor: flash@0,0 { #address-cells = <1>; #size-cells = <1>; compatible = "cfi-flash"; diff --git a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi index 7b2ea4cdae58..8d428c844666 100644 --- a/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi @@ -314,7 +314,7 @@ &usbotg { &weim { status = "okay"; - nor: nor@0,0 { + nor: flash@0,0 { compatible = "cfi-flash"; reg = <0 0x00000000 0x02000000>; bank-width = <2>;