Skip to content

Commit 59f43f4

Browse files
committed
tests: drivers: uart: async_dual: Extend nrf54h20dk configuration
Add workaround timer to instances that are used for reception in the test. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent f108ae7 commit 59f43f4

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

tests/drivers/uart/uart_async_dual/boards/nrf54h20dk_nrf54h20_common.dtsi

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,24 @@
6060
};
6161
};
6262

63+
&timer134 {
64+
status = "reserved";
65+
};
66+
67+
&dppic135 {
68+
owned-channels = <0>;
69+
source-channels = <0>;
70+
status = "okay";
71+
};
72+
6373
dut: &uart134 {
6474
status = "okay";
6575
current-speed = <115200>;
6676
pinctrl-0 = <&uart134_alt_default>;
6777
pinctrl-1 = <&uart134_alt_sleep>;
6878
pinctrl-names = "default", "sleep";
6979
hw-flow-control;
80+
timer = <&timer134>;
7081
zephyr,pm-device-runtime-auto;
7182
};
7283

@@ -80,12 +91,23 @@ dut_aux: &uart137 {
8091
zephyr,pm-device-runtime-auto;
8192
};
8293

94+
&dppic120 {
95+
owned-channels = <0>;
96+
source-channels = <0>;
97+
status = "okay";
98+
};
99+
100+
&timer120 {
101+
status = "reserved";
102+
};
103+
83104
dut2: &uart120 {
84105
pinctrl-0 = <&uart120_default_alt>;
85106
pinctrl-1 = <&uart120_sleep_alt>;
86107
pinctrl-names = "default", "sleep";
87108
current-speed = <115200>;
88109
hw-flow-control;
110+
timer = <&timer120>;
89111
zephyr,pm-device-runtime-auto;
90112
};
91113

tests/drivers/uart/uart_async_dual/sysbuild/vpr_launcher/boards/nrf54h20dk_nrf54h20_cpuapp.overlay

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,15 @@
99
status = "reserved";
1010
interrupt-parent = <&cpuppr_clic>;
1111
};
12+
13+
&timer134 {
14+
interrupt-parent = <&cpuppr_clic>;
15+
};
16+
17+
&dppic135 {
18+
child-owned-channels = <0>;
19+
};
20+
21+
&uart136 {
22+
current-speed = <1000000>;
23+
};

0 commit comments

Comments
 (0)