Skip to content

Commit 5bc71e6

Browse files
nordicjmhenrikbrixandersen
authored andcommitted
boards: nordic: nrf54l05: Change to use common dts partitioning file
Adds a common vendor dts file specifying the default partition layout for nRF54L05-based cpuapp board targets and updates boards to use this common file. This also drops the secure/non-secure split in the partitioning as this was reducing NVM storage that is not used by this board target and fixes the wrong flash field in twister yaml files Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent e542188 commit 5bc71e6

File tree

3 files changed

+41
-43
lines changed

3 files changed

+41
-43
lines changed

boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp.dts

Lines changed: 2 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -25,45 +25,5 @@
2525
ranges = <0x0 0x20000000 DT_SIZE_K(96)>;
2626
};
2727

28-
&cpuapp_rram {
29-
reg = <0x0 DT_SIZE_K(500)>;
30-
};
31-
32-
/* These partition sizes assume no FLPR area in RRAM */
33-
&cpuapp_rram {
34-
partitions {
35-
compatible = "fixed-partitions";
36-
#address-cells = <1>;
37-
#size-cells = <1>;
38-
39-
boot_partition: partition@0 {
40-
label = "mcuboot";
41-
reg = <0x0 DT_SIZE_K(64)>;
42-
};
43-
44-
slot0_partition: partition@10000 {
45-
label = "image-0";
46-
reg = <0x10000 DT_SIZE_K(100)>;
47-
};
48-
49-
slot0_ns_partition: partition@29000 {
50-
label = "image-0-nonsecure";
51-
reg = <0x29000 DT_SIZE_K(100)>;
52-
};
53-
54-
slot1_partition: partition@42000 {
55-
label = "image-1";
56-
reg = <0x42000 DT_SIZE_K(100)>;
57-
};
58-
59-
slot1_ns_partition: partition@5b000 {
60-
label = "image-1-nonsecure";
61-
reg = <0x5b000 DT_SIZE_K(100)>;
62-
};
63-
64-
storage_partition: partition@74000 {
65-
label = "storage";
66-
reg = <0x74000 DT_SIZE_K(36)>;
67-
};
68-
};
69-
};
28+
/* Include default memory partition configuration file */
29+
#include <nordic/nrf54l05_partition.dtsi>

boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l05_cpuapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ toolchain:
1010
- zephyr
1111
sysbuild: true
1212
ram: 96
13-
flash: 100
13+
flash: 500
1414
supported:
1515
- adc
1616
- counter
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&cpuapp_rram {
8+
reg = <0x0 DT_SIZE_K(500)>;
9+
};
10+
11+
/* These partition sizes assume no FLPR area in RRAM */
12+
&cpuapp_rram {
13+
partitions {
14+
compatible = "fixed-partitions";
15+
#address-cells = <1>;
16+
#size-cells = <1>;
17+
18+
boot_partition: partition@0 {
19+
label = "mcuboot";
20+
reg = <0x0 DT_SIZE_K(64)>;
21+
};
22+
23+
slot0_partition: partition@10000 {
24+
label = "image-0";
25+
reg = <0x10000 DT_SIZE_K(200)>;
26+
};
27+
28+
slot1_partition: partition@42000 {
29+
label = "image-1";
30+
reg = <0x42000 DT_SIZE_K(200)>;
31+
};
32+
33+
storage_partition: partition@74000 {
34+
label = "storage";
35+
reg = <0x74000 DT_SIZE_K(36)>;
36+
};
37+
};
38+
};

0 commit comments

Comments
 (0)