OSDN Git Service

ARM: dts: at91: vinco: use TCB2 as timers
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 7 Jun 2016 23:34:08 +0000 (01:34 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 31 Dec 2017 14:50:19 +0000 (15:50 +0100)
As TCB2 doesn't have any output pins, use it for timers

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

index 9f60057..1be9889 100644 (file)
                                status = "okay";
                        };
 
+                       tcb2: timer@fc024000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>;
+                               };
+
+                               timer@1 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <1>;
+                               };
+                       };
+
                        macb1: ethernet@fc028000 {
                                phy-mode = "rmii";
                                status = "okay";