riscv: dts: canaan: Fix SPI FLASH node names
authorGeert Uytterhoeven <geert@linux-m68k.org>
Fri, 17 Dec 2021 12:49:22 +0000 (13:49 +0100)
committerPalmer Dabbelt <palmer@rivosinc.com>
Sun, 9 Jan 2022 18:10:52 +0000 (10:10 -0800)
"make dtbs_check":

    arch/riscv/boot/dts/canaan/sipeed_maix_bit.dt.yaml: spi-flash@0: $nodename:0: 'spi-flash@0' does not match '^flash(@.*)?$'
    From schema: Documentation/devicetree/bindings/mtd/jedec,spi-nor.yaml

Fix this by renaming all SPI FLASH nodes to "flash".

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tested-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts
arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts
arch/riscv/boot/dts/canaan/sipeed_maix_go.dts
arch/riscv/boot/dts/canaan/sipeed_maixduino.dts

index 0bcaf35045e795ed2c7c518004730a763b42ad36..984872f3d3a9b9ea0c8d2b1fd1ce927d1c7ac0bf 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;
index ac8a03f5867adbd03d33361ebfb3c979c4e0bec9..7ba99b4da304218e8a954df13c94190da4250bec 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;
index 623998194bc18aabb0aee79bad26a71665c64c8d..be9b12c9b374acb38aff0838b824ec9d84496ff6 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;
index cf605ba0d67e43cd3303c135ae695d9580ebe119..031c0c28f81957772d1b38c2811951c11a191145 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;