ARM: at91/dt: enable the RTT block on the sam9g20ek board

Enable the RTT and GPBR devices and specify the general purpose register
used to store the current time.

Enable wakeup on RTT event on the shutdown controller device.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
This commit is contained in:
Boris Brezillon 2014-11-14 11:08:51 +01:00 committed by Nicolas Ferre
parent 1ff3beca55
commit 846fdce623
1 changed files with 14 additions and 0 deletions

View File

@ -112,9 +112,23 @@
};
};
shdwc@fffffd10 {
atmel,wakeup-counter = <10>;
atmel,wakeup-rtt-timer;
};
rtc@fffffd20 {
atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
status = "okay";
};
watchdog@fffffd40 {
status = "okay";
};
gpbr: syscon@fffffd50 {
status = "okay";
};
};
nand0: nand@40000000 {