jh71x0: add JH7100 / VF1 support
[openwrt/staging/wigyori.git] / target / linux / jh71x0 / patches-6.1 / 1025-riscv-dts-visionfive1-enable-QSPI.patch
diff --git a/target/linux/jh71x0/patches-6.1/1025-riscv-dts-visionfive1-enable-QSPI.patch b/target/linux/jh71x0/patches-6.1/1025-riscv-dts-visionfive1-enable-QSPI.patch
new file mode 100644 (file)
index 0000000..da76338
--- /dev/null
@@ -0,0 +1,25 @@
+From 21e0e009b1bffea86890fcbf6e1be4c4121258ef Mon Sep 17 00:00:00 2001
+From: Zoltan HERPAI <wigyori@uid0.hu>
+Date: Fri, 11 Aug 2023 11:28:27 +0200
+Subject: [PATCH 1025/1025] riscv: dts: visionfive1: enable QSPI
+
+Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
+---
+ .../riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts b/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
+index 4778653f0ce3..436e0fae906f 100644
+--- a/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
++++ b/arch/riscv/boot/dts/starfive/jh7100-starfive-visionfive-v1.dts
+@@ -37,3 +37,7 @@
+               reg = <0>;
+       };
+ };
++
++&qspi {
++      status = "okay";
++};
+-- 
+2.20.1
+