ARM: dts: imx: Use flash@0,0 pattern
authorFabio Estevam <festevam@denx.de>
Wed, 6 Dec 2023 12:36:05 +0000 (09:36 -0300)
committerShawn Guo <shawnguo@kernel.org>
Wed, 13 Dec 2023 09:11:51 +0000 (17:11 +0800)
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>
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 5833fb6f15d88acc096d7acb71fe518153adcd8b..2c817c4a4c68f8ec9e100db747762067c7a4b483 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 1f11e9542a72de5e5425e6b7d8c24d3552f0eea7..e66eef87a7a4fdfe33c8249946400b5fd7075f8a 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 4b83e2918b5585b623083c12c25db21c3ba98ac9..c7e92358487826874e74d819af17764311016d4a 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 7b2ea4cdae58c98414e189a1428605710ff22792..8d428c8446665e6f7f4b7baa88d099500fdde1ce 100644 (file)
 &weim {
        status = "okay";
 
-       nor: nor@0,0 {
+       nor: flash@0,0 {
                compatible = "cfi-flash";
                reg = <0 0x00000000 0x02000000>;
                bank-width = <2>;