aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSean Anderson <seanga2@gmail.com>2021-02-04 23:11:19 -0500
committerLeo Yu-Chi Liang <ycliang@andestech.com>2021-02-25 18:06:08 +0800
commit5540294fa48598bf1aa8aa4d9084506a19bbd64c (patch)
tree6184f0bd2e6aeabcf818dc18e57945271aae3a06 /arch
parent921d5477b971693892025a3b76feb3628a078b50 (diff)
downloadu-boot-5540294fa48598bf1aa8aa4d9084506a19bbd64c.zip
u-boot-5540294fa48598bf1aa8aa4d9084506a19bbd64c.tar.gz
u-boot-5540294fa48598bf1aa8aa4d9084506a19bbd64c.tar.bz2
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')
-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 e4dea20..902dcfd 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;
};