boards: nxp: update DTS for frdm_ke17z and frdm_ke17z512 boards

Update flash0 configuration to add boot, slot0, slot1 and storage
partitions to test FTFE/FTFA driver and flash.

Signed-off-by: Anke Xiao <anke.xiao@nxp.com>
This commit is contained in:
Anke Xiao 2024-07-23 17:02:42 +08:00 committed by Anas Nashif
commit 79f96d90cd
2 changed files with 57 additions and 0 deletions

View file

@ -86,3 +86,32 @@
pinctrl-0 = <&lpi2c1_default>;
pinctrl-names = "default";
};
&flash0 {
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
boot_partition: partition@0 {
label = "mcuboot";
reg = <0x00000000 DT_SIZE_K(64)>;
read-only;
};
/* The MCUBoot swap-move algorithm uses the last 2 sectors
* of the primary slot0 for swap status and move.
*/
slot0_partition: partition@10000 {
label = "image-0";
reg = <0x00010000 (DT_SIZE_K(202) + DT_SIZE_K(4))>;
};
slot1_partition: partition@43800 {
label = "image-1";
reg = <0x00043800 DT_SIZE_K(202)>;
};
storage_partition: partition@76000 {
label = "storage";
reg = <0x00076000 DT_SIZE_K(40)>;
};
};
};