1/* 2 * Copyright (c) 2022 Espressif Systems (Shanghai) Co., Ltd. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&pinctrl { 8 uart1_test: uart1_test { 9 group1 { 10 pinmux = <UART1_TX_GPIO2>; 11 input-enable; /* Connect GPIO2 and GPIO3 externally for testing */ 12 }; 13 group2 { 14 pinmux = <UART1_RX_GPIO3>; 15 output-enable; /* Connect GPIO2 and GPIO3 externally for testing */ 16 }; 17 }; 18}; 19 20dut: &uart1 { 21 status = "okay"; 22 current-speed = <115200>; 23 pinctrl-0 = <&uart1_test>; 24 pinctrl-names = "default"; 25 dmas = <&dma 0>, <&dma 1>; 26 dma-names = "rx", "tx"; 27}; 28 29&dma { 30 status = "okay"; 31}; 32