diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2012-08-21 14:04:59 -0300 |
---|---|---|
committer | Rob Herring <rob.herring@calxeda.com> | 2012-09-06 11:01:46 -0500 |
commit | 239078da17ee68c275e87cf9a7f849b227706966 (patch) | |
tree | 3a263200e0008c0ac1e25f7bfd8ad5ac1ed182dd /Documentation/devicetree | |
parent | 7185fcc62d73d2a3ea33977007854b03a5a42404 (diff) | |
download | linux-stable-239078da17ee68c275e87cf9a7f849b227706966.tar.gz linux-stable-239078da17ee68c275e87cf9a7f849b227706966.tar.bz2 linux-stable-239078da17ee68c275e87cf9a7f849b227706966.zip |
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/devicetree')
-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 @@ +* Freescale i.MX UART controller + +Required properties: +- compatible : should be "fsl,imx21-uart" +- reg : Address and length of the register set for the device +- interrupts : Should contain UART interrupt number + +Optional properties: +- fsl,uart-has-rtscts: indicate that RTS/CTS signals are used + +Note: Each uart controller should have an alias correctly numbered +in "aliases" node. + +Example: + +- From imx51.dtsi: +aliases { + serial0 = &uart1; + serial1 = &uart2; + serial2 = &uart3; +}; + +uart1: serial@73fbc000 { + compatible = "fsl,imx51-uart", "fsl,imx21-uart"; + reg = <0x73fbc000 0x4000>; + interrupts = <31>; + status = "disabled"; +} + +- From imx51-babbage.dts: +uart1: serial@73fbc000 { + fsl,uart-has-rtscts; + status = "okay"; +}; + |