1/* 2 * Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. 3 * SPDX-License-Identifier: Apache-2.0 4 */ 5 6&pinctrl { 7 uart1_test: uart1_test { 8 group1 { 9 pinmux = <UART1_TX_GPIO2>, 10 <UART1_RTS_GPIO4>; 11 input-enable; 12 output-high; 13 }; 14 group2 { 15 pinmux = <UART1_RX_GPIO3>, 16 <UART1_CTS_GPIO5>; 17 output-enable; 18 bias-pull-up; 19 }; 20 }; 21 22 uart2_test: uart2_test { 23 group1 { 24 pinmux = <UART2_TX_GPIO3>, 25 <UART1_RTS_GPIO5>; 26 input-enable; 27 output-high; 28 }; 29 group2 { 30 pinmux = <UART2_RX_GPIO2>, 31 <UART1_CTS_GPIO4>; 32 output-enable; 33 bias-pull-up; 34 }; 35 }; 36}; 37 38dut: &uart1 { 39 status = "okay"; 40 pinctrl-0 = <&uart1_test>; 41 pinctrl-names = "default"; 42 current-speed = <115200>; 43}; 44 45dut_aux: &uart2 { 46 status = "okay"; 47 pinctrl-0 = <&uart2_test>; 48 pinctrl-names = "default"; 49 current-speed = <115200>; 50}; 51