Skip to content

Commit 8ef028d

Browse files
committed
samples: cellular: slm_shell: Add nRF54L15 support
Add overlay files to support compiling of nrf54l15dk/nrf54l15/cpuapp target. Jira: SLM-51 Signed-off-by: Tommi Rantanen <[email protected]>
1 parent 38ea08d commit 8ef028d

File tree

2 files changed

+92
-0
lines changed

2 files changed

+92
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor ASA
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
# Configuration file for nRF54L15DK.
8+
# This file is merged with prj.conf in the application folder, and options
9+
# set here will take precedence if they are present in both files.
10+
11+
CONFIG_NRFX_UARTE20=y
12+
CONFIG_UART_20_INTERRUPT_DRIVEN=n
13+
CONFIG_UART_20_ASYNC=y
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
chosen {
9+
ncs,slm-uart = &uart20;
10+
ncs,slm-gpio = &gpio0;
11+
zephyr,console = &uart30;
12+
zephyr,shell-uart = &uart30;
13+
zephyr,uart-mcumgr = &uart30;
14+
zephyr,bt-mon-uart = &uart30;
15+
zephyr,bt-c2h-uart = &uart30;
16+
};
17+
};
18+
19+
/* Shell UART */
20+
&uart30 {
21+
current-speed = <115200>;
22+
status = "okay";
23+
};
24+
25+
/* SLM Shell <-> SLM UART */
26+
&uart20 {
27+
compatible = "nordic,nrf-uarte";
28+
current-speed = <115200>;
29+
status = "okay";
30+
hw-flow-control;
31+
pinctrl-0 = <&uart20_default>;
32+
pinctrl-1 = <&uart20_sleep>;
33+
pinctrl-names = "default", "sleep";
34+
};
35+
36+
/ {
37+
slm_gpio_pins: slm_gpio_pins {
38+
compatible = "slm-gpio-pins";
39+
power-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
40+
power-gpios-active-time-ms = <100>;
41+
power-gpios-debounce-time-ms = <50>;
42+
indicate-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
43+
indicate-gpios-active-time-ms = <100>;
44+
};
45+
};
46+
47+
/ {
48+
aliases {
49+
/delete-property/ led1;
50+
/delete-property/ led3;
51+
};
52+
};
53+
54+
/delete-node/ &led1;
55+
/delete-node/ &led3;
56+
57+
&pinctrl {
58+
uart20_default: uart20_default {
59+
group1 {
60+
psels = <NRF_PSEL(UART_TX, 1, 11)>,
61+
<NRF_PSEL(UART_RTS, 1, 14)>;
62+
};
63+
group2 {
64+
psels = <NRF_PSEL(UART_RX, 1, 12)>,
65+
<NRF_PSEL(UART_CTS, 1, 10)>;
66+
bias-pull-up;
67+
};
68+
};
69+
70+
uart20_sleep: uart20_sleep {
71+
group1 {
72+
psels = <NRF_PSEL(UART_TX, 1, 11)>,
73+
<NRF_PSEL(UART_RX, 1, 12)>,
74+
<NRF_PSEL(UART_RTS, 1, 14)>,
75+
<NRF_PSEL(UART_CTS, 1, 10)>;
76+
low-power-enable;
77+
};
78+
};
79+
};

0 commit comments

Comments
 (0)