Skip to content

Commit ad6a55f

Browse files
nordic-babunordicjm
authored andcommitted
[nrf fromlist] samples: boards: nordic: system_off: Enable nrf54lm20b.
Enable sample for nrf54lm20dk/nrf54lm20b/cpuapp target. Signed-off-by: Bartlomiej Buczek <bartlomiej.buczek@nordicsemi.no> Upstream PR #: 104594
1 parent 9e48020 commit ad6a55f

File tree

4 files changed

+33
-25
lines changed

4 files changed

+33
-25
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/ {
2+
cpuapp_sram@2007ec00 {
3+
compatible = "zephyr,memory-region", "mmio-sram";
4+
reg = <0x2007ec00 DT_SIZE_K(4)>;
5+
zephyr,memory-region = "RetainedMem";
6+
status = "okay";
7+
8+
retainedmem0: retainedmem {
9+
compatible = "zephyr,retained-ram";
10+
status = "okay";
11+
};
12+
};
13+
14+
aliases {
15+
retainedmemdevice = &retainedmem0;
16+
};
17+
};
18+
19+
&cpuapp_sram {
20+
/* Shrink SRAM size to avoid overlap with retained memory region:
21+
* 511 - 4 = 507KB = 0x7ec00
22+
*/
23+
reg = <0x20000000 DT_SIZE_K(507)>;
24+
ranges = <0x0 0x20000000 0x7ec00>;
25+
};
Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1 @@
1-
/ {
2-
cpuapp_sram@2007ec00 {
3-
compatible = "zephyr,memory-region", "mmio-sram";
4-
reg = <0x2007ec00 DT_SIZE_K(4)>;
5-
zephyr,memory-region = "RetainedMem";
6-
status = "okay";
7-
8-
retainedmem0: retainedmem {
9-
compatible = "zephyr,retained-ram";
10-
status = "okay";
11-
};
12-
};
13-
14-
aliases {
15-
retainedmemdevice = &retainedmem0;
16-
};
17-
};
18-
19-
&cpuapp_sram {
20-
/* Shrink SRAM size to avoid overlap with retained memory region:
21-
* 511 - 4 = 507KB = 0x7ec00
22-
*/
23-
reg = <0x20000000 DT_SIZE_K(507)>;
24-
ranges = <0x0 0x20000000 0x7ec00>;
25-
};
1+
#include "nrf54lm20dk_nrf54lm20_a_b_cpuapp.dtsi"
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
#include "nrf54lm20dk_nrf54lm20_a_b_cpuapp.dtsi"

samples/boards/nordic/system_off/sample.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ tests:
1515
- nrf54l15dk/nrf54l10/cpuapp
1616
- nrf54l15dk/nrf54l15/cpuapp
1717
- nrf54lm20dk/nrf54lm20a/cpuapp
18+
- nrf54lm20dk/nrf54lm20b/cpuapp
1819
- nrf7120dk/nrf7120/cpuapp
1920
harness: console
2021
harness_config:
@@ -35,6 +36,7 @@ tests:
3536
- nrf54l15dk/nrf54l10/cpuapp
3637
- nrf54l15dk/nrf54l15/cpuapp
3738
- nrf54lm20dk/nrf54lm20a/cpuapp
39+
- nrf54lm20dk/nrf54lm20b/cpuapp
3840
- nrf7120dk/nrf7120/cpuapp
3941
extra_configs:
4042
- CONFIG_APP_USE_RETAINED_MEM=y
@@ -55,6 +57,7 @@ tests:
5557
- nrf54l15dk/nrf54l10/cpuapp
5658
- nrf54l15dk/nrf54l15/cpuapp
5759
- nrf54lm20dk/nrf54lm20a/cpuapp
60+
- nrf54lm20dk/nrf54lm20b/cpuapp
5861
- nrf7120dk/nrf7120/cpuapp
5962
extra_configs:
6063
- CONFIG_SYS_CLOCK_DISABLE=y
@@ -73,6 +76,7 @@ tests:
7376
- nrf54l15dk/nrf54l10/cpuapp
7477
- nrf54l15dk/nrf54l15/cpuapp
7578
- nrf54lm20dk/nrf54lm20a/cpuapp
79+
- nrf54lm20dk/nrf54lm20b/cpuapp
7680
- nrf7120dk/nrf7120/cpuapp
7781
extra_configs:
7882
- CONFIG_APP_USE_RETAINED_MEM=y
@@ -95,6 +99,7 @@ tests:
9599
- nrf54l15dk/nrf54l10/cpuapp
96100
- nrf54l15dk/nrf54l15/cpuapp
97101
- nrf54lm20dk/nrf54lm20a/cpuapp
102+
- nrf54lm20dk/nrf54lm20b/cpuapp
98103
- nrf7120dk/nrf7120/cpuapp
99104
extra_configs:
100105
- CONFIG_GRTC_WAKEUP_ENABLE=y
@@ -120,6 +125,7 @@ tests:
120125
- nrf54l15dk/nrf54l10/cpuapp
121126
- nrf54l15dk/nrf54l15/cpuapp
122127
- nrf54lm20dk/nrf54lm20a/cpuapp
128+
- nrf54lm20dk/nrf54lm20b/cpuapp
123129
- nrf7120dk/nrf7120/cpuapp
124130
extra_configs:
125131
- CONFIG_APP_USE_RETAINED_MEM=y

0 commit comments

Comments
 (0)