Skip to content

Commit 820b875

Browse files
nvlsianpunordicjm
authored andcommitted
[nrf fromtree] boards/nordic/nrf54h20dk: added prototype s2ram_context section
Added DTS node which describes section for PM S2RAM context location Signed-off-by: Andrzej Puzdrowski <[email protected]> (cherry picked from commit aa90ede)
1 parent eb125ac commit 820b875

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,3 +340,20 @@ zephyr_udc0: &usbhs {
340340
memory-regions = <&cpuapp_dma_region>;
341341
status = "okay";
342342
};
343+
344+
/* Trim this RAM block for making room on all run-time common S2RAM cpu context. */
345+
&cpuapp_ram0 {
346+
reg = <0x22000000 (DT_SIZE_K(32)-32)>;
347+
ranges = <0x0 0x22000000 (0x8000-0x20)>;
348+
};
349+
350+
/ {
351+
soc {
352+
/* run-time common S2RAM cpu context RAM */
353+
pm_s2ram: cpuapp_s2ram@22007fe0 {
354+
compatible = "zephyr,memory-region", "mmio-sram";
355+
reg = <0x22007fe0 32>;
356+
zephyr,memory-region = "pm_s2ram_context";
357+
};
358+
};
359+
};

0 commit comments

Comments
 (0)