Skip to content

Commit b236e48

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 9bafc4f commit b236e48

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
@@ -63,9 +63,9 @@
6363
#address-cells = <1>;
6464
#size-cells = <1>;
6565

66-
softdevice_static_ram: partition@20000000 {
66+
softdevice_static_ram: partition@20000080 {
6767
label = "softdevice_static_ram";
68-
reg = <0x20000000 DT_SIZE_K(5)>;
68+
reg = <0x20000080 0x1380>;
6969
};
7070

7171
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
@@ -99,9 +99,9 @@
9999
#address-cells = <1>;
100100
#size-cells = <1>;
101101

102-
softdevice_static_ram: partition@20000000 {
102+
softdevice_static_ram: partition@20000080 {
103103
label = "softdevice_static_ram";
104-
reg = <0x20000000 DT_SIZE_K(5)>;
104+
reg = <0x20000080 0x1380>;
105105
};
106106

107107
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
@@ -63,9 +63,9 @@
6363
#address-cells = <1>;
6464
#size-cells = <1>;
6565

66-
softdevice_static_ram: partition@20000000 {
66+
softdevice_static_ram: partition@20000080 {
6767
label = "softdevice_static_ram";
68-
reg = <0x20000000 DT_SIZE_K(5)>;
68+
reg = <0x20000080 0x1380>;
6969
};
7070

7171
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
@@ -99,9 +99,9 @@
9999
#address-cells = <1>;
100100
#size-cells = <1>;
101101

102-
softdevice_static_ram: partition@20000000 {
102+
softdevice_static_ram: partition@20000080 {
103103
label = "softdevice_static_ram";
104-
reg = <0x20000000 DT_SIZE_K(5)>;
104+
reg = <0x20000080 0x1380>;
105105
};
106106

107107
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
@@ -63,9 +63,9 @@
6363
#address-cells = <1>;
6464
#size-cells = <1>;
6565

66-
softdevice_static_ram: partition@20000000 {
66+
softdevice_static_ram: partition@20000080 {
6767
label = "softdevice_static_ram";
68-
reg = <0x20000000 DT_SIZE_K(5)>;
68+
reg = <0x20000080 0x1380>;
6969
};
7070

7171
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
@@ -99,9 +99,9 @@
9999
#address-cells = <1>;
100100
#size-cells = <1>;
101101

102-
softdevice_static_ram: partition@20000000 {
102+
softdevice_static_ram: partition@20000080 {
103103
label = "softdevice_static_ram";
104-
reg = <0x20000000 DT_SIZE_K(5)>;
104+
reg = <0x20000080 0x1380>;
105105
};
106106

107107
softdevice_dynamic_ram: partition@20001400 {

0 commit comments

Comments
 (0)