aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/dts
diff options
context:
space:
mode:
authorSean Anderson2021-02-04 23:11:19 -0500
committerLeo Yu-Chi Liang2021-02-25 18:06:08 +0800
commit5540294fa48598bf1aa8aa4d9084506a19bbd64c (patch)
tree6184f0bd2e6aeabcf818dc18e57945271aae3a06 /arch/riscv/dts
parent921d5477b971693892025a3b76feb3628a078b50 (diff)
riscv: k210: Enable QSPI for spi3
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>
Diffstat (limited to 'arch/riscv/dts')
-rw-r--r--arch/riscv/dts/k210-maix-bit.dts2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/riscv/dts/k210-maix-bit.dts b/arch/riscv/dts/k210-maix-bit.dts
index e4dea205b24..902dcfd08a9 100644
--- a/arch/riscv/dts/k210-maix-bit.dts
+++ b/arch/riscv/dts/k210-maix-bit.dts
@@ -200,6 +200,8 @@
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;
};