Lines Matching +full:rs485 +full:- +full:rts +full:- +full:active +full:- +full:low
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * GW72xx RS422 (RS485 full duplex):
6 * - GPIO1_0 rs485_term selects on-chip termination
7 * - GPIO4_0 rs485_en needs to be driven high (active)
8 * - GPIO4_2 rs485_hd needs to be driven low (in-active)
9 * - UART4_TX is DE for RS485 transmitter
10 * - RS485_EN needs to be pulled high
11 * - RS485_HALF needs to be low
14 #include <dt-bindings/gpio/gpio.h>
16 #include "imx8mm-pinfunc.h"
18 /dts-v1/;
22 rs485-en-hog {
23 gpio-hog;
25 output-high;
26 line-name = "rs485_en";
29 rs485-hd-hog {
30 gpio-hog;
32 output-low;
33 line-name = "rs485_hd";
38 pinctrl-names = "default";
39 pinctrl-0 = <&pinctrl_uart2>;
40 rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
41 linux,rs485-enabled-at-boot-time;