aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/serial/sirf-uart.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/serial/sirf-uart.txt')
-rw-r--r--Documentation/devicetree/bindings/serial/sirf-uart.txt33
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/sirf-uart.txt b/Documentation/devicetree/bindings/serial/sirf-uart.txt
new file mode 100644
index 000000000000..a2dfc6522a91
--- /dev/null
+++ b/Documentation/devicetree/bindings/serial/sirf-uart.txt
@@ -0,0 +1,33 @@
1* CSR SiRFprimaII/atlasVI Universal Synchronous Asynchronous Receiver/Transmitter *
2
3Required properties:
4- compatible : Should be "sirf,prima2-uart" or "sirf, prima2-usp-uart"
5- reg : Offset and length of the register set for the device
6- interrupts : Should contain uart interrupt
7- fifosize : Should define hardware rx/tx fifo size
8- clocks : Should contain uart clock number
9
10Optional properties:
11- sirf,uart-has-rtscts: we have hardware flow controller pins in hardware
12- rts-gpios: RTS pin for USP-based UART if sirf,uart-has-rtscts is true
13- cts-gpios: CTS pin for USP-based UART if sirf,uart-has-rtscts is true
14
15Example:
16
17uart0: uart@b0050000 {
18 cell-index = <0>;
19 compatible = "sirf,prima2-uart";
20 reg = <0xb0050000 0x1000>;
21 interrupts = <17>;
22 fifosize = <128>;
23 clocks = <&clks 13>;
24};
25
26On the board-specific dts, we can put rts-gpios and cts-gpios like
27
28usp@b0090000 {
29 compatible = "sirf,prima2-usp-uart";
30 sirf,uart-has-rtscts;
31 rts-gpios = <&gpio 15 0>;
32 cts-gpios = <&gpio 46 0>;
33};