ARM: dts: imx50-evk: Use generic node name for SPI NOR flash
authorFabio Estevam <festevam@denx.de>
Mon, 31 Jul 2023 13:34:20 +0000 (10:34 -0300)
committerShawn Guo <shawnguo@kernel.org>
Sun, 6 Aug 2023 12:22:44 +0000 (20:22 +0800)
Node names should be generic, so use 'flash' as the SPI NOR flash node
name.

This fixes the following schema warning:

imx53-smd.dtb: m25p32@1: $nodename:0: 'm25p32@1' does not match '^(flash|.*sram|nand)(@.*)?$'
from schema $id: http://devicetree.org/schemas/mtd/jedec,spi-nor.yaml#

Signed-off-by: Fabio Estevam <festevam@denx.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx50-evk.dts

index 4ea5c23..3f45c01 100644 (file)
@@ -23,7 +23,7 @@
        cs-gpios = <&gpio4 11 GPIO_ACTIVE_LOW>, <&gpio4 13 GPIO_ACTIVE_LOW>;
        status = "okay";
 
-       flash: m25p32@1 {
+       flash: flash@1 {
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "m25p32", "jedec,spi-nor";