Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1653630 > unrolled thread

[PATCH 38/58] ARM: dts: at91: sama5d4: Add TCB2

Started byAlexandre Belloni <alexandre.belloni@free-electrons.com>
First post2017-05-31 00:00 +0200
Last post2017-05-31 00:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 38/58] ARM: dts: at91: sama5d4: Add TCB2 Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-05-31 00:00 +0200

#1653630 — [PATCH 38/58] ARM: dts: at91: sama5d4: Add TCB2

FromAlexandre Belloni <alexandre.belloni@free-electrons.com>
Date2017-05-31 00:00 +0200
Subject[PATCH 38/58] ARM: dts: at91: sama5d4: Add TCB2
Message-ID<tMXli-4i6-57@gated-at.bofh.it>
The third TC block is missing from the dtsi. It has no output pins but can
still be used as a clocksource/clockevents device as the IRQ is wired.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 arch/arm/boot/dts/sama5d4.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi
index 73d38326cc43..1ff956ad159d 100644
--- a/arch/arm/boot/dts/sama5d4.dtsi
+++ b/arch/arm/boot/dts/sama5d4.dtsi
@@ -1193,6 +1193,16 @@
 				clock-names = "t0_clk", "slow_clk";
 			};
 
+			tcb2: timer@fc024000 {
+				compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon";
+				#address-cells = <1>;
+				#size-cells = <0>;
+				reg = <0xfc024000 0x100>;
+				interrupts = <42 IRQ_TYPE_LEVEL_HIGH 0>;
+				clocks = <&tcb2_clk>, <&clk32k>;
+				clock-names = "t0_clk", "slow_clk";
+			};
+
 			macb1: ethernet@fc028000 {
 				compatible = "atmel,sama5d4-gem";
 				reg = <0xfc028000 0x100>;
-- 
2.11.0

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web