summaryrefslogblamecommitdiff
path: root/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt
blob: 9582fc2279ed1afa547ce0727063349ac877a767 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                   
                                                                    
                                         



                                                                         
                                                            




                                                                        
 
                                                                 

                                            


                                                                  

        




                         


                                                        
                        
                     
  
* 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:
- fsl,dte-mode : Indicate the uart works in DTE mode. The uart works
                  in DCE mode by default.
- fsl,inverted-tx , fsl,inverted-rx : Indicate that the hardware attached
  to the peripheral inverts the signal transmitted or received,
  respectively, and that the peripheral should invert its output/input
  using the INVT/INVR registers.
- rs485-rts-delay, rs485-rts-active-low, rs485-rx-during-tx,
  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.

Please check Documentation/devicetree/bindings/serial/serial.yaml
for the complete list of generic properties.

Note: Each uart controller should have an alias correctly numbered
in "aliases" node.

Example:

aliases {
	serial0 = &uart1;
};

uart1: serial@73fbc000 {
	compatible = "fsl,imx51-uart", "fsl,imx21-uart";
	reg = <0x73fbc000 0x4000>;
	interrupts = <31>;
	uart-has-rtscts;
	fsl,dte-mode;
};