Lines Matching +full:en +full:- +full:gpio
1 // SPDX-License-Identifier: GPL-2.0+
8 stdout-path = "serial0:115200n8";
26 * GPIO line, however the i.MX6 UART driver assumes RX happens
30 rs485-rx-en-hog {
31 gpio-hog;
32 gpios = <18 0>; /* GPIO Q */
33 line-name = "rs485-rx-en";
34 output-low;
39 gpio-line-names =
43 "", "", "", "DRC02-In1", "", "", "", "";
47 gpio-line-names =
48 "", "", "", "", "", "DHCOM-E", "DRC02-In2", "DHCOM-H",
49 "DHCOM-I", "DRC02-HW0", "", "", "", "", "", "",
50 "", "", "", "", "DRC02-Out1", "", "", "",
55 gpio-line-names =
56 "", "", "", "DRC02-Out2", "", "", "SOM-HW1", "",
57 "", "", "", "", "", "", "DRC02-HW2", "DRC02-HW1",
74 * for rts/cts. So configure DHCOM GPIO I as rts and GPIO M as cts.
76 /delete-property/ uart-has-rtscts;
77 cts-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; /* GPIO M */
78 pinctrl-0 = <&pinctrl_uart1 &pinctrl_dhcom_i &pinctrl_dhcom_m>;
79 pinctrl-names = "default";
80 rts-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>; /* GPIO I */
86 * controlled by DHCOM GPIO P. So remove rts/cts pins and the property
87 * uart-has-rtscts from this UART and add the DHCOM GPIO P pin via
88 * rts-gpios. The RS485_RX_En is controlled by DHCOM GPIO Q, see gpio1
91 /delete-property/ uart-has-rtscts;
92 linux,rs485-enabled-at-boot-time;
93 pinctrl-0 = <&pinctrl_uart5_core &pinctrl_dhcom_p &pinctrl_dhcom_q>;
94 pinctrl-names = "default";
95 rts-gpios = <&gpio7 13 GPIO_ACTIVE_HIGH>; /* GPIO P */
99 disable-over-current;
116 pinctrl-0 = <
122 * P: uart5 rs485-tx-en
123 * Q: uart5 rs485-rx-en
135 pinctrl-names = "default";
137 pinctrl_uart5_core: uart5-core-grp {