Skip to content

Commit 3f337ca

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 96 as it's on L15. L20 has more memory than L15. Currently, some tests/samples doesn't fit. Signed-off-by: Sebastian Głąb <[email protected]>
1 parent 90e94f4 commit 3f337ca

File tree

5 files changed

+20
-17
lines changed

5 files changed

+20
-17
lines changed

boards/nordic/nrf54l20pdk/nrf54l20pdk_nrf54l20_cpuapp.yaml

Lines changed: 1 addition & 1 deletion
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: 416
1414
flash: 449
1515
supported:
1616
- adc

boards/nordic/nrf54l20pdk/nrf54l20pdk_nrf54l20_cpuflpr.dts

Lines changed: 1 addition & 1 deletion
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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ 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
18+
- watchdog

dts/common/nordic/nrf54l20.dtsi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,18 +95,18 @@
9595

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

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

112112
global_peripherals: peripheral@50000000 {
@@ -794,14 +794,14 @@
794794

795795
cpuapp_rram: rram@0 {
796796
compatible = "soc-nv-flash";
797-
reg = <0x0 DT_SIZE_K(1972)>;
797+
reg = <0x0 DT_SIZE_K(1940)>;
798798
erase-block-size = <4096>;
799799
write-block-size = <16>;
800800
};
801801

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

snippets/nordic-flpr/soc/nrf54l20_cpuapp.overlay

Lines changed: 5 additions & 5 deletions
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@20068000 {
1919
compatible = "mmio-sram";
20-
reg = <0x2006fc00 DT_SIZE_K(64)>;
20+
reg = <0x20068000 DT_SIZE_K(96)>;
2121
#address-cells = <1>;
2222
#size-cells = <1>;
23-
ranges = <0x0 0x2006fc00 0x10000>;
23+
ranges = <0x0 0x20068000 0x18000>;
2424
};
2525
};
2626
};

0 commit comments

Comments
 (0)