diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-06-12 05:04:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-12 20:34:39 -0400 |
commit | 6cf600aba1b7fcb6ec67a1dcea3a3c2391eeb331 (patch) | |
tree | 71b35c76926f00ef0959966b1688e64e23b65d53 | |
parent | f10a2233210aeaf8695039f3fc45aa2e064f1882 (diff) |
serial: 8250_uniphier: add bindings document for UniPhier UART
This is binding information for the UniPhier on-chip UART driver
(drivers/tty/serial/8250/8250_uniphier.c).
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | Documentation/devicetree/bindings/serial/uniphier-uart.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/uniphier-uart.txt b/Documentation/devicetree/bindings/serial/uniphier-uart.txt new file mode 100644 index 000000000000..0b3892a7a528 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/uniphier-uart.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | UniPhier UART controller | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: should be "socionext,uniphier-uart". | ||
5 | - reg: offset and length of the register set for the device. | ||
6 | - interrupts: a single interrupt specifier. | ||
7 | - clocks: phandle to the input clock. | ||
8 | |||
9 | Optional properties: | ||
10 | - fifo-size: the RX/TX FIFO size. Defaults to 64 if not specified. | ||
11 | |||
12 | Example: | ||
13 | aliases { | ||
14 | serial0 = &serial0; | ||
15 | }; | ||
16 | |||
17 | serial0: serial@54006800 { | ||
18 | compatible = "socionext,uniphier-uart"; | ||
19 | reg = <0x54006800 0x40>; | ||
20 | interrupts = <0 33 4>; | ||
21 | clocks = <&uart_clk>; | ||
22 | fifo-size = <64>; | ||
23 | }; | ||