dts: nrf52840_pca10056: add flash partitions
Analogously to the frdm_k64f, add flash partitions for the nrf52840_pca10056. Signed-off-by: Marti Bolivar <marti.bolivar@linaro.org>
This commit is contained in:
parent
f58b36a65a
commit
f913639d00
1 changed files with 40 additions and 0 deletions
|
@ -24,3 +24,43 @@
|
||||||
current-speed = <115200>;
|
current-speed = <115200>;
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&flash0 {
|
||||||
|
/*
|
||||||
|
* If chosen's zephyr,code-partition
|
||||||
|
* is unset, the image will be linked
|
||||||
|
* into the entire flash device. If
|
||||||
|
* it points to an individual
|
||||||
|
* partition, the code will be linked
|
||||||
|
* to, and restricted to that
|
||||||
|
* partition.
|
||||||
|
*/
|
||||||
|
partitions {
|
||||||
|
compatible = "fixed-partitions";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
|
||||||
|
boot_partition: partition@0 {
|
||||||
|
label = "mcuboot";
|
||||||
|
reg = <0x000000000 0x00008000>;
|
||||||
|
};
|
||||||
|
slot0_partition: partition@8000 {
|
||||||
|
label = "image-0";
|
||||||
|
reg = <0x00008000 0x00006c000>;
|
||||||
|
};
|
||||||
|
slot1_partition: partition@74000 {
|
||||||
|
label = "image-1";
|
||||||
|
reg = <0x00074000 0x00006c000>;
|
||||||
|
};
|
||||||
|
scratch_partition: partition@e0000 {
|
||||||
|
label = "image-scratch";
|
||||||
|
reg = <0x000e0000 0x0001d000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The flash starting at 0x000fd000 and ending at 0x000fffff
|
||||||
|
* (sectors 253 through 255) is reserved for use by the
|
||||||
|
* application.
|
||||||
|
*/
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue