OSDN Git Service

ARM: dts: at91: at91sam9x5cm: 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:13 +0000 (15:50 +0100)
Use tcb0 for timers as selected in at91_dt_defconfig.

[tested on at91sam9x25ek and at91sam9x35ek]
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/at91sam9x5cm.dtsi

index bdeaa0b..4908ee0 100644 (file)
 
        ahb {
                apb {
+                       tcb0: timer@f8008000 {
+                               timer@0 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <0>;
+                               };
+
+                               timer@1 {
+                                       compatible = "atmel,tcb-timer";
+                                       reg = <1>;
+                               };
+                       };
+
                        pinctrl@fffff400 {
                                1wire_cm {
                                        pinctrl_1wire_cm: 1wire_cm-0 {