zephyr/tests/drivers/uart/uart_async_api/boards/atsamr21_xpro.overlay
Stephanos Ioannidis 547a5e9eb0 tests: uart_async_api: Support atsamr21_xpro board
This commit adds the asynchronous UART API testing support on the SAM
R21 Xplained Pro board.

The SERCOM3 module is used as the secondary loop-back UART, which is
required to run this test.

Note that no external UART loop-back connection is necessary to run
this test, because the SERCOM3 UART TX and RX pads are configured to be
internally connected; it is, however, still necessary to configure the
pinmux because the module pads are not connected until the pinmux is
configured.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-04-23 16:19:35 -05:00

16 lines
318 B
Plaintext

/* SPDX-License-Identifier: Apache-2.0 */
&sercom3 {
status = "okay";
compatible = "atmel,sam0-uart";
current-speed = <115200>;
/* Internally loop-back TX and RX on PAD0 */
rxpo = <0>;
txpo = <0>;
/* Configure DMA channels for async operation */
dmas = <&dmac 0 7>, <&dmac 1 8>;
dma-names = "rx", "tx";
};