Commit 846fdce6 authored by Boris Brezillon's avatar Boris Brezillon Committed by Nicolas Ferre

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: default avatarBoris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
parent 1ff3beca
...@@ -112,9 +112,23 @@ mtd_dataflash@0 { ...@@ -112,9 +112,23 @@ mtd_dataflash@0 {
}; };
}; };
shdwc@fffffd10 {
atmel,wakeup-counter = <10>;
atmel,wakeup-rtt-timer;
};
rtc@fffffd20 {
atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
status = "okay";
};
watchdog@fffffd40 { watchdog@fffffd40 {
status = "okay"; status = "okay";
}; };
gpbr: syscon@fffffd50 {
status = "okay";
};
}; };
nand0: nand@40000000 { nand0: nand@40000000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment