summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/tty
diff options
context:
space:
mode:
authorKumar Gala <galak@codeaurora.org>2013-08-28 14:08:22 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-28 16:02:48 -0700
commit3e6648c9c812f11117590ef846b205abd0224699 (patch)
tree058fcc1923b1a70d43925c7660bd6f530c4f1a35 /Documentation/devicetree/bindings/tty
parent124155351331a53feb00d10874f0c620405fd385 (diff)
serial: fsl-imx-uart: Cleanup duplicate device tree binding
We had two bindings for the same serial device, it looks like the one in tty/serial/fsl-imx-uart.txt is the more up to date one so go with it and merge a few things about the use/need for aliases in from serial/fsl-imx-uart.txt. Signed-off-by: Kumar Gala <galak@codeaurora.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/tty')
-rw-r--r--Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
index c662eb36be2..35ae1fb3537 100644
--- a/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
+++ b/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt
@@ -11,9 +11,16 @@ Optional properties:
- 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:
-serial@73fbc000 {
+aliases {
+ serial0 = &uart1;
+};
+
+uart1: serial@73fbc000 {
compatible = "fsl,imx51-uart", "fsl,imx21-uart";
reg = <0x73fbc000 0x4000>;
interrupts = <31>;