]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
arm64: dts: mt8173: add timer node
authorDaniel Kurtz <djkurtz@chromium.org>
Fri, 2 Oct 2015 15:05:19 +0000 (23:05 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 20 Nov 2015 12:40:21 +0000 (13:40 +0100)
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>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173.dtsi

index 4dd5f93d0303f9302e80f171ed9bfbeff8bb994b..d301ce5c9da95db5cc01b674c475547e392e5683 100644 (file)
@@ -247,6 +247,15 @@ watchdog: watchdog@10007000 {
                        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>;