Skip to content

Commit 061036f

Browse files
kl-cruzdanieldegrasse
authored andcommitted
tests: samples: Extend support for nRF54LM20A
Extends support and adds new overlays. Signed-off-by: Karol Lasończyk <[email protected]> Signed-off-by: Bjarki Arge Andreasen <[email protected]>
1 parent 3d1fa8b commit 061036f

File tree

78 files changed

+1184
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1184
-0
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+
};

samples/boards/nordic/system_off/sample.yaml

Lines changed: 4 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
- nrf54l20pdk/nrf54l20/cpuapp
18+
- nrf54lm20dk/nrf54lm20a/cpuapp
1819
harness: console
1920
harness_config:
2021
type: multi_line
@@ -34,6 +35,7 @@ tests:
3435
- nrf54l15dk/nrf54l10/cpuapp
3536
- nrf54l15dk/nrf54l15/cpuapp
3637
- nrf54l20pdk/nrf54l20/cpuapp
38+
- nrf54lm20dk/nrf54lm20a/cpuapp
3739
extra_configs:
3840
- CONFIG_APP_USE_RETAINED_MEM=y
3941
harness: console
@@ -53,6 +55,7 @@ tests:
5355
- nrf54l15dk/nrf54l10/cpuapp
5456
- nrf54l15dk/nrf54l15/cpuapp
5557
- nrf54l20pdk/nrf54l20/cpuapp
58+
- nrf54lm20dk/nrf54lm20a/cpuapp
5659
extra_configs:
5760
- CONFIG_GRTC_WAKEUP_ENABLE=y
5861
- CONFIG_GPIO_WAKEUP_ENABLE=n
@@ -77,6 +80,7 @@ tests:
7780
- nrf54l15dk/nrf54l10/cpuapp
7881
- nrf54l15dk/nrf54l15/cpuapp
7982
- nrf54l20pdk/nrf54l20/cpuapp
83+
- nrf54lm20dk/nrf54lm20a/cpuapp
8084
extra_configs:
8185
- CONFIG_APP_USE_RETAINED_MEM=y
8286
- CONFIG_GRTC_WAKEUP_ENABLE=y
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: Apache-2.0
5+
*/
6+
7+
&pinctrl {
8+
pdm20_default_alt: pdm20_default_alt {
9+
group1 {
10+
psels = <NRF_PSEL(PDM_CLK, 1, 23)>,
11+
<NRF_PSEL(PDM_DIN, 1, 24)>;
12+
};
13+
};
14+
};
15+
16+
dmic_dev: &pdm20 {
17+
status = "okay";
18+
pinctrl-0 = <&pdm20_default_alt>;
19+
pinctrl-names = "default";
20+
clock-source = "PCLK32M";
21+
};
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/ {
2+
chosen {
3+
counter = &timer24;
4+
};
5+
};
6+
7+
&timer24 {
8+
status = "okay";
9+
};

samples/drivers/mbox/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUAPP OR
2828
CONFIG_BOARD_NRF54L09PDK_NRF54L09_CPUAPP OR
2929
CONFIG_BOARD_NRF54L15DK_NRF54L15_CPUAPP OR
3030
CONFIG_BOARD_NRF54L20PDK_NRF54L20_CPUAPP OR
31+
CONFIG_BOARD_NRF54LM20DK_NRF54LM20A_CPUAPP OR
3132
CONFIG_BOARD_STM32H747I_DISCO_STM32H747XX_M7 OR
3233
CONFIG_BOARD_BL54L15_DVK_NRF54L15_CPUAPP OR
3334
CONFIG_BOARD_BL54L15U_DVK_NRF54L15_CPUAPP)

samples/drivers/mbox/Kconfig.sysbuild

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ config REMOTE_BOARD
2222
default "nrf54l09pdk/nrf54l09/cpuflpr" if $(BOARD) = "nrf54l09pdk"
2323
default "nrf54l15dk/nrf54l15/cpuflpr" if $(BOARD) = "nrf54l15dk"
2424
default "nrf54l20pdk/nrf54l20/cpuflpr" if $(BOARD) = "nrf54l20pdk"
25+
default "nrf54lm20dk/nrf54lm20a/cpuflpr" if $(BOARD) = "nrf54lm20dk"
2526
default "ophelia4ev/cpuflpr" if $(BOARD) = "ophelia4ev"
2627
default "stm32h747i_disco/stm32h747xx/m4" if $(BOARD) = "stm32h747i_disco"
2728
default "esp32_devkitc/esp32/appcpu" if "$(BOARD)${BOARD_QUALIFIERS}" = "esp32_devkitc/esp32/procpu"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
/*
2+
* Copyright 2025 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
mbox-consumer {
8+
compatible = "vnd,mbox-consumer";
9+
mboxes = <&cpuapp_vevif_rx 20>, <&cpuapp_vevif_tx 21>;
10+
mbox-names = "rx", "tx";
11+
};
12+
};
13+
14+
&cpuapp_vevif_rx {
15+
status = "okay";
16+
};
17+
18+
&cpuapp_vevif_tx {
19+
status = "okay";
20+
};

samples/drivers/mbox/remote/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ if(CONFIG_BOARD_NRF5340DK_NRF5340_CPUNET OR
2727
CONFIG_BOARD_NRF54L09PDK_NRF54L09_CPUFLPR OR
2828
CONFIG_BOARD_NRF54L15DK_NRF54L15_CPUFLPR OR
2929
CONFIG_BOARD_NRF54L20PDK_NRF54L20_CPUFLPR OR
30+
CONFIG_BOARD_NRF54LM20DK_NRF54LM20A_CPUFLPR OR
3031
CONFIG_BOARD_STM32H747I_DISCO_STM32H747XX_M4 OR
3132
CONFIG_BOARD_BL54L15_DVK_NRF54L15_CPUFLPR OR
3233
CONFIG_BOARD_BL54L15U_DVK_NRF54L15_CPUFLPR)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
* Copyright 2025 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
/ {
7+
mbox-consumer {
8+
compatible = "vnd,mbox-consumer";
9+
mboxes = <&cpuflpr_vevif_rx 21>, <&cpuflpr_vevif_tx 20>;
10+
mbox-names = "rx", "tx";
11+
};
12+
};
13+
14+
&cpuflpr_vevif_rx {
15+
status = "okay";
16+
};
17+
18+
&cpuflpr_vevif_tx {
19+
status = "okay";
20+
};
21+
22+
&uart30 {
23+
/delete-property/ hw-flow-control;
24+
};

samples/drivers/mbox/sample.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ tests:
1313
- nrf54l09pdk/nrf54l09/cpuapp
1414
- nrf54l15dk/nrf54l15/cpuapp
1515
- nrf54l20pdk/nrf54l20/cpuapp
16+
- nrf54lm20dk/nrf54lm20a/cpuapp
1617
integration_platforms:
1718
- nrf5340bsim/nrf5340/cpuapp
1819
harness: console
@@ -78,6 +79,7 @@ tests:
7879
- nrf54l09pdk/nrf54l09/cpuapp
7980
- nrf54l15dk/nrf54l15/cpuapp
8081
- nrf54l20pdk/nrf54l20/cpuapp
82+
- nrf54lm20dk/nrf54lm20a/cpuapp
8183
integration_platforms:
8284
- nrf54l15dk/nrf54l15/cpuapp
8385
extra_args: mbox_SNIPPET=nordic-flpr
@@ -95,6 +97,7 @@ tests:
9597
- nrf54l09pdk/nrf54l09/cpuapp
9698
- nrf54l15dk/nrf54l15/cpuapp
9799
- nrf54l20pdk/nrf54l20/cpuapp
100+
- nrf54lm20dk/nrf54lm20a/cpuapp
98101
integration_platforms:
99102
- nrf54l15dk/nrf54l15/cpuapp
100103
extra_args:
@@ -115,6 +118,7 @@ tests:
115118
- nrf54l09pdk/nrf54l09/cpuapp
116119
- nrf54l15dk/nrf54l15/cpuapp
117120
- nrf54l20pdk/nrf54l20/cpuapp
121+
- nrf54lm20dk/nrf54lm20a/cpuapp
118122
integration_platforms:
119123
- nrf54l15dk/nrf54l15/cpuapp
120124
extra_args:

0 commit comments

Comments
 (0)