Merge tag 'dropmachtimexh-v2' of git://git.pengutronix.de/git/ukl/linux
[cascardo/linux.git] / Documentation / devicetree / bindings / serial / atmel-usart.txt
index 3adc61c..17c1042 100644 (file)
@@ -6,6 +6,9 @@ Required properties:
   additional mode or an USART new feature.
 - reg: Should contain registers location and length
 - interrupts: Should contain interrupt
+- clock-names: tuple listing input clock names.
+       Required elements: "usart"
+- clocks: phandles to input clocks.
 
 Optional properties:
 - atmel,use-dma-rx: use of PDC or DMA for receiving data
@@ -28,6 +31,8 @@ Example:
                compatible = "atmel,at91sam9260-usart";
                reg = <0xfff8c000 0x4000>;
                interrupts = <7>;
+               clocks = <&usart0_clk>;
+               clock-names = "usart";
                atmel,use-dma-rx;
                atmel,use-dma-tx;
                rts-gpios = <&pioD 15 0>;
@@ -38,6 +43,8 @@ Example:
                compatible = "atmel,at91sam9260-usart";
                reg = <0xf001c000 0x100>;
                interrupts = <12 4 5>;
+               clocks = <&usart0_clk>;
+               clock-names = "usart";
                atmel,use-dma-rx;
                atmel,use-dma-tx;
                dmas = <&dma0 2 0x3>,