serial: clps711x: dts: Add bindings documentation for the CLPS711X UART
authorAlexander Shiyan <shc_work@mail.ru>
Wed, 11 Dec 2013 15:52:35 +0000 (19:52 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Dec 2013 17:28:40 +0000 (09:28 -0800)
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>
Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt b/Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt
new file mode 100644 (file)
index 0000000..8bbdd21
--- /dev/null
@@ -0,0 +1,29 @@
+* Cirrus Logic CLPS711X Universal Asynchronous Receiver/Transmitter (UART)
+
+Required properties:
+- compatible: Should be "cirrus,clps711x-uart".
+- reg: Address and length of the register set for the device.
+- interrupts: Should contain UART TX and RX interrupt.
+- clocks: Should contain UART core clock number.
+- syscon: Phandle to SYSCON node, which contain UART control bits.
+
+Optional properties:
+- uart-use-ms: Indicate the UART has modem signal (DCD, DSR, CTS).
+- uart-use-irda: Indicate the UART use IRDA mode.
+
+Note: Each UART port should have an alias correctly numbered
+in "aliases" node.
+
+Example:
+       aliases {
+               serial0 = &uart1;
+       };
+
+       uart1: uart@80000480 {
+               compatible = "cirrus,clps711x-uart";
+               reg = <0x80000480 0x80>;
+               interrupts = <12 13>;
+               clocks = <&clks 11>;
+               syscon = <&syscon1>;
+               uart-use-ms;
+       };
This page took 0.0252830000000001 seconds and 5 git commands to generate.