Skip to content

Commit 6d14832

Browse files
committed
[nrf fromlist] boards: nordic: nrf54h20dk: add miscellaneous shared mem for cpusec
This is auxiliary shared memory needed for some of IPC communication. Upstream PR: zephyrproject-rtos/zephyr#74302 Signed-off-by: Nikodem Kastelik <[email protected]>
1 parent cd39ee9 commit 6d14832

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20-memory_map.dtsi

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,18 @@
2626
reg = <0x800 DT_SIZE_K(2)>;
2727
};
2828

29-
cpuapp_data: memory@1000 {
30-
reg = <0x1000 DT_SIZE_K(256)>;
29+
/* todo: remove once cpuapp_ram0x_region can be used by cache helpers */
30+
cpuapp_cpusec_misc_shm: memory@1000 {
31+
compatible = "zephyr,memory-region";
32+
reg = <0x1000 DT_SIZE_K(16)>;
33+
status = "disabled";
34+
#memory-region-cells = <0>;
35+
zephyr,memory-region = "CPUAPP_CPUSEC_MISC_SHM";
36+
zephyr,memory-attr = <( DT_MEM_CACHEABLE )>;
37+
};
38+
39+
cpuapp_data: memory@5000 {
40+
reg = <0x5000 DT_SIZE_K(240)>;
3141
};
3242
};
3343

@@ -49,6 +59,16 @@
4959
cpurad_cpusec_ipc_shm: memory@800 {
5060
reg = <0x800 DT_SIZE_K(2)>;
5161
};
62+
63+
/* todo: remove once cpurad_ram0x_region can be used by cache helpers */
64+
cpurad_cpusec_misc_shm: memory@1000 {
65+
compatible = "zephyr,memory-region";
66+
reg = <0x1000 DT_SIZE_K(16)>;
67+
status = "disabled";
68+
#memory-region-cells = <0>;
69+
zephyr,memory-region = "CPURAD_CPUSEC_MISC_SHM";
70+
zephyr,memory-attr = <( DT_MEM_CACHEABLE )>;
71+
};
5272
};
5373

5474
cpuapp_cpurad_ram0x_region: memory@2f0bf000 {

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@
121121
status = "okay";
122122
};
123123

124+
&cpuapp_cpusec_misc_shm {
125+
status = "okay";
126+
};
127+
124128
&cpuapp_cpurad_ram0x_region {
125129
status = "okay";
126130
};

0 commit comments

Comments
 (0)