OSDN Git Service

Documentation: dt: rtc: at91rm9200: add clocks property
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 29 Jul 2015 22:49:44 +0000 (00:49 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 7 Aug 2015 09:57:31 +0000 (11:57 +0200)
The RTC needs an input clock, it is the slow clock. It is required as it
will not function without it.

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.txt

index 34c1505..5d3791e 100644 (file)
@@ -5,6 +5,7 @@ Required properties:
 - reg: physical base address of the controller and length of memory mapped
   region.
 - interrupts: rtc alarm/event interrupt
+- clocks: phandle to input clock.
 
 Example:
 
@@ -12,4 +13,5 @@ rtc@fffffe00 {
        compatible = "atmel,at91rm9200-rtc";
        reg = <0xfffffe00 0x100>;
        interrupts = <1 4 7>;
+       clocks = <&clk32k>;
 };