]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: at91: sama5d4ek: use TCB2 as timers
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 7 Jun 2016 23:36:36 +0000 (01:36 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 31 Dec 2017 14:50:17 +0000 (15:50 +0100)
As TCB2 doesn't have any output pins, use it for timers.

Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-sama5d4ek.dts

index 5b7ee92e32a71af7758800f7543f8f787b01dc33..7887a7160a54e5b3719b7fc618eb55844b1308b0 100644 (file)
@@ -174,6 +174,18 @@ usart4: serial@fc010000 {
                                status = "okay";
                        };
 
+                       tcb2: timer@fc024000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>;
+                               };
+
+                               timer@1 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <1>;
+                               };
+                       };
+
                        watchdog@fc068640 {
                                status = "okay";
                        };