xref: /freebsd/sys/contrib/device-tree/Bindings/serial/fsl-imx-uart.txt (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1* Freescale i.MX Universal Asynchronous Receiver/Transmitter (UART)
2
3Required properties:
4- compatible : Should be "fsl,<soc>-uart"
5- reg : Address and length of the register set for the device
6- interrupts : Should contain uart interrupt
7
8Optional properties:
9- fsl,dte-mode : Indicate the uart works in DTE mode. The uart works
10                  in DCE mode by default.
11- fsl,inverted-tx , fsl,inverted-rx : Indicate that the hardware attached
12  to the peripheral inverts the signal transmitted or received,
13  respectively, and that the peripheral should invert its output/input
14  using the INVT/INVR registers.
15- rs485-rts-delay, rs485-rts-active-low, rs485-rx-during-tx,
16  linux,rs485-enabled-at-boot-time: see rs485.txt. Note that for RS485
17  you must enable either the "uart-has-rtscts" or the "rts-gpios"
18  properties. In case you use "uart-has-rtscts" the signal that controls
19  the transceiver is actually CTS_B, not RTS_B. CTS_B is always output,
20  and RTS_B is input, regardless of dte-mode.
21
22Please check Documentation/devicetree/bindings/serial/serial.yaml
23for the complete list of generic properties.
24
25Note: Each uart controller should have an alias correctly numbered
26in "aliases" node.
27
28Example:
29
30aliases {
31	serial0 = &uart1;
32};
33
34uart1: serial@73fbc000 {
35	compatible = "fsl,imx51-uart", "fsl,imx21-uart";
36	reg = <0x73fbc000 0x4000>;
37	interrupts = <31>;
38	uart-has-rtscts;
39	fsl,dte-mode;
40};
41