Commit | Line | Data |
---|---|---|
2c91e61d BB |
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 | }; |