diff options
author | Kumar Gala <galak@codeaurora.org> | 2013-08-28 15:08:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-28 19:02:48 -0400 |
commit | 3e6648c9c812f11117590ef846b205abd0224699 (patch) | |
tree | 058fcc1923b1a70d43925c7660bd6f530c4f1a35 | |
parent | 124155351331a53feb00d10874f0c620405fd385 (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>
-rw-r--r-- | Documentation/devicetree/bindings/serial/fsl-imx-uart.txt | 35 | ||||
-rw-r--r-- | Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt | 9 |
2 files changed, 8 insertions, 36 deletions
diff --git a/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt deleted file mode 100644 index c58573b5b1a4..000000000000 --- a/Documentation/devicetree/bindings/serial/fsl-imx-uart.txt +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
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 | |||
diff --git a/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt b/Documentation/devicetree/bindings/tty/serial/fsl-imx-uart.txt index c662eb36be29..35ae1fb3537f 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: | |||
11 | - fsl,dte-mode : Indicate the uart works in DTE mode. The uart works | 11 | - fsl,dte-mode : Indicate the uart works in DTE mode. The uart works |
12 | is DCE mode by default. | 12 | is DCE mode by default. |
13 | 13 | ||
14 | Note: Each uart controller should have an alias correctly numbered | ||
15 | in "aliases" node. | ||
16 | |||
14 | Example: | 17 | Example: |
15 | 18 | ||
16 | serial@73fbc000 { | 19 | aliases { |
20 | serial0 = &uart1; | ||
21 | }; | ||
22 | |||
23 | uart1: serial@73fbc000 { | ||
17 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; | 24 | compatible = "fsl,imx51-uart", "fsl,imx21-uart"; |
18 | reg = <0x73fbc000 0x4000>; | 25 | reg = <0x73fbc000 0x4000>; |
19 | interrupts = <31>; | 26 | interrupts = <31>; |