1/* SPDX-License-Identifier: Apache-2.0 */ 2 3&pinctrl { 4 sercom3_loopback: sercom3_loopback { 5 group1 { 6 pinmux = <PA16D_SERCOM3_PAD0>; 7 }; 8 }; 9}; 10 11&dmac { 12 status = "okay"; 13}; 14 15&sercom0 { 16 /* Configure DMA channels for async operation */ 17 dmas = <&dmac 0 1>, <&dmac 1 2>; 18 dma-names = "rx", "tx"; 19}; 20 21dut: &sercom3 { 22 status = "okay"; 23 compatible = "atmel,sam0-uart"; 24 current-speed = <115200>; 25 26 /* Internally loop-back TX and RX on PAD0 */ 27 rxpo = <0>; 28 txpo = <0>; 29 30 /* PAD0 must be configured to allow working loop-back */ 31 pinctrl-0 = <&sercom3_loopback>; 32 pinctrl-names = "default"; 33 34 /* Configure DMA channels for async operation */ 35 dmas = <&dmac 10 7>, <&dmac 11 8>; 36 dma-names = "rx", "tx"; 37}; 38