]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: at91: linea/tse850-3: use TCB0 as timers
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 17 May 2017 21:20:37 +0000 (23:20 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Sun, 31 Dec 2017 14:50:16 +0000 (15:50 +0100)
Use tcb0 for timers as selected in sama5_defconfig.

Tested-by: Peter Rosin <peda@axentia.se>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
arch/arm/boot/dts/at91-linea.dtsi

index 87e5090fb4c4fbbe308d9c1ef44a16b577a8a55a..c7b964e2532101f3f555671a2bcf0fa3dfc32fcb 100644 (file)
@@ -27,6 +27,18 @@ &main_xtal {
        clock-frequency = <12000000>;
 };
 
+&tcb0 {
+       timer@0 {
+               compatible = "atmel,tcb-timer";
+               reg = <0>;
+       };
+
+       timer@1 {
+               compatible = "atmel,tcb-timer";
+               reg = <1>;
+       };
+};
+
 &i2c0 {
        status = "okay";