diff options
author | andy.hu <andy.hu@starfivetech.com> | 2023-10-19 15:58:31 +0300 |
---|---|---|
committer | andy.hu <andy.hu@starfivetech.com> | 2023-10-19 15:58:31 +0300 |
commit | 7d09a1a573e466edabffa59a44a559c87679da66 (patch) | |
tree | 8478e0aae08e0250b2cf09d98a61ede0054bc1c5 | |
parent | fd7482e454293064b658ae439baa0b098e25799d (diff) | |
parent | f06f47d053659b320e79d2d6cd3555cefdba7be3 (diff) | |
download | linux-7d09a1a573e466edabffa59a44a559c87679da66.tar.xz |
Merge branch 'CR_7889_vf2_qspi_5.15_ziv.xu' into 'vf2-515-devel'
CR_7889_vf2_qspi_5.15_ziv.xu
See merge request sbc/linux!173
-rw-r--r--[-rwxr-xr-x] | arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi index 35db289ec817..31f0448f360e 100755..100644 --- a/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110-visionfive-v2.dtsi @@ -952,3 +952,36 @@ &sof_dsp { memory-region = <&hifi4_reserved>; }; + +&qspi { + nor_flash: nor-flash@0 { + compatible = "jedec,spi-nor"; + reg=<0>; + cdns,read-delay = <5>; + spi-max-frequency = <100000000>; + cdns,tshsl-ns = <1>; + cdns,tsd2d-ns = <1>; + cdns,tchsh-ns = <1>; + cdns,tslch-ns = <1>; + status = "okay"; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + spl@0 { + reg = <0x0 0x40000>; + }; + uboot-env@100000 { + reg = <0xf0000 0x10000>; + }; + uboot@100000 { + reg = <0x100000 0x300000>; + }; + data@f00000 { + reg = <0xf00000 0x100000>; + }; + }; + }; +}; |