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 0bcaf35..984872f 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;
index ac8a03f..7ba99b4 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;
index 6239981..be9b12c 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;
index cf605ba..031c0c2 100644 (file)
 };
 
 &spi3 {
-       spi-flash@0 {
+       flash@0 {
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;