diff options
author | Bhuvanchandra DV <bhuvanchandra.dv@toradex.com> | 2016-08-26 12:15:27 +0530 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-09-01 14:22:21 +0200 |
commit | 3c522150e4230f36684f4c976abf755db990f0c2 (patch) | |
tree | a35f114f8c853b936856a792cee3cfc9a6e63752 /arch/arm/boot/dts/imx23-pinfunc.h | |
parent | 9f2723e14bab4fb558b4a4eb3e941876e2c55e2a (diff) |
tty: serial: imx: Add support for RS-485
Use the RTS(CTS) output to control a RS485 transmitter.
The UART obviously needs RTS/CTS enabled for this to work, e.g.
fsl,uart-has-rtscts must be present in the device tree.
Enable RS485 by either using ioctrl TIOCSRS485 or enable it in
the device tree by setting linux,rs485-enabled-at-boot-time.
e.g.
&uart2 {
status = "okay";
linux,rs485-enabled-at-boot-time;
};
Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'arch/arm/boot/dts/imx23-pinfunc.h')
0 files changed, 0 insertions, 0 deletions