diff options
author | George Hung <ghung.quanta@gmail.com> | 2021-10-08 08:30:06 +0300 |
---|---|---|
committer | Joel Stanley <joel@jms.id.au> | 2021-11-01 09:42:46 +0300 |
commit | ed8bdda070ba6620181181d7b54f597e10d5decf (patch) | |
tree | 65d22a43a733143911d0236d0526a3fe37774af3 /arch | |
parent | 65271b06d6519c6993aa5daaa13924a0aaa9df03 (diff) | |
download | linux-ed8bdda070ba6620181181d7b54f597e10d5decf.tar.xz |
ARM: dts: nuvoton: gbs: split SPI flash partition
Split the primary and secondary BIOS SPI EEPROMs in 2 partitions
OpenBMC-Staging-Count: 2
Signed-off-by: George Hung <george.hung@quantatw.com>
Link: https://lore.kernel.org/r/20211008053006.31961-1-george.hung@quantatw.com
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts index eb6eb21cb2a4..f20c2ae4f576 100644 --- a/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts +++ b/arch/arm/boot/dts/nuvoton-npcm730-gbs.dts @@ -415,6 +415,19 @@ spi-rx-bus-width = <2>; m25p,fast-read; label = "pnor"; + partitions@a0000000 { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + pnor-primary@0 { + label = "pnor-primary"; + reg = <0x0000000 0x2000000>; + }; + pnor-scratch@2000000 { + label = "pnor-scratch"; + reg = <0x2000000 0x2000000>; + }; + }; }; spi-nor@1 { compatible = "jedec,spi-nor"; @@ -424,6 +437,20 @@ spi-max-frequency = <50000000>; spi-rx-bus-width = <2>; m25p,fast-read; + label = "pnor-2"; + partitions@a0000000 { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + pnor-primary@0 { + label = "pnor-2-primary"; + reg = <0x0000000 0x2000000>; + }; + pnor-scratch@2000000 { + label = "pnor-2-scratch"; + reg = <0x2000000 0x2000000>; + }; + }; }; }; |