From patchwork Mon Aug 18 14:58:35 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Brugger X-Patchwork-Id: 4737461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 078B49F377 for ; Mon, 18 Aug 2014 15:05:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 89EC22015D for ; Mon, 18 Aug 2014 15:05:10 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6A67620142 for ; Mon, 18 Aug 2014 15:05:09 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJOPq-0003Pv-23; Mon, 18 Aug 2014 15:00:10 +0000 Received: from mail-we0-x231.google.com ([2a00:1450:400c:c03::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XJOPB-0001wr-CT for linux-arm-kernel@lists.infradead.org; Mon, 18 Aug 2014 14:59:29 +0000 Received: by mail-we0-f177.google.com with SMTP id w62so5135405wes.36 for ; Mon, 18 Aug 2014 07:59:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1HKUUnSViyCfxoKp/7WzTuiCUUuzyQQM67AmeokLMv8=; b=iWemi3vrWvywmDaOL8Hr0Xb5HSFIp+0wOL5kA4cS8jnO1clPVg/gWSdz5zfQXnyJef QBy2Dq6SN8Y56NxkuydQnkeQY35mE64RK9x8E38q5KXs6xfjBMvax1/PCCygvyZYdxEo KdE6n8cMN/zzR2BPsL4T8a9cxS01mgTlDWgMl0LQOUmNPFdVv4i3VmCYolXzra+PYDDd yQFlOQKs/4c0gYFnSC0hFte58oJI9nyeKesmpWXV73aGCzjzVKsSE7pwGvpU7UA4kK4a WQrcXAoO2WTIEOCprASzR6NyYpJaN/MnUGq1Cvj8TCyBNBTaUZw+51a/FumTWMZhonD4 PpgQ== X-Received: by 10.194.187.4 with SMTP id fo4mr42778099wjc.35.1408373946373; Mon, 18 Aug 2014 07:59:06 -0700 (PDT) Received: from localhost.localdomain (72.Red-81-33-165.dynamicIP.rima-tde.net. [81.33.165.72]) by mx.google.com with ESMTPSA id u10sm38675326wix.14.2014.08.18.07.59.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 Aug 2014 07:59:05 -0700 (PDT) From: Matthias Brugger To: linux-kernel@vger.kernel.org Subject: [PATCH v2 7/9] arm: dts: mt6589: Add arm arch timer node Date: Mon, 18 Aug 2014 16:58:35 +0200 Message-Id: <1408373917-10002-8-git-send-email-matthias.bgg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1408373917-10002-1-git-send-email-matthias.bgg@gmail.com> References: <1408373917-10002-1-git-send-email-matthias.bgg@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140818_075929_576987_95E5407A X-CRM114-Status: GOOD ( 11.77 ) X-Spam-Score: -0.8 (/) Cc: mark.rutland@arm.com, heiko@sntech.de, anders.berg@lsi.com, linus.walleij@linaro.org, stefan@agner.ch, lee.jones@linaro.org, linux@arm.linux.org.uk, pawel.moll@arm.com, srv_yingjoe.chen@mediatek.com, sebastian.hesselbarth@gmail.com, devicetree@vger.kernel.org, jason@lakedaemon.net, arnd@arndb.de, ijc+devicetree@hellion.org.uk, robh+dt@kernel.org, matthias.bgg@gmail.com, swarren@nvidia.com, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@free-electrons.com, galak@codeaurora.org, olof@lixom.net, maxime.ripard@free-electrons.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the device tree node for the arm architecture timer. Signed-off-by: Matthias Brugger --- arch/arm/boot/dts/mt6589.dtsi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/mt6589.dtsi b/arch/arm/boot/dts/mt6589.dtsi index 742c9bd..fb922a6 100644 --- a/arch/arm/boot/dts/mt6589.dtsi +++ b/arch/arm/boot/dts/mt6589.dtsi @@ -73,14 +73,23 @@ compatible = "simple-bus"; ranges; - timer: timer@10008000 { + timer1: timer@10008000 { compatible = "mediatek,mt6577-timer"; - reg = <0x10008000 0x80>; + reg = <0x10008000 0x60>; interrupts = ; clocks = <&system_clk>, <&rtc_clk>; clock-names = "system-clk", "rtc-clk"; }; + timer2: timer { + compatible = "arm,armv7-timer"; + interrupts = , + , + , + ; + clock-frequency = <13000000>; + }; + gic: interrupt-controller@10211000 { compatible = "arm,cortex-a15-gic"; interrupt-controller;