Skip to content

Commit 481840a

Browse files
Vge0rgenordicjm
authored andcommitted
[nrf fromtree] boards: nordic: Fix RRAM size for nRF54l10 NS
The nRF54L1 has 1012 KB RRAM and not 1022 KB as it was set before. This adjusts the NS target with the correct size. Signed-off-by: Georgios Vasilakis <[email protected]> (cherry picked from commit 9f0d277)
1 parent 6d1a118 commit 481840a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l10_cpuapp_ns.dts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
/ {
3232
/*
3333
* Default SRAM planning when building for nRF54L10 with ARM TrustZone-M support.
34-
* - Lowest 96 kB SRAM allocated to Secure image (sram0_s).
35-
* - Upper 96 kB SRAM allocated to Non-Secure image (sram0_ns).
34+
* - Lowest 72 kB SRAM allocated to Secure image (sram0_s).
35+
* - Upper 72 kB SRAM allocated to Non-Secure image (sram0_ns).
3636
*
3737
* nRF54L10 has 192 kB of volatile memory (SRAM) but the last 42kB are reserved for
3838
* the FLPR MCU.
@@ -62,7 +62,7 @@
6262
compatible = "fixed-partitions";
6363
#address-cells = <1>;
6464
#size-cells = <1>;
65-
/* nRF54L10 has 1022 kB of non volatile memory (RRAM) but the
65+
/* nRF54L10 has 1012 kB of non volatile memory (RRAM) but the
6666
* last 62kB are reserved for the FLPR MCU.
6767
*
6868
* This static layout needs to be the same with the upstream TF-M layout in the
@@ -91,12 +91,12 @@
9191

9292
slot0_ns_partition: partition@6A000 {
9393
label = "image-0-nonsecure";
94-
reg = <0x0006A000 DT_SIZE_K(504)>;
94+
reg = <0x0006A000 DT_SIZE_K(494)>;
9595
};
9696

97-
storage_partition: partition@E8000 {
97+
storage_partition: partition@E5800 {
9898
label = "storage";
99-
reg = <0x000E8000 DT_SIZE_K(32)>;
99+
reg = <0x000E5800 DT_SIZE_K(32)>;
100100
};
101101
};
102102
};

boards/nordic/nrf54l15dk/nrf54l15dk_nrf54l10_cpuapp_ns.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ toolchain:
99
- gnuarmemb
1010
- zephyr
1111
ram: 192
12-
flash: 1022
12+
flash: 1012
1313
supported:
1414
- adc
1515
- gpio

0 commit comments

Comments
 (0)