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:
parent
f987057eb3
commit
79f96d90cd
2 changed files with 57 additions and 0 deletions
|
@ -74,3 +74,31 @@
|
||||||
&gpioe {
|
&gpioe {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
partitions {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
boot_partition: partition@0 {
|
||||||
|
label = "mcuboot";
|
||||||
|
reg = <0x0 DT_SIZE_K(44)>;
|
||||||
|
};
|
||||||
|
/* The MCUBoot swap-move algorithm uses the last 2 sectors
|
||||||
|
* of the primary slot0 for swap status and move.
|
||||||
|
*/
|
||||||
|
slot0_partition: partition@b000 {
|
||||||
|
label = "image-0";
|
||||||
|
reg = <0xb000 (DT_SIZE_K(98) + DT_SIZE_K(4))>;
|
||||||
|
};
|
||||||
|
slot1_partition: partition@24800 {
|
||||||
|
label = "image-1";
|
||||||
|
reg = <0x24800 DT_SIZE_K(98)>;
|
||||||
|
};
|
||||||
|
storage_partition: partition@3d000 {
|
||||||
|
label = "storage";
|
||||||
|
reg = <0x3d000 DT_SIZE_K(12)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -86,3 +86,32 @@
|
||||||
pinctrl-0 = <&lpi2c1_default>;
|
pinctrl-0 = <&lpi2c1_default>;
|
||||||
pinctrl-names = "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)>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue