tests: drivers: uart: async_api: Add nrf54h20 support

Add overlays for nrf54h20dk.

Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruściński 2024-04-04 10:24:12 +02:00 committed by Anas Nashif
commit 33db820400
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,26 @@
/* SPDX-License-Identifier: Apache-2.0 */
&pinctrl {
uart137_default_alt: uart137_default_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RX, 0, 7)>;
};
};
uart137_sleep_alt: uart137_sleep_alt {
group1 {
psels = <NRF_PSEL(UART_TX, 0, 6)>,
<NRF_PSEL(UART_RX, 0, 7)>;
low-power-enable;
};
};
};
dut: &uart137 {
status = "okay";
pinctrl-0 = <&uart137_default_alt>;
pinctrl-1 = <&uart137_sleep_alt>;
pinctrl-names = "default", "sleep";
current-speed = <115200>;
};

View file

@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0 */
#include "nrf54h20dk_nrf54h20_common.dtsi"
&dut {
memory-regions = <&cpuapp_dma_region>;
};

View file

@ -0,0 +1,7 @@
/* SPDX-License-Identifier: Apache-2.0 */
#include "nrf54h20dk_nrf54h20_common.dtsi"
&dut {
memory-regions = <&cpurad_dma_region>;
};