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