From patchwork Tue Apr 12 23:55:38 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8817461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 723D29FBEA for ; Tue, 12 Apr 2016 23:58:42 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B36B820160 for ; Tue, 12 Apr 2016 23:58:41 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E0C932013A for ; Tue, 12 Apr 2016 23:58:40 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aq8BL-0000rN-8J; Tue, 12 Apr 2016 23:57:19 +0000 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aq8BH-0000ht-4R for linux-arm-kernel@lists.infradead.org; Tue, 12 Apr 2016 23:57:16 +0000 Received: by mail-pa0-x233.google.com with SMTP id bx7so22328432pad.3 for ; Tue, 12 Apr 2016 16:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NlqEAg/ozeVcy0fqHG+BZuQN/Jgx91fKlJ5r3prLBAY=; b=AhKIVjVN2BH22iJthLMDhWngq/2eK/0snF2XTyY7NCc/rjEE4uypE9BcQTE52SRiSm caFHfWahuco1PhtkNR3Lvkzbc08eqRH/FXk4cnZlX5BSa2X8iww/lHjWj1S//kxvtdbp OoIkhXU4izPTxRsMxlwOW32cGGptR8zx7aWM4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=NlqEAg/ozeVcy0fqHG+BZuQN/Jgx91fKlJ5r3prLBAY=; b=kn1eyBjEwRx9t5krG26kV8oOE5DxUEOaOz9FUuZLSHdAvgKG80Rkpyl++B7nBqxLFP 90t+uUSBVxTUiAPMWi93RfrAWqo4Xq1tmfuelCNRlyGAYgyBoMZe2PMrdiCYFnVHBh7r 8D6vLf8jTU+ns73NGaE1qKZA9xx2aY/Wtq7g0vFkNh/rfVzEyWrx8C09AB1PSYFLAIYg +oRty2HkTYBzP+dd8mbjieoNVHxMoUCEB07NB6fDotualmJYB716QgrrY5/oDwFDLysO TtFshLkczg1f4Pp0nol1ExFodsY4U3a24aPLHvY0uayyAEfOErWEIBssSR9H0u2Ze0AF Wc0w== X-Gm-Message-State: AOPr4FV65gYuauhy6pNm/E2W5NjmK4pSY4ZBdOQUo7rwESw/WfPjb5tqt3Ehcq6274MWKDkE X-Received: by 10.66.66.77 with SMTP id d13mr8609965pat.75.1460505414382; Tue, 12 Apr 2016 16:56:54 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.226]) by smtp.gmail.com with ESMTPSA id i1sm46165795pfj.17.2016.04.12.16.56.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 12 Apr 2016 16:56:53 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, catalin.marinas@arm.com, will.deacon@arm.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, tony@atomide.com Subject: [PATCH v4 02/16] arm64: dts: add sp804 timer node for Hi6220 Date: Wed, 13 Apr 2016 07:55:38 +0800 Message-Id: <1460505352-13157-3-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> References: <1460505352-13157-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160412_165715_467707_3E9E6627 X-CRM114-Status: GOOD ( 10.91 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Leo Yan MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Leo Yan 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index ad1f1eb..b975286 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -209,5 +209,16 @@ clock-names = "uartclk", "apb_pclk"; status = "disabled"; }; + + dual_timer0: timer@f8008000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x0 0xf8008000 0x0 0x1000>; + interrupts = , + ; + clocks = <&ao_ctrl HI6220_TIMER0_PCLK>, + <&ao_ctrl HI6220_TIMER0_PCLK>, + <&ao_ctrl HI6220_TIMER0_PCLK>; + clock-names = "timer1", "timer2", "apb_pclk"; + }; }; };