]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: at91/dt: enable the RTT block on the at91sam9m10g45ek board
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 14 Nov 2014 10:08:52 +0000 (11:08 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 19 Nov 2014 14:08:52 +0000 (15:08 +0100)
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>
arch/arm/boot/dts/at91sam9m10g45ek.dts

index d8dd2265109076c2d4074f16c08c1f5a736ac912..33ce7ca2c404d25c263e95b16544d0f33ea2f7a2 100644 (file)
                                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";
                        };