diff options
author | Yang Lee <yang.lee@starfivetech.com> | 2023-02-21 08:36:54 +0300 |
---|---|---|
committer | Ley Foon Tan <leyfoon.tan@starfivetech.com> | 2023-12-04 06:00:14 +0300 |
commit | 722ab92fa2657af3bc4aa9728f2cffd59da91149 (patch) | |
tree | da0ae72820695266d8f42e385573d18eac6fc3f0 | |
parent | be7e888028cff2b005119644733226ca03f7807d (diff) | |
download | linux-722ab92fa2657af3bc4aa9728f2cffd59da91149.tar.xz |
riscv: dts: starfive: dubhe: Add flash partition patch
This patch includes flash partition changes.
Signed-off-by: Yang Lee <yang.lee@starfivetech.com>
-rw-r--r-- | arch/riscv/boot/dts/starfive/dubhe_fpga.dts | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts index 3e0e0c1c79a2..a8e1995eff7a 100644 --- a/arch/riscv/boot/dts/starfive/dubhe_fpga.dts +++ b/arch/riscv/boot/dts/starfive/dubhe_fpga.dts @@ -76,6 +76,31 @@ &qspi1 { status = "okay"; + + flash@0 { + compatible = "jedec,spi-nor"; + reg = <0>; + spi-max-frequency = <20000000>; + m25p,fast-read; + spi-tx-bus-width = <1>; + spi-rx-bus-width = <1>; + + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + reg = <0x000000 0x1730000>; + label = "Boot images"; + }; + + partition@1730000 { + reg = <0x1730000 0x68D0000>; + label = "Rootfs"; + }; + }; + }; }; &uart0 { |