mirror of https://gitee.com/openkylin/linux.git
32 lines
828 B
Plaintext
32 lines
828 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:
|
|
- 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.
|
|
|
|
Please check Documentation/devicetree/bindings/serial/serial.txt
|
|
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;
|
|
};
|