Skip to content

Commit 33db820

Browse files
nordic-krchnashif
authored andcommitted
tests: drivers: uart: async_api: Add nrf54h20 support
Add overlays for nrf54h20dk. Signed-off-by: Krzysztof Chruściński <[email protected]>
1 parent 207da52 commit 33db820

File tree

3 files changed

+40
-0
lines changed

3 files changed

+40
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
&pinctrl {
4+
uart137_default_alt: uart137_default_alt {
5+
group1 {
6+
psels = <NRF_PSEL(UART_TX, 0, 6)>,
7+
<NRF_PSEL(UART_RX, 0, 7)>;
8+
};
9+
};
10+
11+
uart137_sleep_alt: uart137_sleep_alt {
12+
group1 {
13+
psels = <NRF_PSEL(UART_TX, 0, 6)>,
14+
<NRF_PSEL(UART_RX, 0, 7)>;
15+
low-power-enable;
16+
};
17+
};
18+
};
19+
20+
dut: &uart137 {
21+
status = "okay";
22+
pinctrl-0 = <&uart137_default_alt>;
23+
pinctrl-1 = <&uart137_sleep_alt>;
24+
pinctrl-names = "default", "sleep";
25+
current-speed = <115200>;
26+
};
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
#include "nrf54h20dk_nrf54h20_common.dtsi"
4+
5+
&dut {
6+
memory-regions = <&cpuapp_dma_region>;
7+
};
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/* SPDX-License-Identifier: Apache-2.0 */
2+
3+
#include "nrf54h20dk_nrf54h20_common.dtsi"
4+
5+
&dut {
6+
memory-regions = <&cpurad_dma_region>;
7+
};

0 commit comments

Comments
 (0)