2011-06-25 02:04:34 +08:00
|
|
|
* Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART)
|
|
|
|
|
|
|
|
Required properties:
|
|
|
|
- compatible : Should be "fsl,<soc>-uart"
|
|
|
|
- reg : Address and length of the register set for the device
|
|
|
|
- interrupts : Should contain uart interrupt
|
|
|
|
|
|
|
|
Optional properties:
|
2013-05-30 14:07:12 +08:00
|
|
|
- fsl,dte-mode : Indicate the uart works in DTE mode. The uart works
|
2016-02-06 03:44:22 +08:00
|
|
|
in DCE mode by default.
|
2017-11-25 06:26:40 +08:00
|
|
|
- rs485-rts-delay, rs485-rts-active-low, rs485-rx-during-tx,
|
2018-06-28 15:25:32 +08:00
|
|
|
linux,rs485-enabled-at-boot-time: see rs485.txt. Note that for RS485
|
|
|
|
you must enable either the "uart-has-rtscts" or the "rts-gpios"
|
|
|
|
properties. In case you use "uart-has-rtscts" the signal that controls
|
|
|
|
the transceiver is actually CTS_B, not RTS_B. CTS_B is always output,
|
|
|
|
and RTS_B is input, regardless of dte-mode.
|
2011-06-25 02:04:34 +08:00
|
|
|
|
2017-01-10 03:30:02 +08:00
|
|
|
Please check Documentation/devicetree/bindings/serial/serial.txt
|
|
|
|
for the complete list of generic properties.
|
|
|
|
|
2013-08-29 03:08:22 +08:00
|
|
|
Note: Each uart controller should have an alias correctly numbered
|
|
|
|
in "aliases" node.
|
|
|
|
|
2011-06-25 02:04:34 +08:00
|
|
|
Example:
|
|
|
|
|
2013-08-29 03:08:22 +08:00
|
|
|
aliases {
|
|
|
|
serial0 = &uart1;
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1: serial@73fbc000 {
|
2011-06-25 02:04:34 +08:00
|
|
|
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
|
|
|
|
reg = <0x73fbc000 0x4000>;
|
|
|
|
interrupts = <31>;
|
2016-04-22 23:22:21 +08:00
|
|
|
uart-has-rtscts;
|
2013-05-30 14:07:12 +08:00
|
|
|
fsl,dte-mode;
|
2011-06-25 02:04:34 +08:00
|
|
|
};
|