From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754765AbaIKMG0 (ORCPT ); Thu, 11 Sep 2014 08:06:26 -0400 Received: from mail.kmu-office.ch ([178.209.48.102]:37161 "EHLO mail.kmu-office.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754568AbaIKMGV (ORCPT ); Thu, 11 Sep 2014 08:06:21 -0400 From: Stefan Agner To: shawn.guo@freescale.com, kernel@pengutronix.de Cc: festevam@gmail.com, jingchang.lu@freescale.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Agner Subject: [PATCH 1/2] ARM: dts: vf610: Add ARM Global Timer Date: Thu, 11 Sep 2014 14:06:14 +0200 Message-Id: <1410437175-6636-1-git-send-email-stefan@agner.ch> X-Mailer: git-send-email 2.1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Global Timer support which is part of the Snoop Control Unit of the Cortex-A5 processor. This Global Timer is compatible with the Cortex-A9 implementation. It's a 64-bit timer and is clocked by the peripheral clock, which is typically 133 or 166MHz on Vybrid. Signed-off-by: Stefan Agner --- arch/arm/boot/dts/vf610.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index 4d2ec32..a03abf6 100644 --- a/arch/arm/boot/dts/vf610.dtsi +++ b/arch/arm/boot/dts/vf610.dtsi @@ -11,6 +11,7 @@ #include "vf610-pinfunc.h" #include #include +#include / { aliases { @@ -83,6 +84,13 @@ <0x40002100 0x100>; }; + global_timer: global-timer@40002200 { + compatible = "arm,cortex-a9-global-timer"; + reg = <0x40002200 0x20>; + interrupts = ; + clocks = <&clks VF610_CLK_PLATFORM_BUS>; + }; + L2: l2-cache@40006000 { compatible = "arm,pl310-cache"; reg = <0x40006000 0x1000>; -- 2.1.0