Thread (75 messages) 75 messages, 8 authors, 2017-05-16
STALE3314d REVIEWED: 1 (0M)
Revisions (2)
  1. v1 current
  2. v1 [diff vs current]

[PATCH 19/48] ARM: dts: at91: at91sam9m10g45ek: use TCB0 as clocksource

From: Alexandre Belloni <hidden>
Date: 2016-06-10 22:14:59
Also in: lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Use tcb0 as the clocksource like previously selected in at91_dt_defconfig.

Tested-by: Alexandre Belloni <redacted>
Signed-off-by: Alexandre Belloni <redacted>
---
 arch/arm/boot/dts/at91sam9m10g45ek.dts | 12 ++++++++++++
 1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9m10g45ek.dts b/arch/arm/boot/dts/at91sam9m10g45ek.dts
index 2400c99134f7..132064c60863 100644
--- a/arch/arm/boot/dts/at91sam9m10g45ek.dts
+++ b/arch/arm/boot/dts/at91sam9m10g45ek.dts
@@ -39,6 +39,18 @@
 				status = "okay";
 			};
 
+			tcb0: timer at fff7c000 {
+				timer at 0 {
+					compatible = "atmel,tcb-clksrc";
+					reg = <0>, <1>;
+				};
+
+				timer at 2 {
+					compatible = "atmel,tcb-clkevt";
+					reg = <2>;
+				};
+			};
+
 			usart1: serial at fff90000 {
 				pinctrl-0 =
 					<&pinctrl_usart1
-- 
2.8.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help