Skip to content

Commit 1104239

Browse files
committed
boards: lite_nrf54l15: Update softdevice offset
The latest softdevice is at the end of RRAM, which by default is reserved for FLPR. Increase the size of RRAM allocated for the application core to use if for the softdevice. Signed-off-by: Herman Berget <[email protected]>
1 parent 61bf7e9 commit 1104239

10 files changed

+23
-12
lines changed

boards/nordic/lite_nrf54l15/lite_nrf54l15_cpuapp_common.dtsi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@
1919
ranges = <0x0 0x20000000 DT_SIZE_K(256)>;
2020
};
2121

22+
/* Override NCS default to use entire RRAM for cpuapp. */
23+
&cpuapp_rram {
24+
reg = <0x0 DT_SIZE_K(1524)>;
25+
};
26+
27+
2228
&grtc {
2329
owned-channels = <0 1 2 3 4 5 6 7 8 9 10 11>;
2430
/* Channels 7-11 reserved for Zero Latency IRQs, 3-4 for FLPR */

boards/nordic/lite_nrf54l15/lite_nrf54l15_nrf54l15_cpuapp.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@
2525
#size-cells = <1>;
2626
app_rom: partition@0 {
2727
label = "app_rom";
28-
reg = <0x0 DT_SIZE_K(1312)>;
28+
reg = <0x0 DT_SIZE_K(1396)>;
2929
};
30-
softdevice_rom: partition@148000 {
30+
softdevice_rom: partition@15d000 {
3131
label = "softdevice_rom";
32-
reg = <0x00148000 DT_SIZE_K(100)>;
32+
reg = <0x0015d000 DT_SIZE_K(128)>;
3333
};
3434
};
3535
};

boards/nordic/lite_nrf54l15/lite_nrf54l15_nrf54l15_cpuapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ toolchain:
1111
- zephyr
1212
sysbuild: true
1313
ram: 238
14-
flash: 1312
14+
flash: 1524

boards/nordic/lite_nrf54l15/lite_nrf54l15_nrf54l15_cpuapp_no_softdevice.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#size-cells = <1>;
2626
app_rom: partition@0 {
2727
label = "app_rom";
28-
reg = <0x0 DT_SIZE_K(1428)>;
28+
reg = <0x0 DT_SIZE_K(1524)>;
2929
};
3030
};
3131
};

boards/nordic/lite_nrf54l15/lite_nrf54l15_nrf54l15_cpuapp_no_softdevice.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ toolchain:
1111
- zephyr
1212
sysbuild: true
1313
ram: 256
14-
flash: 1428
14+
flash: 1524

boards/nordic/lite_nrf54l15_template/cpuapp_common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
ranges = <0x0 0x20000000 DT_SIZE_K(256)>;
2020
};
2121

22+
/* Override NCS default to use entire RRAM for cpuapp. */
23+
&cpuapp_rram {
24+
reg = <0x0 DT_SIZE_K(1524)>;
25+
};
26+
2227
&grtc {
2328
owned-channels = <0 1 2 3 4 5 6 7 8 9 10 11>;
2429
/* Channels 7-11 reserved for Zero Latency IRQs, 3-4 for FLPR */

boards/nordic/lite_nrf54l15_template/lite_nrf54l15_template_nrf54l15_cpuapp.dts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@
2727
#size-cells = <1>;
2828
app_rom: partition@0 {
2929
label = "app_rom";
30-
reg = <0x0 DT_SIZE_K(1312)>;
30+
reg = <0x0 DT_SIZE_K(1396)>;
3131
};
32-
softdevice_rom: partition@148000 {
32+
softdevice_rom: partition@15d000 {
3333
label = "softdevice_rom";
34-
reg = <0x00148000 DT_SIZE_K(100)>;
34+
reg = <0x0015d000 DT_SIZE_K(128)>;
3535
};
3636
};
3737
};

boards/nordic/lite_nrf54l15_template/lite_nrf54l15_template_nrf54l15_cpuapp.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ toolchain:
1111
- zephyr
1212
sysbuild: true
1313
ram: 238
14-
flash: 1312
14+
flash: 1524

boards/nordic/lite_nrf54l15_template/lite_nrf54l15_template_nrf54l15_cpuapp_no_softdevice.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#size-cells = <1>;
2828
app_rom: partition@0 {
2929
label = "app_rom";
30-
reg = <0x0 DT_SIZE_K(1428)>;
30+
reg = <0x0 DT_SIZE_K(1524)>;
3131
};
3232
};
3333
};

boards/nordic/lite_nrf54l15_template/lite_nrf54l15_template_nrf54l15_cpuapp_no_softdevice.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ toolchain:
1111
- zephyr
1212
sysbuild: true
1313
ram: 256
14-
flash: 1428
14+
flash: 1524

0 commit comments

Comments
 (0)