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


Groups > linux.kernel > #1238345

[PATCH v4 3/3] arm64: dts: mt8173: add timer node

From Yingjoe Chen <yingjoe.chen@mediatek.com>
Newsgroups linux.kernel
Subject [PATCH v4 3/3] arm64: dts: mt8173: add timer node
Date 2015-10-02 17:10 +0200
Message-ID <qfa8a-6Wx-19@gated-at.bofh.it> (permalink)
References <qfa8a-6Wx-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Daniel Kurtz <djkurtz@chromium.org>

Add device node to enable GPT timer.

Signed-off-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Eddie Huang <eddie.huang@mediatek.com>
Signed-off-by: Yingjoe Chen <yingjoe.chen@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
index d18ee42..d763803 100644
--- a/arch/arm64/boot/dts/mediatek/mt8173.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8173.dtsi
@@ -238,6 +238,15 @@
 			reg = <0 0x10007000 0 0x100>;
 		};
 
+		timer: timer@10008000 {
+			compatible = "mediatek,mt8173-timer",
+				     "mediatek,mt6577-timer";
+			reg = <0 0x10008000 0 0x1000>;
+			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_LOW>;
+			clocks = <&infracfg CLK_INFRA_CLK_13M>,
+				 <&topckgen CLK_TOP_RTC_SEL>;
+		};
+
 		pwrap: pwrap@1000d000 {
 			compatible = "mediatek,mt8173-pwrap";
 			reg = <0 0x1000d000 0 0x1000>;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH v4 0/3] add GPT timer support for mt8173 Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-10-02 17:10 +0200
  [PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-10-02 17:10 +0200
  [PATCH v4 3/3] arm64: dts: mt8173: add timer node Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-10-02 17:10 +0200
  [PATCH v4 1/3] dt-bindings: add more MediaTek SoC to mtk-timer binding Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-10-02 17:10 +0200
  Re: [PATCH v4 0/3] add GPT timer support for mt8173 Yingjoe Chen <yingjoe.chen@mediatek.com> - 2015-10-02 17:20 +0200

csiph-web