Skip to content

Commit 3313d3c

Browse files
committed
[nrf fromlist] boards: nordic: nrf54l20pdk: Increase RAM, Flash on FLPR
Increase SRAM and RRAM available for FLPR core on nRF54L20. Increase both memories from 64k to 96k as it's on L15. L20 has more memory than L15. Currently, some tests/samples doesn't fit. Upstream PR #: 87391 Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>
1 parent 8339016 commit 3313d3c

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

boards/nordic/nrf54l20pdk/nrf54l20pdk_nrf54l20_cpuapp.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ toolchain:
1010
- xtools
1111
- zephyr
1212
sysbuild: true
13-
ram: 512
13+
ram: 415
1414
flash: 449
1515
supported:
1616
- adc

boards/nordic/nrf54l20pdk/nrf54l20pdk_nrf54l20_cpuflpr.dts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
cpuflpr_code_partition: partition@0 {
3535
label = "image-0";
36-
reg = <0x0 DT_SIZE_K(64)>;
36+
reg = <0x0 DT_SIZE_K(96)>;
3737
};
3838
};
3939
};

boards/nordic/nrf54l20pdk/nrf54l20pdk_nrf54l20_cpuflpr.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@ arch: riscv
88
toolchain:
99
- zephyr
1010
sysbuild: true
11-
ram: 64
12-
flash: 64
11+
ram: 96
12+
flash: 96
1313
supported:
1414
- counter
1515
- gpio
16+
- i2c
17+
- spi

dts/common/nordic/nrf54l20.dtsi

+10-8
Original file line numberDiff line numberDiff line change
@@ -95,20 +95,22 @@
9595

9696
cpuapp_sram: memory@20000000 {
9797
compatible = "mmio-sram";
98-
reg = <0x20000000 DT_SIZE_K(447)>;
98+
reg = <0x20000000 DT_SIZE_K(415)>;
9999
#address-cells = <1>;
100100
#size-cells = <1>;
101-
ranges = <0x0 0x20000000 0x6fc00>;
101+
ranges = <0x0 0x20000000 0x67c00>;
102102
};
103103

104-
cpuflpr_sram: memory@2006fc00 {
104+
cpuflpr_sram: memory@20067c00 {
105105
compatible = "mmio-sram";
106-
reg = <0x2006fc00 DT_SIZE_K(64)>;
106+
reg = <0x20067c00 DT_SIZE_K(96)>;
107107
#address-cells = <1>;
108108
#size-cells = <1>;
109-
ranges = <0x0 0x2006fc00 0x10000>;
109+
ranges = <0x0 0x20067c00 0x18000>;
110110
};
111111

112+
/* 0x20067c00 - 0x20080000; size 0x400 (1k): Reserved for VPR context */
113+
112114
global_peripherals: peripheral@50000000 {
113115
ranges = <0x0 0x50000000 0x10000000>;
114116
#address-cells = <1>;
@@ -794,14 +796,14 @@
794796

795797
cpuapp_rram: rram@0 {
796798
compatible = "soc-nv-flash";
797-
reg = <0x0 DT_SIZE_K(1972)>;
799+
reg = <0x0 DT_SIZE_K(1940)>;
798800
erase-block-size = <4096>;
799801
write-block-size = <16>;
800802
};
801803

802-
cpuflpr_rram: rram@1ed000 {
804+
cpuflpr_rram: rram@1e5000 {
803805
compatible = "soc-nv-flash";
804-
reg = <0x1ed000 DT_SIZE_K(64)>;
806+
reg = <0x1e5000 DT_SIZE_K(96)>;
805807
erase-block-size = <4096>;
806808
write-block-size = <16>;
807809
};

snippets/nordic-flpr/soc/nrf54l20_cpuapp.overlay

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
#address-cells = <1>;
1010
#size-cells = <1>;
1111

12-
cpuflpr_code_partition: image@1ed000 {
12+
cpuflpr_code_partition: image@1e5000 {
1313
/* FLPR core code partition */
14-
reg = <0x1ed000 DT_SIZE_K(64)>;
14+
reg = <0x1e5000 DT_SIZE_K(96)>;
1515
};
1616
};
1717

18-
cpuflpr_sram_code_data: memory@2006fc00 {
18+
cpuflpr_sram_code_data: memory@20067c00 {
1919
compatible = "mmio-sram";
20-
reg = <0x2006fc00 DT_SIZE_K(64)>;
20+
reg = <0x20067c00 DT_SIZE_K(96)>;
2121
#address-cells = <1>;
2222
#size-cells = <1>;
23-
ranges = <0x0 0x2006fc00 0x10000>;
23+
ranges = <0x0 0x20067c00 0x18000>;
2424
};
2525
};
2626
};

0 commit comments

Comments
 (0)