serial: add device tree binding documentation for Conexant USART
authorBaruch Siach <baruch@tkos.co.il>
Thu, 18 Dec 2014 19:45:25 +0000 (21:45 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jan 2015 22:30:16 +0000 (14:30 -0800)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/digicolor-usart.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/serial/digicolor-usart.txt b/Documentation/devicetree/bindings/serial/digicolor-usart.txt
new file mode 100644 (file)
index 0000000..2d3ede6
--- /dev/null
@@ -0,0 +1,27 @@
+Binding for Conexant Digicolor USART
+
+Note: this binding is only applicable for using the USART peripheral as
+UART. USART also support synchronous serial protocols like SPI and I2S. Use
+the binding that matches the wiring of your system.
+
+Required properties:
+- compatible : should be "cnxt,cx92755-usart".
+- reg: Should contain USART controller registers location and length.
+- interrupts: Should contain a single USART controller interrupt.
+- clocks: Must contain phandles to the USART clock
+  See ../clocks/clock-bindings.txt for details.
+
+Note: Each UART port should have an alias correctly numbered
+in "aliases" node.
+
+Example:
+       aliases {
+               serial0 = &uart0;
+       };
+
+       uart0: uart@f0000740 {
+               compatible = "cnxt,cx92755-usart";
+               reg = <0xf0000740 0x20>;
+               clocks = <&main_clk>;
+               interrupts = <44>;
+       };