summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@free-electrons.com>2014-11-14 11:08:52 +0100
committerNicolas Ferre <nicolas.ferre@atmel.com>2014-11-19 15:08:52 +0100
commit199ec7ab1122c79ba8a2d0a15d272123cc3fcbcb (patch)
tree5bf798226b9bbd9eb61790183dd25e7bfd1b0fb9
parentARM: at91/dt: enable the RTT block on the sam9g20ek board (diff)
downloadlinux-199ec7ab1122c79ba8a2d0a15d272123cc3fcbcb.tar.xz
linux-199ec7ab1122c79ba8a2d0a15d272123cc3fcbcb.zip
ARM: at91/dt: enable the RTT block on the at91sam9m10g45ek board
Enable the RTT and GPBR devices and specify the general purpose register used to store the current time. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
-rw-r--r--arch/arm/boot/dts/at91sam9m10g45ek.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
index d8dd22651090..33ce7ca2c404 100644
--- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
+++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
@@ -161,6 +161,15 @@
pinctrl-0 = <&pinctrl_pwm_leds>;
};
+ rtc@fffffd20 {
+ atmel,rtt-rtc-time-reg = <&gpbr 0x0>;
+ status = "okay";
+ };
+
+ gpbr: syscon@fffffd60 {
+ status = "okay";
+ };
+
rtc@fffffdb0 {
status = "okay";
};