From patchwork Wed Sep 16 02:04:55 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yingjoe Chen X-Patchwork-Id: 53708 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by patches.linaro.org (Postfix) with ESMTPS id 1A26F22DE5 for ; Wed, 16 Sep 2015 02:05:33 +0000 (UTC) Received: by wisv5 with SMTP id v5sf15567402wis.0 for ; Tue, 15 Sep 2015 19:05:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type:sender:precedence :list-id:x-original-sender:x-original-authentication-results :mailing-list:list-post:list-help:list-archive:list-unsubscribe; bh=TnHKszaz18uDB0NnPCXCIcRJhejFBRaa6ThPDl1tNu8=; b=WNaZA8bSrcaDTN41z3+f5b0uHXIOUYCuNWE8gfLHfoAEtg5zbgJ3mwOpD2REGcue++ LD1ONoMwagiw3sF5W+NiowexTh8dMO5Iwz875xsvYEcJCf1dlweOOwocJEgq7JhlvU3F AdGm/dF2z/FHIXKiH7QDY29D9Ww2ZuwvEePfJUXQB2zHVSK5f4rGtg+3/i28Mox4BfAN QvbHm1Vc4RGJtbNqwp33jPI9VzZkMPWcEb/BVT1SCEBqbuNHl0EuMabBdN/Wo8RnkpG1 B6XFCfSRkD11IxCwijN2pJDrsbSiEYCO/Avz41J5ugggq2f/axWEsEZTw5XR5qzx4jTV JT6Q== X-Gm-Message-State: ALoCoQmOfda33j1r9/lGle3ymwkADfgq2cxnK4AlWFnDumcAutVLyZOy4ADi5Kbn1zLTV2R0OFGF X-Received: by 10.180.99.196 with SMTP id es4mr1411818wib.1.1442369132441; Tue, 15 Sep 2015 19:05:32 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.3.226 with SMTP id f2ls546502laf.46.gmail; Tue, 15 Sep 2015 19:05:32 -0700 (PDT) X-Received: by 10.153.4.7 with SMTP id ca7mr26026730lad.90.1442369132229; Tue, 15 Sep 2015 19:05:32 -0700 (PDT) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPS id jn7si16153413lbc.125.2015.09.15.19.05.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Sep 2015 19:05:32 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) client-ip=209.85.215.43; Received: by lahg1 with SMTP id g1so90340565lah.1 for ; Tue, 15 Sep 2015 19:05:32 -0700 (PDT) X-Received: by 10.152.43.137 with SMTP id w9mr26535858lal.56.1442369131925; Tue, 15 Sep 2015 19:05:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp2153016lbq; Tue, 15 Sep 2015 19:05:30 -0700 (PDT) X-Received: by 10.68.102.225 with SMTP id fr1mr54247842pbb.65.1442369130814; Tue, 15 Sep 2015 19:05:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id aa9si14873309pbd.56.2015.09.15.19.05.29; Tue, 15 Sep 2015 19:05:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752392AbbIPCF1 (ORCPT + 29 others); Tue, 15 Sep 2015 22:05:27 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:34162 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751816AbbIPCFD (ORCPT ); Tue, 15 Sep 2015 22:05:03 -0400 X-Listener-Flag: 11101 Received: from mtkhts09.mediatek.inc [(172.21.101.70)] by mailgw02.mediatek.com (envelope-from ) (mhqrelay.mediatek.com ESMTP with TLS) with ESMTP id 2014244847; Wed, 16 Sep 2015 10:04:58 +0800 Received: from mtksdtcf02.mediatek.inc (10.21.12.142) by mtkhts09.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 14.3.181.6; Wed, 16 Sep 2015 10:04:56 +0800 From: Yingjoe Chen To: Matthias Brugger CC: Daniel Lezcano , Thomas Gleixner , Stephen Boyd , Michael Turquette , James Liao , , Arnd Bergmann , Catalin Marinas , , Rob Herring , , Sascha Hauer , Olof Johansson , , , Daniel Kurtz , , Eddie Huang , Yingjoe Chen Subject: [PATCH 2/2] arm64: dts: mt8173: add timer node Date: Wed, 16 Sep 2015 10:04:55 +0800 Message-ID: <1442369095-1094-2-git-send-email-yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1442369095-1094-1-git-send-email-yingjoe.chen@mediatek.com> References: <1442369095-1094-1-git-send-email-yingjoe.chen@mediatek.com> MIME-Version: 1.0 X-MTK: N Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: yingjoe.chen@mediatek.com X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.43 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Daniel Kurtz Add device node to enable GPT timer. This timer will be used as sched clock source. Change-Id: Idc4e3f0ee80b5c36cae6f0f2328f94aafcca1253 Signed-off-by: Daniel Kurtz Signed-off-by: Eddie Huang Signed-off-by: Yingjoe Chen --- 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 = ; + clocks = <&infracfg CLK_INFRA_CLK_13M>, + <&topckgen CLK_TOP_RTC_SEL>; + }; + pwrap: pwrap@1000d000 { compatible = "mediatek,mt8173-pwrap"; reg = <0 0x1000d000 0 0x1000>;