-
Notifications
You must be signed in to change notification settings - Fork 630
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[nrf fromlist] samples: boards: nordic: system_off: Run on nrf54l20pdk
Add overlays to execute system_off tests on nrf54l20pdk. Upstream PR #: 82957 Signed-off-by: Sebastian Głąb <[email protected]>
- Loading branch information
1 parent
43b638f
commit c31775a
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
samples/boards/nordic/system_off/boards/nrf54l20pdk_nrf54l20_cpuapp.overlay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/ { | ||
cpuapp_sram@2007ec00 { | ||
compatible = "zephyr,memory-region", "mmio-sram"; | ||
reg = <0x2007ec00 DT_SIZE_K(4)>; | ||
zephyr,memory-region = "RetainedMem"; | ||
status = "okay"; | ||
|
||
retainedmem0: retainedmem { | ||
compatible = "zephyr,retained-ram"; | ||
status = "okay"; | ||
}; | ||
}; | ||
|
||
aliases { | ||
retainedmemdevice = &retainedmem0; | ||
}; | ||
}; | ||
|
||
&cpuapp_sram { | ||
/* Shrink SRAM size to avoid overlap with retained memory region: | ||
* 511 - 4 = 507KB = 0x7ec00 | ||
*/ | ||
reg = <0x20000000 DT_SIZE_K(507)>; | ||
ranges = <0x0 0x20000000 0x7ec00>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters