From patchwork Fri Oct 2 15:05:19 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yingjoe Chen X-Patchwork-Id: 54446 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by patches.linaro.org (Postfix) with ESMTPS id 5F0B2218EF for ; Fri, 2 Oct 2015 15:06:21 +0000 (UTC) Received: by lafb9 with SMTP id b9sf3994571laf.3 for ; Fri, 02 Oct 2015 08:06:20 -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=IWQut579JZ1Zwl17rbRnaVZc96wa6ZSa5dpnAgrtBfU=; b=Zf/ve5UdvNXkwpxPVN7bNFp91UWAKv7m/I4WqPsojEqRHuTo4enH0n4bDQs27cZTHH vkiSWRisZXnt+ms1BP/DYRplNgO1N4TwvVePsh1FeQ2dI4xXKIH0gyLinF6eDIiJCNvA ZH7m+w6HJbH4rr+UaS19NcK/eMqTVa6m+GlzyUx+11NglnvCmn4dCHWaDfmvYHXCmCsL Mu0nLpQONY53e373HFh/VIZt1Xn6d1IqIC9T2f3yXjN5JlRKj9MZ9Qk4NjL/M32GDocD CeO6UvTH4mIXJcxTgx8qE9di1aNu8V9j0RGCpdhZ2NMPkQQsPQMkiBDEuPcr5+RfDap2 BB+w== X-Gm-Message-State: ALoCoQlcXzEPnu1WW7mU2x86cKjIxw+7xhfUhTiOAiRLNVhvZjbNWqG5VJ5lVt1lQNWtQIzMxsxf X-Received: by 10.112.202.165 with SMTP id kj5mr2693607lbc.5.1443798380180; Fri, 02 Oct 2015 08:06:20 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.163.73 with SMTP id m70ls250629lfe.39.gmail; Fri, 02 Oct 2015 08:06:20 -0700 (PDT) X-Received: by 10.25.88.67 with SMTP id m64mr3740048lfb.23.1443798380010; Fri, 02 Oct 2015 08:06:20 -0700 (PDT) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com. [209.85.217.173]) by mx.google.com with ESMTPS id 41si6505634lfp.99.2015.10.02.08.06.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 02 Oct 2015 08:06:19 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.173 as permitted sender) client-ip=209.85.217.173; Received: by lbwr8 with SMTP id r8so27989669lbw.2 for ; Fri, 02 Oct 2015 08:06:19 -0700 (PDT) X-Received: by 10.25.86.213 with SMTP id k204mr3866131lfb.36.1443798379838; Fri, 02 Oct 2015 08:06:19 -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 w3csp1301201lbq; Fri, 2 Oct 2015 08:06:18 -0700 (PDT) X-Received: by 10.68.200.100 with SMTP id jr4mr21196787pbc.16.1443798378421; Fri, 02 Oct 2015 08:06:18 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ht3si17363208pad.70.2015.10.02.08.06.18; Fri, 02 Oct 2015 08:06:18 -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 S1753080AbbJBPGP (ORCPT + 30 others); Fri, 2 Oct 2015 11:06:15 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:35333 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1752877AbbJBPGL (ORCPT ); Fri, 2 Oct 2015 11:06:11 -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 914363888; Fri, 02 Oct 2015 23:06:08 +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; Fri, 2 Oct 2015 23:06:07 +0800 From: Yingjoe Chen To: Matthias Brugger , Rob Herring CC: Daniel Lezcano , Thomas Gleixner , Stephen Boyd , Michael Turquette , James Liao , , Arnd Bergmann , Catalin Marinas , , , Sascha Hauer , Olof Johansson , , , Daniel Kurtz , , Yingjoe Chen , , Eddie Huang Subject: [PATCH v4 3/3] arm64: dts: mt8173: add timer node Date: Fri, 2 Oct 2015 23:05:19 +0800 Message-ID: <1443798319-45744-4-git-send-email-yingjoe.chen@mediatek.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1443798319-45744-1-git-send-email-yingjoe.chen@mediatek.com> References: <1443798319-45744-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.217.173 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. 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>;