Skip to content

Commit 2bf5bee

Browse files
committed
[nrf fromtree] tests: boards: nrf: qdec: Run test on nrf54l15 NS
Enable QDEC test on nrf54l15dk/nrf54l15/cpuapp/ns platform. Signed-off-by: Sebastian Głąb <[email protected]> (cherry picked from commit e761ba1)
1 parent dfee9c6 commit 2bf5bee

File tree

5 files changed

+23
-10
lines changed

5 files changed

+23
-10
lines changed

tests/boards/nrf/qdec/boards/nrf54l15dk_nrf54l15_common.dtsi

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,32 @@
1313
/ {
1414
encoder-emulate {
1515
compatible = "gpio-leds";
16+
1617
phase_a0: phase_a0 {
1718
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
1819
};
20+
1921
phase_b0: phase_b0 {
2022
gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
2123
};
24+
2225
phase_a1: phase_a1 {
2326
gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>;
2427
};
28+
2529
phase_b1: phase_b1 {
2630
gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>;
2731
};
2832
};
2933

3034
qdec_loopbacks: loopbacks {
3135
compatible = "test-qdec-loopbacks";
36+
3237
loopback0 {
3338
qdec = <&qdec20>;
3439
qenc-emul-gpios = <&phase_a0 &phase_b0>;
3540
};
41+
3642
loopback1 {
3743
qdec = <&qdec21>;
3844
qenc-emul-gpios = <&phase_a1 &phase_b1>;
@@ -99,3 +105,13 @@
99105
led-pre = <500>;
100106
zephyr,pm-device-runtime-auto;
101107
};
108+
109+
/* To prevent enabling console receiver on cpuapp. */
110+
&uart20 {
111+
disable-rx;
112+
};
113+
114+
/* To prevent enabling console receiver on cpuflpr. */
115+
&uart30 {
116+
disable-rx;
117+
};

tests/boards/nrf/qdec/boards/nrf54l15dk_nrf54l15_cpuapp.overlay

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@
44
*/
55

66
#include "nrf54l15dk_nrf54l15_common.dtsi"
7-
8-
/* To prevent enabling console receiver. */
9-
&uart20 {
10-
disable-rx;
11-
};
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/*
2+
* Copyright 2025 Nordic Semiconductor ASA
3+
* SPDX-License-Identifier: Apache-2.0
4+
*/
5+
6+
#include "nrf54l15dk_nrf54l15_common.dtsi"

tests/boards/nrf/qdec/boards/nrf54l15dk_nrf54l15_cpuflpr.overlay

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,3 @@
44
*/
55

66
#include "nrf54l15dk_nrf54l15_common.dtsi"
7-
8-
/* To prevent enabling console receiver. */
9-
&uart30 {
10-
disable-rx;
11-
};

tests/boards/nrf/qdec/testcase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ common:
55
- nrf54h20dk/nrf54h20/cpuapp
66
- nrf54l15dk/nrf54l15/cpuapp
77
- nrf54l15dk/nrf54l15/cpuflpr
8+
- nrf54l15dk/nrf54l15/cpuapp/ns
89
- nrf54lm20dk/nrf54lm20a/cpuapp
910
- nrf54lm20dk/nrf54lm20a/cpuflpr
1011
integration_platforms:

0 commit comments

Comments
 (0)