OSDN Git Service

ARM: dts: at91: at91sam9g20ek: use TCB0 as timers
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 8 Jun 2016 16:12:31 +0000 (18:12 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 31 Dec 2017 14:50:05 +0000 (15:50 +0100)
Use tcb0 for timers as selected in at91_dt_defconfig.

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

index ac9a151..50561b7 100644 (file)
                                status = "okay";
                        };
 
+                       tcb0: timer@fffa0000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>, <1>;
+                               };
+
+                               timer@2 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <2>;
+                               };
+                       };
+
                        usart0: serial@fffb0000 {
                                pinctrl-0 =
                                        <&pinctrl_usart0