Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: at91sam9: add DT bindings documentation

Add RTT bindings documentation.

Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Acked-by: Johan Hovold <johan@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

authored by

Boris BREZILLON and committed by
Nicolas Ferre
2c91e61d a975f47f

+23
+23
Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.txt
··· 1 + Atmel AT91SAM9260 Real Time Timer 2 + 3 + Required properties: 4 + - compatible: should be: "atmel,at91sam9260-rtt" 5 + - reg: should encode the memory region of the RTT controller 6 + - interrupts: rtt alarm/event interrupt 7 + - clocks: should contain the 32 KHz slow clk that will drive the RTT block. 8 + - atmel,rtt-rtc-time-reg: should encode the GPBR register used to store 9 + the time base when the RTT is used as an RTC. 10 + The first cell should point to the GPBR node and the second one 11 + encode the offset within the GPBR block (or in other words, the 12 + GPBR register used to store the time base). 13 + 14 + 15 + Example: 16 + 17 + rtt@fffffd20 { 18 + compatible = "atmel,at91sam9260-rtt"; 19 + reg = <0xfffffd20 0x10>; 20 + interrupts = <1 4 7>; 21 + clocks = <&clk32k>; 22 + atmel,rtt-rtc-time-reg = <&gpbr 0x0>; 23 + };