Skip to content

Commit fe38b4d

Browse files
geertupalmer-dabbelt
authored andcommitted
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: Geert Uytterhoeven <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Tested-by: Damien Le Moal <[email protected]> Signed-off-by: Palmer Dabbelt <[email protected]>
1 parent d062a79 commit fe38b4d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
};
200200

201201
&spi3 {
202-
spi-flash@0 {
202+
flash@0 {
203203
compatible = "jedec,spi-nor";
204204
reg = <0>;
205205
spi-max-frequency = <50000000>;

arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@
201201
};
202202

203203
&spi3 {
204-
spi-flash@0 {
204+
flash@0 {
205205
compatible = "jedec,spi-nor";
206206
reg = <0>;
207207
spi-max-frequency = <50000000>;

arch/riscv/boot/dts/canaan/sipeed_maix_go.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@
209209
};
210210

211211
&spi3 {
212-
spi-flash@0 {
212+
flash@0 {
213213
compatible = "jedec,spi-nor";
214214
reg = <0>;
215215
spi-max-frequency = <50000000>;

arch/riscv/boot/dts/canaan/sipeed_maixduino.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@
174174
};
175175

176176
&spi3 {
177-
spi-flash@0 {
177+
flash@0 {
178178
compatible = "jedec,spi-nor";
179179
reg = <0>;
180180
spi-max-frequency = <50000000>;

0 commit comments

Comments
 (0)