-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: add device tree binding documentation for Conexant USART
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.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
Documentation/devicetree/bindings/serial/digicolor-usart.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>; | ||
}; |