Skip to content

Commit c1e913c

Browse files
ArekBalysNordicVge0rge
authored andcommitted
[nrf fromtree] boards: nordic: Rearrange ram0x regions.
The ram0x partitions seem to be not compliant with nRF54H20 architecture and it causes that in the application dts overlay file it is difficult to extend cpuapp_ram0x_region without modifying whole layout. It is better to place cpurad_ram0x_region at the beginning at 2f010000 address and then cpuapp_ram0x_region right after that. Thanks to that, if the application needs to have more than 256 kB of RAM, in the application dts overlay file, a user can increase cpuapp_ram0x_region size up to 2f0be000. Signed-off-by: Arkadiusz Balys <[email protected]> (cherry picked from commit a53cb73)
1 parent f134485 commit c1e913c

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-memory_map.dtsi

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,44 +7,44 @@
77

88
/ {
99
reserved-memory {
10-
cpuapp_ram0x_region: memory@2f010000 {
10+
cpurad_ram0x_region: memory@2f010000 {
1111
compatible = "nordic,owned-memory";
12-
reg = <0x2f010000 DT_SIZE_K(260)>;
12+
reg = <0x2f010000 DT_SIZE_K(4)>;
1313
status = "disabled";
14-
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
14+
nordic,access = <NRF_OWNER_ID_RADIOCORE NRF_PERM_RWS>;
1515
#address-cells = <1>;
1616
#size-cells = <1>;
17-
ranges = <0x0 0x2f010000 0x41000>;
17+
ranges = <0x0 0x2f010000 0x1000>;
1818

19-
cpusec_cpuapp_ipc_shm: memory@0 {
19+
cpusec_cpurad_ipc_shm: memory@0 {
2020
reg = <0x0 DT_SIZE_K(2)>;
2121
};
2222

23-
cpuapp_cpusec_ipc_shm: memory@800 {
23+
cpurad_cpusec_ipc_shm: memory@800 {
2424
reg = <0x800 DT_SIZE_K(2)>;
2525
};
26-
27-
cpuapp_data: memory@1000 {
28-
reg = <0x1000 DT_SIZE_K(256)>;
29-
};
3026
};
3127

32-
cpurad_ram0x_region: memory@2f051000 {
28+
cpuapp_ram0x_region: memory@2f011000 {
3329
compatible = "nordic,owned-memory";
34-
reg = <0x2f051000 DT_SIZE_K(4)>;
30+
reg = <0x2f010000 DT_SIZE_K(260)>;
3531
status = "disabled";
36-
nordic,access = <NRF_OWNER_ID_RADIOCORE NRF_PERM_RWS>;
32+
nordic,access = <NRF_OWNER_ID_APPLICATION NRF_PERM_RWS>;
3733
#address-cells = <1>;
3834
#size-cells = <1>;
39-
ranges = <0x0 0x2f051000 0x1000>;
35+
ranges = <0x0 0x2f011000 0x41000>;
4036

41-
cpusec_cpurad_ipc_shm: memory@0 {
37+
cpusec_cpuapp_ipc_shm: memory@0 {
4238
reg = <0x0 DT_SIZE_K(2)>;
4339
};
4440

45-
cpurad_cpusec_ipc_shm: memory@800 {
41+
cpuapp_cpusec_ipc_shm: memory@800 {
4642
reg = <0x800 DT_SIZE_K(2)>;
4743
};
44+
45+
cpuapp_data: memory@1000 {
46+
reg = <0x1000 DT_SIZE_K(256)>;
47+
};
4848
};
4949

5050
etr_buf_ram0x_region: memory@2f0be000 {

0 commit comments

Comments
 (0)