diff mbox

[36/58] ARM: dts: at91: linea/tse850-3: use TCB0 as clocksource

Message ID 20170530215139.9983-37-alexandre.belloni@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Alexandre Belloni May 30, 2017, 9:51 p.m. UTC
Use tcb0 as the clocksource like previously selected in sama5_defconfig.

Cc: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/at91-linea.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Peter Rosin June 1, 2017, 6:52 p.m. UTC | #1
On 2017-05-30 23:51, Alexandre Belloni wrote:
> Use tcb0 as the clocksource like previously selected in sama5_defconfig.
> 
> Cc: Peter Rosin <peda@axentia.se>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

Tested-by: Peter Rosin <peda@axentia.se>

Cheers,
peda
diff mbox

Patch

diff --git a/arch/arm/boot/dts/at91-linea.dtsi b/arch/arm/boot/dts/at91-linea.dtsi
index 0721c8472509..7f73e98e223f 100644
--- a/arch/arm/boot/dts/at91-linea.dtsi
+++ b/arch/arm/boot/dts/at91-linea.dtsi
@@ -27,6 +27,18 @@ 
 	clock-frequency = <12000000>;
 };
 
+&tcb0 {
+	timer@0 {
+		compatible = "atmel,tcb-timer";
+		reg = <0>;
+	};
+
+	timer@1 {
+		compatible = "atmel,tcb-timer";
+		reg = <1>;
+	};
+};
+
 &i2c0 {
 	status = "okay";