OSDN Git Service

ARM: dts: at91: sama5d4 Xplained: use TCB2 as timers
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 5 May 2016 15:57:24 +0000 (17:57 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 31 Dec 2017 14:50:18 +0000 (15:50 +0100)
As TCB2 doesn't have any output pins, use for timers.

Tested-by: Alexandre Belloni <alexandre.belloni@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-sama5d4_xplained.dts

index 29ab17a..4b7c762 100644 (file)
                                status = "okay";
                        };
 
+                       tcb2: timer@fc024000 {
+                               timer0: timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>;
+                               };
+
+                               timer1: timer@1 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <1>;
+                               };
+                       };
+
                        adc0: adc@fc034000 {
                                pinctrl-names = "default";
                                pinctrl-0 = <