Skip to content

Commit c274834

Browse files
tomchycarlescufi
authored andcommitted
[nrf fromlist] boards: Define pm_s2ram_stack for nRF54H20
Add the definition of pm_s2ram_stack memory region for nRF54H20. Upstream PR #: 95914 Signed-off-by: Tomasz Chyrowicz <[email protected]>
1 parent c9cfa62 commit c274834

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
@@ -343,12 +343,19 @@ zephyr_udc0: &usbhs {
343343

344344
/* Trim this RAM block for making room on all run-time common S2RAM cpu context. */
345345
&cpuapp_ram0 {
346-
reg = <0x22000000 (DT_SIZE_K(32) - 32)>;
347-
ranges = <0x0 0x22000000 (0x8000 - 0x20)>;
346+
reg = <0x22000000 (DT_SIZE_K(32) - 48)>;
347+
ranges = <0x0 0x22000000 (0x8000 - 0x30)>;
348348
};
349349

350350
/ {
351351
soc {
352+
/* temporary stack for S2RAM resume logic */
353+
pm_s2ram_stack: cpuapp_s2ram_stack@22007fd0 {
354+
compatible = "zephyr,memory-region", "mmio-sram";
355+
reg = <0x22007fd0 16>;
356+
zephyr,memory-region = "pm_s2ram_stack";
357+
};
358+
352359
/* run-time common S2RAM cpu context RAM */
353360
pm_s2ram: cpuapp_s2ram@22007fe0 {
354361
compatible = "zephyr,memory-region", "mmio-sram";

0 commit comments

Comments
 (0)