diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2013-12-11 10:52:35 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-17 12:28:40 -0500 |
commit | 3c0f0f9f7d9b558089ce6701f72a932b63192384 (patch) | |
tree | ca276d9094e377eee670ca33594db9e135f7ca5e | |
parent | bc00024502edd2ca5d786a06270b1ba47e5907ef (diff) |
serial: clps711x: dts: Add bindings documentation for the CLPS711X UART
This patch adds the devicetree documentation for the Cirrus Logic
CLPS711X UART.
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt b/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt new file mode 100644 index 000000000000..8bbdd21ed6ac --- /dev/null +++ b/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt | |||
@@ -0,0 +1,29 @@ | |||
1 | * Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART) | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Should be "cirrus,clps711x-uart". | ||
5 | - reg: Address and length of the register set for the device. | ||
6 | - interrupts: Should contain UART TX and RX interrupt. | ||
7 | - clocks: Should contain UART core clock number. | ||
8 | - syscon: Phandle to SYSCON node, which contain UART control bits. | ||
9 | |||
10 | Optional properties: | ||
11 | - uart-use-ms: Indicate the UART has modem signal (DCD, DSR, CTS). | ||
12 | - uart-use-irda: Indicate the UART use IRDA mode. | ||
13 | |||
14 | Note: Each UART port should have an alias correctly numbered | ||
15 | in "aliases" node. | ||
16 | |||
17 | Example: | ||
18 | aliases { | ||
19 | serial0 = &uart1; | ||
20 | }; | ||
21 | |||
22 | uart1: uart@80000480 { | ||
23 | compatible = "cirrus,clps711x-uart"; | ||
24 | reg = <0x80000480 0x80>; | ||
25 | interrupts = <12 13>; | ||
26 | clocks = <&clks 11>; | ||
27 | syscon = <&syscon1>; | ||
28 | uart-use-ms; | ||
29 | }; | ||