ARM: dts: imx: Use flash@0,0 pattern
authorFabio Estevam <festevam@denx.de>
Wed, 6 Dec 2023 12:36:05 +0000 (09:36 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:22 +0000 (20:14 +0000)
[ Upstream commit 1e1d7cc478fb16816de09740e3c323c0c188d58f ]

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 <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/nxp/imx/imx1-ads.dts
arch/arm/boot/dts/nxp/imx/imx1-apf9328.dts
arch/arm/boot/dts/nxp/imx/imx27-eukrea-cpuimx27.dtsi
arch/arm/boot/dts/nxp/imx/imx27-phytec-phycore-som.dtsi

index 5833fb6..2c817c4 100644 (file)
@@ -65,7 +65,7 @@
        pinctrl-0 = <&pinctrl_weim>;
        status = "okay";
 
-       nor: nor@0,0 {
+       nor: flash@0,0 {
                compatible = "cfi-flash";
                reg = <0 0x00000000 0x02000000>;
                bank-width = <4>;
index 1f11e95..e66eef8 100644 (file)
@@ -45,7 +45,7 @@
        pinctrl-0 = <&pinctrl_weim>;
        status = "okay";
 
-       nor: nor@0,0 {
+       nor: flash@0,0 {
                compatible = "cfi-flash";
                reg = <0 0x00000000 0x02000000>;
                bank-width = <2>;
index 4b83e29..c7e9235 100644 (file)
@@ -90,7 +90,7 @@
 &weim {
        status = "okay";
 
-       nor: nor@0,0 {
+       nor: flash@0,0 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "cfi-flash";
index 7191e10..efce284 100644 (file)
 &weim {
        status = "okay";
 
-       nor: nor@0,0 {
+       nor: flash@0,0 {
                compatible = "cfi-flash";
                reg = <0 0x00000000 0x02000000>;
                bank-width = <2>;