mirror of
https://github.com/torvalds/linux.git
synced 2024-12-27 13:22:23 +00:00
1006ed7e1b
Convert the Freescale IMX UART driver from using the vendor-specific "fsl,uart-has-rtscts" to the generic "uart-has-rtscts" DT property, as documented by the Generic Serial DT Bindings. The old vendor-specific property is still recognized by the driver for backwards compatibility, but deprecated. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
30 lines
771 B
Plaintext
30 lines
771 B
Plaintext
* 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:
|
|
- uart-has-rtscts : Indicate the uart has rts and cts
|
|
- fsl,irda-mode : Indicate the uart supports irda mode
|
|
- fsl,dte-mode : Indicate the uart works in DTE mode. The uart works
|
|
in DCE mode by default.
|
|
|
|
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;
|
|
};
|