Skip to content

Commit 0cb2901

Browse files
committed
boards: Define pm_s2ram_stack for nRF54H20
Add the definition of pm_s2ram_stack memory region for nRF54H20. Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent c78b0ad commit 0cb2901

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

boards/nordic/nrf54h20dk/nrf54h20dk_nrf54h20_cpuapp.dts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,12 +332,19 @@ zephyr_udc0: &usbhs {
332332

333333
/* Trim this RAM block for making room on all run-time common S2RAM cpu context. */
334334
&cpuapp_ram0 {
335-
reg = <0x22000000 (DT_SIZE_K(32) - 32)>;
336-
ranges = <0x0 0x22000000 (0x8000 - 0x20)>;
335+
reg = <0x22000000 (DT_SIZE_K(32) - 48)>;
336+
ranges = <0x0 0x22000000 (0x8000 - 0x30)>;
337337
};
338338

339339
/ {
340340
soc {
341+
/* temporary stack for S2RAM resume logic */
342+
pm_s2ram_stack: cpuapp_s2ram_stack@22007fd0 {
343+
compatible = "zephyr,memory-region", "mmio-sram";
344+
reg = <0x22007fd0 16>;
345+
zephyr,memory-region = "pm_s2ram_stack";
346+
};
347+
341348
/* run-time common S2RAM cpu context RAM */
342349
pm_s2ram: cpuapp_s2ram@22007fe0 {
343350
compatible = "zephyr,memory-region", "mmio-sram";

0 commit comments

Comments
 (0)