ARM: dts: nuvoton: gbs: split SPI flash partition
PATCH 1/1 ARM: dts: nuvoton: gbs: split SPI flash partition
Split the primary and secondary BIOS SPI EEPROMs in 2 partitions
Signed-off-by George Hung <[email protected]>
--- arch/arm/boot/dts/nuvoton-npcm730-gbs.dts | 27 +++++++++++++++++++++++ 1 file changed, 27 insertions(+)
arch/arm/boot/dts/nuvoton-npcm730-gbs.dts +27 -0
@@ -415,6 +415,19 @@ spi-nor@0 { 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-nor@1 { 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>; + }; + }; }; };
Signature · 1 line
2.32.0
Joel Stanley
AppliedQuoted 4 lines · George Hung
Split the primary and secondary BIOS SPI EEPROMs in 2 partitions
Signed-off-by George Hung <[email protected]>
Applied, thanks.