Skip to content

Commit 9dc6040

Browse files
nordicjmhenrikbrixandersen
authored andcommitted
boards: nordic: nrf54l10: Change to use common dts partitioning file
Adds a common vendor dts file specifying the default partition layout for nRF54L10-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 0f0c80e commit 9dc6040

File tree

5 files changed

+44
-94
lines changed

5 files changed

+44
-94
lines changed

boards/ezurio/bl54l15_dvk/bl54l15_dvk_nrf54l10_cpuapp.dts

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -26,49 +26,5 @@
2626
ranges = <0x0 0x20000000 DT_SIZE_K(192)>;
2727
};
2828

29-
&cpuapp_rram {
30-
reg = <0x0 DT_SIZE_K(1022)>;
31-
};
32-
33-
/* These partition sizes assume no FLPR area in RRAM */
34-
&cpuapp_rram {
35-
partitions {
36-
compatible = "fixed-partitions";
37-
#address-cells = <1>;
38-
#size-cells = <1>;
39-
40-
boot_partition: partition@0 {
41-
label = "mcuboot";
42-
reg = <0x0 DT_SIZE_K(64)>;
43-
};
44-
45-
slot0_partition: partition@10000 {
46-
label = "image-0";
47-
reg = <0x10000 DT_SIZE_K(224)>;
48-
};
49-
50-
slot0_ns_partition: partition@48000 {
51-
label = "image-0-nonsecure";
52-
reg = <0x48000 DT_SIZE_K(224)>;
53-
};
54-
55-
slot1_partition: partition@80000 {
56-
label = "image-1";
57-
reg = <0x80000 DT_SIZE_K(224)>;
58-
};
59-
60-
slot1_ns_partition: partition@b8000 {
61-
label = "image-1-nonsecure";
62-
reg = <0xb8000 DT_SIZE_K(224)>;
63-
};
64-
65-
/* 32K from 0xf0000 to 0xf7fff reserved for TF-M partitions */
66-
67-
storage_partition: partition@f8000 {
68-
label = "storage";
69-
reg = <0xf8000 DT_SIZE_K(28)>;
70-
};
71-
72-
/* 2K from 0xff000 to 0xff7ff unused */
73-
};
74-
};
29+
/* Include default memory partition configuration file */
30+
#include <nordic/nrf54l10_partition.dtsi>

boards/ezurio/bl54l15_dvk/bl54l15_dvk_nrf54l10_cpuapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ toolchain:
1111
- zephyr
1212
sysbuild: true
1313
ram: 192
14-
flash: 230
14+
flash: 1012
1515
supported:
1616
- adc
1717
- counter

boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l10_cpuapp.dts

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

28-
&cpuapp_rram {
29-
reg = <0x0 DT_SIZE_K(1022)>;
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(224)>;
47-
};
48-
49-
slot0_ns_partition: partition@48000 {
50-
label = "image-0-nonsecure";
51-
reg = <0x48000 DT_SIZE_K(224)>;
52-
};
53-
54-
slot1_partition: partition@80000 {
55-
label = "image-1";
56-
reg = <0x80000 DT_SIZE_K(224)>;
57-
};
58-
59-
slot1_ns_partition: partition@b8000 {
60-
label = "image-1-nonsecure";
61-
reg = <0xb8000 DT_SIZE_K(224)>;
62-
};
63-
64-
/* 32K from 0xf0000 to 0xf7fff reserved for TF-M partitions */
65-
66-
storage_partition: partition@f8000 {
67-
label = "storage";
68-
reg = <0xf8000 DT_SIZE_K(28)>;
69-
};
70-
71-
/* 2K from 0xff000 to 0xff7ff unused */
72-
};
73-
};
28+
/* Include default memory partition configuration file */
29+
#include <nordic/nrf54l10_partition.dtsi>

boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l10_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: 192
13-
flash: 230
13+
flash: 1012
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(1012)>;
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(456)>;
26+
};
27+
28+
slot1_partition: partition@82000 {
29+
label = "image-1";
30+
reg = <0x82000 DT_SIZE_K(456)>;
31+
};
32+
33+
storage_partition: partition@f4000 {
34+
label = "storage";
35+
reg = <0xf4000 DT_SIZE_K(36)>;
36+
};
37+
};
38+
};

0 commit comments

Comments
 (0)