summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeo Lu <leo.lu@starfivetech.com>2025-01-21 09:51:06 +0300
committerLeo Lu <leo.lu@starfivetech.com>2025-01-21 09:51:06 +0300
commit8587185299e8b1625deda5471a0329903e4a73e5 (patch)
tree0e588e21b0f4cfd279332705ae13fc8263a6a5eb
parent7082b450a063b5b6b916fc67b2415fa0cbf9a2db (diff)
downloadlinux-pinetabv-6.6.y-devel.tar.xz
dts:mtd: add qspi configpinetab-v1.3.0pinetabv-6.6.y-devel
Signed-off-by: Leo Lu <leo.lu@starfivetech.com>
-rwxr-xr-xarch/riscv/boot/dts/starfive/jh7110-pinetab-v.dtsi35
1 files changed, 35 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7110-pinetab-v.dtsi b/arch/riscv/boot/dts/starfive/jh7110-pinetab-v.dtsi
index e2de0d82bbd9..2662594d1933 100755
--- a/arch/riscv/boot/dts/starfive/jh7110-pinetab-v.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110-pinetab-v.dtsi
@@ -1196,4 +1196,39 @@
cpu-supply = <&vdd_cpu>;
};
+&qspi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ nor_flash: flash@0 {
+ compatible = "jedec,spi-nor";
+ reg = <0>;
+ cdns,read-delay = <5>;
+ spi-max-frequency = <12000000>;
+ cdns,tshsl-ns = <1>;
+ cdns,tsd2d-ns = <1>;
+ cdns,tchsh-ns = <1>;
+ cdns,tslch-ns = <1>;
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ spl@0 {
+ reg = <0x0 0x80000>;
+ };
+ uboot-env@f0000 {
+ reg = <0xf0000 0x10000>;
+ };
+ uboot@100000 {
+ reg = <0x100000 0x400000>;
+ };
+ reserved-data@600000 {
+ reg = <0x600000 0xa00000>;
+ };
+ };
+ };
+};