]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: imx6: rename node name flash to eeprom
authorFrank Li <Frank.Li@nxp.com>
Wed, 3 Sep 2025 20:20:02 +0000 (16:20 -0400)
committerShawn Guo <shawnguo@kernel.org>
Thu, 11 Sep 2025 03:18:09 +0000 (11:18 +0800)
Rename node name flash to eeprom to fix below CHECK_DTBS warnings:
arch/arm/boot/dts/nxp/imx/imx6q-b450v3.dtb: flash@0 (atmel,at25): $nodename: 'anyOf' conditional failed, one must be fixed:
        'flash@0' does not match '^eeprom@[0-9a-f]{1,2}$'
        'flash@0' does not match '^fram@[0-9a-f]{1,2}$'

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/nxp/imx/imx6q-bx50v3.dtsi
arch/arm/boot/dts/nxp/imx/imx6q-dms-ba16.dts

index aa1adcc740195172f1c387c1edfbf829af68464d..e1d0c6e123fd728f7bf6a6aa19c22b75ce3e5817 100644 (file)
        pinctrl-0 = <&pinctrl_ecspi5>;
        status = "okay";
 
-       m25_eeprom: flash@0 {
+       m25_eeprom: eeprom@0 {
                compatible = "atmel,at25";
                spi-max-frequency = <10000000>;
                size = <0x8000>;
index d2d0a82ea1782ddb233731f6ac8cce725139893e..484a60892229d869748f3256250b1dbaf0684937 100644 (file)
@@ -47,7 +47,7 @@
        pinctrl-0 = <&pinctrl_ecspi5>;
        status = "okay";
 
-       m25_eeprom: flash@0 {
+       m25_eeprom: eeprom@0 {
                compatible = "atmel,at25256B", "atmel,at25";
                spi-max-frequency = <20000000>;
                size = <0x8000>;