Skip to content

Commit e2dbe8a

Browse files
committed
boards: bm_nrf54l: Adjust memory layout
Adjust the memory layout of all the nRF54l variants to take into account that the top 64 bytes of RAM are reserved for the KMU. Here 128 bytes of memory are reserved for future proofness. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent f591126 commit e2dbe8a

9 files changed

+62
-12
lines changed

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l05_cpuapp_common.dtsi

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@
1212
zephyr,flash-controller = &rram_controller;
1313
zephyr,boot-mode = &boot_mode0;
1414
};
15+
16+
soc {
17+
reserved-memory {
18+
#address-cells = <1>;
19+
#size-cells = <1>;
20+
ranges;
21+
22+
nrf_kmu_reserved_push_area: memory@20000000 {
23+
reg = <0x20000000 0x80>;
24+
compatible = "zephyr,memory-region", "mmio-sram";
25+
zephyr,memory-region = "nrf_kmu_reserved_push_area";
26+
status = "okay";
27+
};
28+
29+
};
30+
};
31+
32+
1533
};
1634

1735
/* Override NCS default to use entire SRAM for application CPU. */

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l05_cpuapp_s115_softdevice.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
#address-cells = <1>;
4545
#size-cells = <1>;
4646

47-
softdevice_static_ram: partition@20000000 {
47+
softdevice_static_ram: partition@20000080 {
4848
label = "softdevice_static_ram";
49-
reg = <0x20000000 DT_SIZE_K(5)>;
49+
reg = <0x20000080 0x1380>;
5050
};
5151

5252
softdevice_dynamic_ram: partition@20001678 {

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l05_cpuapp_s115_softdevice_mcuboot.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@
8080
#address-cells = <1>;
8181
#size-cells = <1>;
8282

83-
softdevice_static_ram: partition@20000000 {
83+
softdevice_static_ram: partition@20000080 {
8484
label = "softdevice_static_ram";
85-
reg = <0x20000000 DT_SIZE_K(5)>;
85+
reg = <0x20000080 0x1380>;
8686
};
8787

8888
softdevice_dynamic_ram: partition@20001400 {

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l10_cpuapp_common.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@
1212
zephyr,flash-controller = &rram_controller;
1313
zephyr,boot-mode = &boot_mode0;
1414
};
15+
16+
soc {
17+
reserved-memory {
18+
#address-cells = <1>;
19+
#size-cells = <1>;
20+
ranges;
21+
22+
nrf_kmu_reserved_push_area: memory@20000000 {
23+
reg = <0x20000000 0x80>;
24+
compatible = "zephyr,memory-region", "mmio-sram";
25+
zephyr,memory-region = "nrf_kmu_reserved_push_area";
26+
status = "okay";
27+
};
28+
29+
};
30+
};
1531
};
1632

1733
/* Override NCS default to use entire SRAM for application CPU. */

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l10_cpuapp_s115_softdevice.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
#address-cells = <1>;
4545
#size-cells = <1>;
4646

47-
softdevice_static_ram: partition@20000000 {
47+
softdevice_static_ram: partition@20000080 {
4848
label = "softdevice_static_ram";
49-
reg = <0x20000000 DT_SIZE_K(5)>;
49+
reg = <0x20000080 0x1380>;
5050
};
5151

5252
softdevice_dynamic_ram: partition@20001678 {

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l10_cpuapp_s115_softdevice_mcuboot.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@
8080
#address-cells = <1>;
8181
#size-cells = <1>;
8282

83-
softdevice_static_ram: partition@20000000 {
83+
softdevice_static_ram: partition@20000080 {
8484
label = "softdevice_static_ram";
85-
reg = <0x20000000 DT_SIZE_K(5)>;
85+
reg = <0x20000080 0x1380>;
8686
};
8787

8888
softdevice_dynamic_ram: partition@20001400 {

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l15_cpuapp_common.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@
1212
zephyr,flash-controller = &rram_controller;
1313
zephyr,boot-mode = &boot_mode0;
1414
};
15+
16+
soc {
17+
reserved-memory {
18+
#address-cells = <1>;
19+
#size-cells = <1>;
20+
ranges;
21+
22+
nrf_kmu_reserved_push_area: memory@20000000 {
23+
reg = <0x20000000 0x80>;
24+
compatible = "zephyr,memory-region", "mmio-sram";
25+
zephyr,memory-region = "nrf_kmu_reserved_push_area";
26+
status = "okay";
27+
};
28+
29+
};
30+
};
1531
};
1632

1733
/* Override NCS default to use entire SRAM for application CPU. */

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l15_cpuapp_s115_softdevice.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@
4444
#address-cells = <1>;
4545
#size-cells = <1>;
4646

47-
softdevice_static_ram: partition@20000000 {
47+
softdevice_static_ram: partition@20000080 {
4848
label = "softdevice_static_ram";
49-
reg = <0x20000000 DT_SIZE_K(5)>;
49+
reg = <0x20000080 0x1380>;
5050
};
5151

5252
softdevice_dynamic_ram: partition@20001678 {

boards/nordic/bm_nrf54l15dk/bm_nrf54l15dk_nrf54l15_cpuapp_s115_softdevice_mcuboot.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@
8080
#address-cells = <1>;
8181
#size-cells = <1>;
8282

83-
softdevice_static_ram: partition@20000000 {
83+
softdevice_static_ram: partition@20000080 {
8484
label = "softdevice_static_ram";
85-
reg = <0x20000000 DT_SIZE_K(5)>;
85+
reg = <0x20000080 0x1380>;
8686
};
8787

8888
softdevice_dynamic_ram: partition@20001400 {

0 commit comments

Comments
 (0)