zephyr/tests/drivers/uart/uart_async_api/boards/atsamd21_xpro.overlay
Stephanos Ioannidis efa0e4b17b tests: uart_async_api: Support atsamd21_xpro board
This commit adds the asynchronous UART API testing support on the SAM
D21 Xplained Pro board.

The SERCOM1 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 SERCOM1 UART TX and RX pads are configured to be
internally connected.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2020-04-23 08:50:18 -05:00

12 lines
239 B
Plaintext

/* SPDX-License-Identifier: Apache-2.0 */
&sercom1 {
/* Internally loop-back TX and RX on PAD0 */
rxpo = <0>;
txpo = <0>;
/* Configure DMA channels for async operation */
dmas = <&dmac 0 3>, <&dmac 1 4>;
dma-names = "rx", "tx";
};