Skip to content

Commit

Permalink
boards: nxp: frdm_rw612: add flash partitions
Browse files Browse the repository at this point in the history
Add flash partirions for NXP FRDM RW612 board

Signed-off-by: Jamel Arbi <[email protected]>
  • Loading branch information
JA-NXP committed Nov 5, 2024
1 parent c0965be commit 79b140c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions boards/nxp/frdm_rw612/frdm_rw612.dts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,32 @@
erase-block-size = <4096>;
write-block-size = <1>;
spi-max-frequency = <133000000>;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(128)>;
};
/* The MCUBoot swap-move algorithm uses the last 2 sectors
* of the primary slot0 for swap status and move.
*/
slot0_partition: partition@20000 {
label = "image-0";
reg = <0x00020000 (DT_SIZE_M(3) + DT_SIZE_K(2 * 4))>;
};
slot1_partition: partition@323000 {
label = "image-1";
reg = <0x00323000 DT_SIZE_M(3)>;
};
storage_partition: partition@623000 {
label = "storage";
reg = <0x00623000 (DT_SIZE_M(58) - DT_SIZE_K(136))>;
};
};
};
};

Expand Down

0 comments on commit 79b140c

Please sign in to comment.