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