[PATCH 1/9] riscv: dts: canaan: Fix SPI FLASH node names
Damien Le Moal
damien.lemoal at opensource.wdc.com
Thu Nov 25 20:41:18 PST 2021
On 2021/11/26 0:31, Geert Uytterhoeven wrote:
> "make dtbs_check":
>
> arch/riscv/boot/dts/canaan/sipeed_maix_bit.dt.yaml: spi-flash at 0: $nodename:0: 'spi-flash at 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 at linux-m68k.org>
> ---
> arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts | 2 +-
> arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts | 2 +-
> arch/riscv/boot/dts/canaan/sipeed_maix_go.dts | 2 +-
> arch/riscv/boot/dts/canaan/sipeed_maixduino.dts | 2 +-
> 4 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts b/arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts
> index 0bcaf35045e795ed..984872f3d3a9b9ea 100644
> --- a/arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts
> +++ b/arch/riscv/boot/dts/canaan/sipeed_maix_bit.dts
> @@ -199,7 +199,7 @@ slot at 0 {
> };
>
> &spi3 {
> - spi-flash at 0 {
> + flash at 0 {
> compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <50000000>;
> diff --git a/arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts b/arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts
> index ac8a03f5867adbd0..7ba99b4da304218e 100644
> --- a/arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts
> +++ b/arch/riscv/boot/dts/canaan/sipeed_maix_dock.dts
> @@ -201,7 +201,7 @@ slot at 0 {
> };
>
> &spi3 {
> - spi-flash at 0 {
> + flash at 0 {
> compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <50000000>;
> diff --git a/arch/riscv/boot/dts/canaan/sipeed_maix_go.dts b/arch/riscv/boot/dts/canaan/sipeed_maix_go.dts
> index 623998194bc18aab..be9b12c9b374acb3 100644
> --- a/arch/riscv/boot/dts/canaan/sipeed_maix_go.dts
> +++ b/arch/riscv/boot/dts/canaan/sipeed_maix_go.dts
> @@ -209,7 +209,7 @@ slot at 0 {
> };
>
> &spi3 {
> - spi-flash at 0 {
> + flash at 0 {
> compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <50000000>;
> diff --git a/arch/riscv/boot/dts/canaan/sipeed_maixduino.dts b/arch/riscv/boot/dts/canaan/sipeed_maixduino.dts
> index cf605ba0d67e43cd..031c0c28f8195777 100644
> --- a/arch/riscv/boot/dts/canaan/sipeed_maixduino.dts
> +++ b/arch/riscv/boot/dts/canaan/sipeed_maixduino.dts
> @@ -174,7 +174,7 @@ slot at 0 {
> };
>
> &spi3 {
> - spi-flash at 0 {
> + flash at 0 {
> compatible = "jedec,spi-nor";
> reg = <0>;
> spi-max-frequency = <50000000>;
>
Reviewed-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>
Tested-by: Damien Le Moal <damien.lemoal at opensource.wdc.com>
--
Damien Le Moal
Western Digital Research
More information about the linux-riscv
mailing list