Commit fe38b4d6 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Palmer Dabbelt

riscv: dts: canaan: Fix SPI FLASH node names

"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: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Tested-by: default avatarDamien Le Moal <damien.lemoal@opensource.wdc.com>
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent d062a79b
...@@ -199,7 +199,7 @@ slot@0 { ...@@ -199,7 +199,7 @@ slot@0 {
}; };
&spi3 { &spi3 {
spi-flash@0 { flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
......
...@@ -201,7 +201,7 @@ slot@0 { ...@@ -201,7 +201,7 @@ slot@0 {
}; };
&spi3 { &spi3 {
spi-flash@0 { flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
......
...@@ -209,7 +209,7 @@ slot@0 { ...@@ -209,7 +209,7 @@ slot@0 {
}; };
&spi3 { &spi3 {
spi-flash@0 { flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
......
...@@ -174,7 +174,7 @@ slot@0 { ...@@ -174,7 +174,7 @@ slot@0 {
}; };
&spi3 { &spi3 {
spi-flash@0 { flash@0 {
compatible = "jedec,spi-nor"; compatible = "jedec,spi-nor";
reg = <0>; reg = <0>;
spi-max-frequency = <50000000>; spi-max-frequency = <50000000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment