riscv: k210: Enable QSPI for spi3
authorSean Anderson <seanga2@gmail.com>
Fri, 5 Feb 2021 04:11:19 +0000 (23:11 -0500)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 25 Feb 2021 10:06:08 +0000 (18:06 +0800)
This device has four IOs connected to the SPI flash. Add the appropriate
bindings.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Leo Liang <ycliang@andestech.com>
arch/riscv/dts/k210-maix-bit.dts

index e4dea20..902dcfd 100644 (file)
                compatible = "jedec,spi-nor";
                reg = <0>;
                spi-max-frequency = <50000000>;
+               spi-tx-bus-width = <4>;
+               spi-rx-bus-width = <4>;
                m25p,fast-read;
                broken-flash-reset;
        };