Skip to content

Commit 5afec5b

Browse files
committed
[nrf noup] boot/zephyr/boards: DTS partitioning for nrf54lm20dongle
Added DTS overlay for partitions on nRF54LM20dongle. This is for firmware loader - slot0_parttion spans till end of RRAM. An application build must keep the same start address but can downsize the partition. Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
1 parent 9417cd2 commit 5afec5b

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* Copyright (c) 2026 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/* This is nRF54lm20dongle_nrf54lm20b_cpuapp peculiar partitioning for MCUboot and firmware loader
8+
* slot0_partition spans RRAM with can be update by the firmware loader and booted by MCUboot.
9+
* beginning of the slot0_partition must match with the beginning of the slot0_partition of the user
10+
* application. Althought Application can be build for smaler partition and live some space for
11+
* other purposes like a storage partition.
12+
*/
13+
14+
/delete-node/ &boot_partition;
15+
/delete-node/ &slot0_partition;
16+
/delete-node/ &slot1_partition;
17+
/delete-node/ &storage_partition;
18+
19+
&cpuapp_rram {
20+
reg = <0x0 DT_SIZE_K(2036)>;
21+
ranges = <0x0 0x0 DT_SIZE_K(2036)>;
22+
23+
partitions {
24+
compatible = "fixed-partitions";
25+
#address-cells = <1>;
26+
#size-cells = <1>;
27+
28+
/* Matches board layout */
29+
boot_partition: partition@0 {
30+
label = "mcuboot";
31+
reg = <0x0 DT_SIZE_K(24)>;
32+
};
33+
34+
/* Matches board layout */
35+
slot1_partition: partition@6000 {
36+
label = "image-1";
37+
reg = <0x6000 DT_SIZE_K(116)>;
38+
};
39+
40+
/* Start matches board layout */
41+
slot0_partition: partition@23000 {
42+
label = "image-0";
43+
reg = <0x23000 DT_SIZE_K(1896)>;
44+
};
45+
};
46+
};

0 commit comments

Comments
 (0)