From: Matthias Brugger <matthias.bgg@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: linux@arm.linux.org.uk, robh+dt@kernel.org, pawel.moll@arm.com,
mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
galak@codeaurora.org, olof@lixom.net, arnd@arndb.de,
jason@lakedaemon.net, thomas.petazzoni@free-electrons.com,
swarren@nvidia.com, sebastian.hesselbarth@gmail.com,
stefan@agner.ch, maxime.ripard@free-electrons.com,
matthias.bgg@gmail.com, anders.berg@lsi.com,
linus.walleij@linaro.org, lee.jones@linaro.org, heiko@sntech.de,
srv_yingjoe.chen@mediatek.com, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 7/9] arm: dts: mt6589: Add arm arch timer node
Date: Mon, 18 Aug 2014 16:58:35 +0200 [thread overview]
Message-ID: <1408373917-10002-8-git-send-email-matthias.bgg@gmail.com> (raw)
In-Reply-To: <1408373917-10002-1-git-send-email-matthias.bgg@gmail.com>
This patch adds the device tree node for the arm architecture timer.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
---
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 = <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>;
clocks = <&system_clk>, <&rtc_clk>;
clock-names = "system-clk", "rtc-clk";
};
+ timer2: timer {
+ compatible = "arm,armv7-timer";
+ interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
+ <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
+ clock-frequency = <13000000>;
+ };
+
gic: interrupt-controller@10211000 {
compatible = "arm,cortex-a15-gic";
interrupt-controller;
--
1.7.9.5
next prev parent reply other threads:[~2014-08-18 14:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-18 14:58 [PATCH v2 0/9] arm: mediatek: Add more basic features Matthias Brugger
2014-08-18 14:58 ` [PATCH v2 1/9] arm: dts: Build dtb for Mediatek board Matthias Brugger
2014-08-18 14:58 ` [PATCH v2 2/9] arm: multi_v7_defconfig: Enable Mediatek platform Matthias Brugger
2014-08-18 14:58 ` [PATCH v2 3/9] arm: dts: mt6589: Fix typo in GIC unit address Matthias Brugger
2014-08-18 14:58 ` [PATCH v2 4/9] arm: mediatek: Add earlyprintk support for mt6589 Matthias Brugger
2014-08-18 14:58 ` [PATCH v2 5/9] arm: dts: mt6589-aquaris5: Add boot argument earlyprintk Matthias Brugger
2014-08-18 14:58 ` [PATCH v2 6/9] arm: mediatek: enable gpt6 on boot up to make arch timer working Matthias Brugger
[not found] ` <20140818154548.GA3302@leverpostej>
2014-08-21 10:38 ` Matthias Brugger
2014-08-21 10:56 ` Mark Rutland
2014-08-18 14:58 ` Matthias Brugger [this message]
2014-08-18 14:58 ` [PATCH v2 8/9] arm: dts: mediatek: Add compatible property for aquaris5 Matthias Brugger
2014-08-18 14:58 ` [PATCH v2 9/9] arm: dts: mt6589: Change compatible string for GIC Matthias Brugger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1408373917-10002-8-git-send-email-matthias.bgg@gmail.com \
--to=matthias.bgg@gmail.com \
--cc=anders.berg@lsi.com \
--cc=arnd@arndb.de \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=heiko@sntech.de \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jason@lakedaemon.net \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=maxime.ripard@free-electrons.com \
--cc=olof@lixom.net \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=sebastian.hesselbarth@gmail.com \
--cc=srv_yingjoe.chen@mediatek.com \
--cc=stefan@agner.ch \
--cc=swarren@nvidia.com \
--cc=thomas.petazzoni@free-electrons.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox