summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2014-11-14 11:08:51 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-11-19 15:08:51 +0100
commit846fdce623242c3a5ba0ebb0b14560fbb2b96e0d (patch)
tree6a30a35e2fd2a7561c6e167340c3ae99524c9b7f /arch/arm/boot/dts/at91sam9g20ek_common.dtsi
parent1ff3beca55a4eb552068ebda34431a19c6534be6 (diff)
downloadop-kernel-dev-846fdce623242c3a5ba0ebb0b14560fbb2b96e0d.zip
op-kernel-dev-846fdce623242c3a5ba0ebb0b14560fbb2b96e0d.tar.gz
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>
Diffstat (limited to 'arch/arm/boot/dts/at91sam9g20ek_common.dtsi')
-rw-r--r--arch/arm/boot/dts/at91sam9g20ek_common.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
index d291910..dfaacb1 100644
--- a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
+++ b/arch/arm/boot/dts/at91sam9g20ek_common.dtsi
@@ -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 {
OpenPOWER on IntegriCloud