Skip to content

Commit 4959b07

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 4959b07

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-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: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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+
};
14+
};
15+
16+
/* Shell UART */
17+
&uart30 {
18+
current-speed = <115200>;
19+
status = "okay";
20+
};
21+
22+
/* SLM Shell <-> SLM UART */
23+
&uart20 {
24+
compatible = "nordic,nrf-uarte";
25+
current-speed = <115200>;
26+
status = "okay";
27+
hw-flow-control;
28+
pinctrl-0 = <&uart20_default_alt>;
29+
pinctrl-1 = <&uart20_sleep_alt>;
30+
pinctrl-names = "default", "sleep";
31+
};
32+
33+
/ {
34+
slm_gpio_pins: slm_gpio_pins {
35+
compatible = "slm-gpio-pins";
36+
power-gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
37+
power-gpios-active-time-ms = <100>;
38+
power-gpios-debounce-time-ms = <50>;
39+
indicate-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>;
40+
indicate-gpios-active-time-ms = <100>;
41+
};
42+
};
43+
44+
/ {
45+
aliases {
46+
/delete-property/ led1;
47+
/delete-property/ led3;
48+
};
49+
};
50+
51+
/delete-node/ &led1;
52+
/delete-node/ &led3;
53+
54+
&pinctrl {
55+
uart20_default_alt: uart20_default_alt {
56+
group1 {
57+
psels = <NRF_PSEL(UART_TX, 1, 11)>,
58+
<NRF_PSEL(UART_RTS, 1, 14)>;
59+
};
60+
group2 {
61+
psels = <NRF_PSEL(UART_RX, 1, 12)>,
62+
<NRF_PSEL(UART_CTS, 1, 10)>;
63+
bias-pull-up;
64+
};
65+
};
66+
67+
uart20_sleep_alt: uart20_sleep_alt {
68+
group1 {
69+
psels = <NRF_PSEL(UART_TX, 1, 11)>,
70+
<NRF_PSEL(UART_RX, 1, 12)>,
71+
<NRF_PSEL(UART_RTS, 1, 14)>,
72+
<NRF_PSEL(UART_CTS, 1, 10)>;
73+
low-power-enable;
74+
};
75+
};
76+
};

0 commit comments

Comments
 (0)