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


Groups > linux.kernel > #1701232

[PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node

From Marcin Wojtas <mw@semihalf.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node
Date 2017-08-01 18:40 +0200
Message-ID <u9In9-6iz-35@gated-at.bofh.it> (permalink)
References <u9In8-6iz-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Since generic Cortex-A9 global timer is available after adding
it to compilation, enable its node in armada-38x.dtsi.

Signed-off-by: Marcin Wojtas <mw@semihalf.com>
---
 arch/arm/boot/dts/armada-38x.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index af31f5d..7ff0811e 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -154,6 +154,13 @@
 				reg = <0xc000 0x58>;
 			};
 
+			timer@c200 {
+				compatible = "arm,cortex-a9-global-timer";
+				reg = <0xc200 0x20>;
+				interrupts = <GIC_PPI 11 (IRQ_TYPE_EDGE_RISING | GIC_CPU_MASK_SIMPLE(2))>;
+				clocks = <&coreclk 2>;
+			};
+
 			timer@c600 {
 				compatible = "arm,cortex-a9-twd-timer";
 				reg = <0xc600 0x20>;
-- 
1.8.3.1

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] Add generic Cortex-A9 timer for Armada 38x Marcin Wojtas <mw@semihalf.com> - 2017-08-01 18:40 +0200
  [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms Marcin Wojtas <mw@semihalf.com> - 2017-08-01 18:40 +0200
    Re: [PATCH 1/2] ARM: mvebu: enable ARM_GLOBAL_TIMER compilation Armada 38x platforms Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-03 15:20 +0200
  [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node Marcin Wojtas <mw@semihalf.com> - 2017-08-01 18:40 +0200
    Re: [PATCH 2/2] ARM: dts: armada-38x: Add arm_global_timer node Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-08-03 15:20 +0200

csiph-web