diff options
author | Boris BREZILLON <b.brezillon@overkiz.com> | 2013-12-17 11:22:20 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-12-17 12:38:25 -0500 |
commit | 8be3da65d9222e1e63b7f9d001e872947588946f (patch) | |
tree | 635932d6be0af7d0ea8927fe8115f4843d4bbbf3 | |
parent | 5855b2104b01e70e9db4352fce82689b214a6af2 (diff) |
tty/serial: at91: document clock properties
Document the clock properties required by the at91 usart driver.
Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | Documentation/devicetree/bindings/serial/atmel-usart.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/atmel-usart.txt b/Documentation/devicetree/bindings/serial/atmel-usart.txt index 2191dcb9f1da..9c5d19ac935c 100644 --- a/Documentation/devicetree/bindings/serial/atmel-usart.txt +++ b/Documentation/devicetree/bindings/serial/atmel-usart.txt | |||
@@ -6,6 +6,9 @@ Required properties: | |||
6 | additional mode or an USART new feature. | 6 | additional mode or an USART new feature. |
7 | - reg: Should contain registers location and length | 7 | - reg: Should contain registers location and length |
8 | - interrupts: Should contain interrupt | 8 | - interrupts: Should contain interrupt |
9 | - clock-names: tuple listing input clock names. | ||
10 | Required elements: "usart" | ||
11 | - clocks: phandles to input clocks. | ||
9 | 12 | ||
10 | Optional properties: | 13 | Optional properties: |
11 | - atmel,use-dma-rx: use of PDC or DMA for receiving data | 14 | - atmel,use-dma-rx: use of PDC or DMA for receiving data |
@@ -26,6 +29,8 @@ Example: | |||
26 | compatible = "atmel,at91sam9260-usart"; | 29 | compatible = "atmel,at91sam9260-usart"; |
27 | reg = <0xfff8c000 0x4000>; | 30 | reg = <0xfff8c000 0x4000>; |
28 | interrupts = <7>; | 31 | interrupts = <7>; |
32 | clocks = <&usart0_clk>; | ||
33 | clock-names = "usart"; | ||
29 | atmel,use-dma-rx; | 34 | atmel,use-dma-rx; |
30 | atmel,use-dma-tx; | 35 | atmel,use-dma-tx; |
31 | }; | 36 | }; |
@@ -35,6 +40,8 @@ Example: | |||
35 | compatible = "atmel,at91sam9260-usart"; | 40 | compatible = "atmel,at91sam9260-usart"; |
36 | reg = <0xf001c000 0x100>; | 41 | reg = <0xf001c000 0x100>; |
37 | interrupts = <12 4 5>; | 42 | interrupts = <12 4 5>; |
43 | clocks = <&usart0_clk>; | ||
44 | clock-names = "usart"; | ||
38 | atmel,use-dma-rx; | 45 | atmel,use-dma-rx; |
39 | atmel,use-dma-tx; | 46 | atmel,use-dma-tx; |
40 | dmas = <&dma0 2 0x3>, | 47 | dmas = <&dma0 2 0x3>, |