summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt
diff options
context:
space:
mode:
authorKumar Gala <galak@codeaurora.org>2013-08-28 14:08:23 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-28 16:02:48 -0700
commit6b9c1fa25a5c2a2a2d8fa1e2f8c2cc5d6d0c4a45 (patch)
tree64cb86b49c30d4290b155a0bb3002d15116a5a8e /Documentation/devicetree/bindings/serial/fsl-imx-uart.txt
parent3e6648c9c812f11117590ef846b205abd0224699 (diff)
downloadtalos-op-linux-6b9c1fa25a5c2a2a2d8fa1e2f8c2cc5d6d0c4a45.tar.gz
talos-op-linux-6b9c1fa25a5c2a2a2d8fa1e2f8c2cc5d6d0c4a45.zip
serial: unify serial bindings into a single dir
Move all bindings in bindings/tty/serial into bindings/serial so we only have one place dir with serial/uart related bindings in it. Signed-off-by: Kumar Gala <galak@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial/fsl-imx-uart.txt')
-rw-r--r--Documentation/devicetree/bindings/serial/fsl-imx-uart.txt29
1 files changed, 29 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..35ae1fb3537f
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt
@@ -0,0 +1,29 @@
+* 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,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
+ is 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>;
+ fsl,uart-has-rtscts;
+ fsl,dte-mode;
+};
OpenPOWER on IntegriCloud