Commit 9fa1f6ed authored by Ron Smith's avatar Ron Smith Committed by Christopher Friedt
Browse files

tests: uart_async_api: Correct DMA channels on atsamr21_xpro board



This commit corrects the DMA channels for the asynchronous
UART API testing support on the SAM R21 Xplained Pro board.

Signed-off-by: default avatarRon Smith <rockyowl171@gmail.com>
parent dd3a3318
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
/* SPDX-License-Identifier: Apache-2.0 */

&dmac {
	status = "okay";
};

&sercom0 {
	/* Configure DMA channels for async operation */
	dmas = <&dmac 0 1>, <&dmac 1 2>;
	dma-names = "rx", "tx";
};

&sercom3 {
	status = "okay";
	compatible = "atmel,sam0-uart";
@@ -9,7 +19,10 @@
	rxpo = <0>;
	txpo = <0>;

	/* PAD0 must be configured to allow working loop-back */
	pinctrl-0 = <&pa16d_sercom3_pad0>;

	/* Configure DMA channels for async operation */
	dmas = <&dmac 0 7>, <&dmac 1 8>;
	dmas = <&dmac 10 7>, <&dmac 11 8>;
	dma-names = "rx", "tx";
};