diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-08-21 13:04:59 -0400 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-06 12:01:46 -0400 |
commit | 239078da17ee68c275e87cf9a7f849b227706966 (patch) | |
tree | 3a263200e0008c0ac1e25f7bfd8ad5ac1ed182dd /Documentation | |
parent | 7185fcc62d73d2a3ea33977007854b03a5a42404 (diff) |
devicetree: serial: Add documentation for imx serial
Add documentation for imx serial.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/serial/fsl-imx-uart.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt new file mode 100644 index 000000000000..c58573b5b1a4 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | * Freescale i.MX UART controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible : should be "fsl,imx21-uart" | ||
5 | - reg : Address and length of the register set for the device | ||
6 | - interrupts : Should contain UART interrupt number | ||
7 | |||
8 | Optional properties: | ||
9 | - fsl,uart-has-rtscts: indicate that RTS/CTS signals are used | ||
10 | |||
11 | Note: Each uart controller should have an alias correctly numbered | ||
12 | in "aliases" node. | ||
13 | |||
14 | Example: | ||
15 | |||
16 | - From imx51.dtsi: | ||
17 | aliases { | ||
18 | serial0 = &uart1; | ||
19 | serial1 = &uart2; | ||
20 | serial2 = &uart3; | ||
21 | }; | ||
22 | |||
23 | uart1: serial@73fbc000 { | ||
24 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; | ||
25 | reg = <0x73fbc000 0x4000>; | ||
26 | interrupts = <31>; | ||
27 | status = "disabled"; | ||
28 | } | ||
29 | |||
30 | - From imx51-babbage.dts: | ||
31 | uart1: serial@73fbc000 { | ||
32 | fsl,uart-has-rtscts; | ||
33 | status = "okay"; | ||
34 | }; | ||
35 | |||