diff options
author | Ji Sheng Teoh <jisheng.teoh@starfivetech.com> | 2023-10-18 12:52:57 +0300 |
---|---|---|
committer | Ley Foon Tan <leyfoon.tan@starfivetech.com> | 2023-12-04 06:00:16 +0300 |
commit | 58727f264de5778b5bc5fec896169d15e8cc11fb (patch) | |
tree | 28494395ff15df8b4df979dd2c9906a909d32e70 | |
parent | a6d940511a405f7aef8e3b401d3ae52440d5c0e3 (diff) | |
download | linux-58727f264de5778b5bc5fec896169d15e8cc11fb.tar.xz |
riscv: dts: starfive: dubhe: Update QSPI partition
This patch updates QSPI partition to allow MTD util to update the
content inside the QSPI flash.
The QSPI partition are arranged as follow:
QSPI Flash content | Start Addr | End Addr | Size |
--------------------------------------------------------
Boot Copier(RO) | 0x00000000 | 0x00000fff | 4KB |
Boot Jump Code(RO) | 0x00001000 | 0x00001fff | 4KB |
U-Boot SPL | 0x00002000 | 0x00041fff | 256KB |
U-Boot FIT Image | 0x00042000 | 0x00141fff | 1MB |
Linux + Rootfs | 0x00142000 | 0x07ffffff | 126MB |
Signed-off-by: Ji Sheng Teoh <jisheng.teoh@starfivetech.com>
-rw-r--r-- | arch/riscv/boot/dts/starfive/dubhe_fpga_common.dtsi | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/arch/riscv/boot/dts/starfive/dubhe_fpga_common.dtsi b/arch/riscv/boot/dts/starfive/dubhe_fpga_common.dtsi index b310a1faf661..1e552ee0401e 100644 --- a/arch/riscv/boot/dts/starfive/dubhe_fpga_common.dtsi +++ b/arch/riscv/boot/dts/starfive/dubhe_fpga_common.dtsi @@ -94,13 +94,30 @@ #size-cells = <1>; partition@0 { - reg = <0x000000 0x2000000>; - label = "Boot images"; + reg = <0x00000000 0x00001000>; + label = "Boot Copier"; + read-only; }; - partition@2000000 { - reg = <0x2000000 0x6000000>; - label = "Rootfs"; + partition@1000 { + reg = <0x00001000 0x00001000>; + label = "Boot Jump Code"; + read-only; + }; + + partition@2000 { + reg = <0x00002000 0x00040000>; + label = "U-Boot SPL"; + }; + + partition@42000 { + reg = <0x00042000 0x00100000>; + label = "U-Boot FIT Image"; + }; + + partition@142000 { + reg = <0x00142000 0x07ebe000>; + label = "User"; }; }; }; |