Skip to content

Commit

Permalink
serial: add device tree binding documentation for Conexant USART
Browse files Browse the repository at this point in the history
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Baruch Siach authored and Greg Kroah-Hartman committed Jan 9, 2015
1 parent 5930cb3 commit 5fafc89
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions Documentation/devicetree/bindings/serial/digicolor-usart.txt
Original file line number Diff line number Diff line change
@@ -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>;
};

0 comments on commit 5fafc89

Please sign in to comment.