2018-08-01 14:50:48 +08:00
|
|
|
/* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
&flash0 {
|
|
|
|
/*
|
|
|
|
* For more information, see:
|
2020-07-30 21:52:18 +08:00
|
|
|
* https://docs.zephyrproject.org/latest/guides/dts/legacy-macros.html#legacy-flash-partitions
|
2018-08-01 14:50:48 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
boot_partition: partition@0 {
|
|
|
|
label = "mcuboot";
|
|
|
|
reg = <0x000000000 0x0000E000>;
|
|
|
|
};
|
|
|
|
slot0_partition: partition@c000 {
|
|
|
|
label = "image-0";
|
2019-02-23 03:23:10 +08:00
|
|
|
reg = <0x0000E000 0x000066000>;
|
2018-08-01 14:50:48 +08:00
|
|
|
};
|
2019-02-23 03:23:10 +08:00
|
|
|
slot1_partition: partition@73000 {
|
2018-08-01 14:50:48 +08:00
|
|
|
label = "image-1";
|
2019-02-23 03:23:10 +08:00
|
|
|
reg = <0x00074000 0x000066000>;
|
2018-08-01 14:50:48 +08:00
|
|
|
};
|
2019-02-23 03:23:10 +08:00
|
|
|
scratch_partition: partition@da000 {
|
2018-08-01 14:50:48 +08:00
|
|
|
label = "image-scratch";
|
2019-02-23 03:23:10 +08:00
|
|
|
reg = <0x000da000 0x0001e000>;
|
2018-08-01 14:50:48 +08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|