From patchwork Fri Oct 9 04:36:15 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Yan X-Patchwork-Id: 54684 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by patches.linaro.org (Postfix) with ESMTPS id 024D922FF4 for ; Fri, 9 Oct 2015 04:39:14 +0000 (UTC) Received: by wibgw2 with SMTP id gw2sf3688231wib.1 for ; Thu, 08 Oct 2015 21:39:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:subject:date :message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=UwVR26Ss46MutZXqjSpQgh8PdmaZPNPY8O2pqseZeUU=; b=UViJF+Bg/yS5ws4zLMm2TeSBBTLNwHT706BseRpZxyvvAQU2fNh2oSqhIM1hnugpq2 U/6z/fUmHvbOLybY6+n5RGOtaXFKHoVlhLxCYFYOMEwOaQmRLWuy15au5q8jhScThU7b 3MdEyjrQHCJ5N1C0dAOS1h80eC0Jr087meIQ3/JZfpHh1P0GXu8wlMCl2IWldFcbtgO8 1Mli+tQleM3gRuvqGfkavUk9EqtfSRza5sgyQ+gJRfs2PRrQ9w97brhoWVWjuQ5G03Jm K4W7esM/Ly2vx6IM16E1QjgGc4Yz/wnm/n4kfK/9dMA35krJ9aDoV80hGGvsDMJNgtO6 zBiw== X-Gm-Message-State: ALoCoQlpJnQXbqtbO48Zy0w8dbdFkjnEx6ly9vF/xGjvLgZ68jDhO+oKorFYnXkRTp/UQnlBqsFy X-Received: by 10.112.147.7 with SMTP id tg7mr2153344lbb.16.1444365553254; Thu, 08 Oct 2015 21:39:13 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.163.73 with SMTP id m70ls262253lfe.39.gmail; Thu, 08 Oct 2015 21:39:13 -0700 (PDT) X-Received: by 10.25.155.75 with SMTP id d72mr3570667lfe.33.1444365553085; Thu, 08 Oct 2015 21:39:13 -0700 (PDT) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id j33si32407571lfi.37.2015.10.08.21.39.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Oct 2015 21:39:13 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by lbbwt4 with SMTP id wt4so68272553lbb.1 for ; Thu, 08 Oct 2015 21:39:13 -0700 (PDT) X-Received: by 10.112.151.106 with SMTP id up10mr5625864lbb.106.1444365552981; Thu, 08 Oct 2015 21:39:12 -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 w3csp943616lbq; Thu, 8 Oct 2015 21:39:12 -0700 (PDT) X-Received: by 10.66.119.201 with SMTP id kw9mr3178623pab.64.1444365551978; Thu, 08 Oct 2015 21:39:11 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id xv7si71832575pab.155.2015.10.08.21.39.11; Thu, 08 Oct 2015 21:39:11 -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 S933015AbbJIEjJ (ORCPT + 30 others); Fri, 9 Oct 2015 00:39:09 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:33724 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932418AbbJIEjG (ORCPT ); Fri, 9 Oct 2015 00:39:06 -0400 Received: by wiclk2 with SMTP id lk2so54125368wic.0 for ; Thu, 08 Oct 2015 21:39:05 -0700 (PDT) X-Received: by 10.194.5.35 with SMTP id p3mr13885596wjp.132.1444365545354; Thu, 08 Oct 2015 21:39:05 -0700 (PDT) Received: from localhost.localdomain ([78.110.172.67]) by smtp.gmail.com with ESMTPSA id bv2sm49982225wjc.11.2015.10.08.21.38.57 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 08 Oct 2015 21:39:04 -0700 (PDT) From: Leo Yan To: Catalin Marinas , Will Deacon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Bintian Wang , Leo Yan , Haojian Zhuang , Wei Xu , Yiping Xu , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Mark Brown , Tyler Baker Subject: [PATCH 3/4] arm64: dts: add sp804 timer node for Hi6220 Date: Fri, 9 Oct 2015 12:36:15 +0800 Message-Id: <1444365376-10728-4-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444365376-10728-1-git-send-email-leo.yan@linaro.org> References: <1444365376-10728-1-git-send-email-leo.yan@linaro.org> 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: leo.yan@linaro.org 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.175 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: , Add sp804 timer for hi6220, so it can be used as broadcast timer. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index 3f03380..7edbe42 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -167,5 +167,14 @@ clocks = <&ao_ctrl 36>, <&ao_ctrl 36>; clock-names = "uartclk", "apb_pclk"; }; + + dual_timer0: dual_timer@f8008000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x0 0xf8008000 0x0 0x1000>; + interrupts = , + ; + clocks = <&ao_ctrl 27>, <&ao_ctrl 27>; + clock-names = "apb_pclk", "apb_pclk"; + }; }; };