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:
parent
207da52e8e
commit
33db820400
3 changed files with 40 additions and 0 deletions
|
@ -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>;
|
||||||
|
};
|
|
@ -0,0 +1,7 @@
|
||||||
|
/* SPDX-License-Identifier: Apache-2.0 */
|
||||||
|
|
||||||
|
#include "nrf54h20dk_nrf54h20_common.dtsi"
|
||||||
|
|
||||||
|
&dut {
|
||||||
|
memory-regions = <&cpuapp_dma_region>;
|
||||||
|
};
|
|
@ -0,0 +1,7 @@
|
||||||
|
/* SPDX-License-Identifier: Apache-2.0 */
|
||||||
|
|
||||||
|
#include "nrf54h20dk_nrf54h20_common.dtsi"
|
||||||
|
|
||||||
|
&dut {
|
||||||
|
memory-regions = <&cpurad_dma_region>;
|
||||||
|
};
|
Loading…
Add table
Add a link
Reference in a new issue