ARM: dts: at91: sama7g5-ek: use blocks 0 and 1 of TCB0 as cs and ce
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 20 Oct 2021 09:46:56 +0000 (12:46 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Thu, 21 Oct 2021 11:45:16 +0000 (13:45 +0200)
Use blocks 0 and 1 of TCB0 for clocksource and clockevent functionality.
PIT64B is already enabled on SAMA7G5 targets for this but TCB0 will be
used as a fallback only in case PIT64B will fail to probe.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20211020094656.3343242-4-claudiu.beznea@microchip.com
arch/arm/boot/dts/at91-sama7g5ek.dts

index c46be16..902036a 100644 (file)
        status = "okay";
 };
 
+&tcb0 {
+       timer0: timer@0 {
+               compatible = "atmel,tcb-timer";
+               reg = <0>;
+       };
+
+       timer1: timer@1 {
+               compatible = "atmel,tcb-timer";
+               reg = <1>;
+       };
+};
+
 &trng {
        status = "okay";
 };