Skip to content

Commit d3a475d

Browse files
committed
snippets: nrf54lv10-switch-uart: add for lv10
Snippet for lv10. Signed-off-by: Piotr Kosycarz <[email protected]>
1 parent 7044c44 commit d3a475d

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,7 @@
729729
/snippets/matter-power-consumption-tests/ @nrfconnect/ncs-matter
730730
/snippets/nordic-bt-rpc/ @ppryga-nordic
731731
/snippets/nrf54l09-switch-uart/ @nrfconnect/ncs-low-level-test
732+
/snippets/nrf54lv10-switch-uart/ @nrfconnect/ncs-low-level-test
732733
/snippets/nrf70-driver-debug/ @krish2718 @sachinthegreen
733734
/snippets/nrf70-driver-verbose-debug/ @krish2718 @sachinthegreen
734735
/snippets/nrf70-fw-patch-ext-flash/ @krish2718 @sachinthegreen
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
/*
2+
* Copyright (c) 2025 Nordic Semiconductor ASA
3+
*
4+
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
*/
6+
7+
/ {
8+
chosen {
9+
zephyr,console = &uart30;
10+
zephyr,shell-uart = &uart30;
11+
};
12+
};
13+
14+
&uart20 {
15+
status = "disabled";
16+
};
17+
18+
&pinctrl {
19+
/omit-if-no-ref/ uart30_default: uart30_default {
20+
group1 {
21+
psels = <NRF_PSEL(UART_TX, 0, 0)>;
22+
};
23+
group2 {
24+
psels = <NRF_PSEL(UART_RX, 0, 1)>;
25+
bias-pull-up;
26+
};
27+
};
28+
29+
/omit-if-no-ref/ uart30_sleep: uart30_sleep {
30+
group1 {
31+
psels = <NRF_PSEL(UART_TX, 0, 0)>,
32+
<NRF_PSEL(UART_RX, 0, 1)>;
33+
low-power-enable;
34+
};
35+
};
36+
};
37+
38+
&uart30 {
39+
status = "okay";
40+
current-speed = <115200>;
41+
pinctrl-0 = <&uart30_default>;
42+
pinctrl-1 = <&uart30_sleep>;
43+
pinctrl-names = "default", "sleep";
44+
};
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# Copyright (c) 2025 Nordic Semiconductor
3+
#
4+
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5+
#
6+
7+
name: nrf54lv10-switch-uart
8+
9+
boards:
10+
nrf54lv10apdk/nrf54lv10a/cpuapp:
11+
append:
12+
EXTRA_DTC_OVERLAY_FILE: boards/nrf54lv10apdk_nrf54lv10a_cpuapp.overlay

0 commit comments

Comments
 (0)