Lines Matching +full:rts +full:- +full:gpios
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * GW72xx RS232 with RTS/CTS hardware flow control:
6 * - GPIO4_0 rs485_en needs to be driven low (in-active)
7 * - UART4_TX becomes RTS
8 * - UART4_RX becomes CTS
11 #include <dt-bindings/gpio/gpio.h>
13 #include "imx8mm-pinfunc.h"
15 /dts-v1/;
19 rs485-en-hog {
20 gpio-hog;
21 gpios = <0 GPIO_ACTIVE_HIGH>;
22 output-low;
23 line-name = "rs485_en";
28 pinctrl-names = "default";
29 pinctrl-0 = <&pinctrl_uart2>;
30 rts-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
31 cts-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;