From patchwork Tue Apr 5 13:27:26 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8751611 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 CC5F09F336 for ; Tue, 5 Apr 2016 13:32:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F24D42039E for ; Tue, 5 Apr 2016 13:32:08 +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 52D5C203A0 for ; Tue, 5 Apr 2016 13:32:05 +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 1anR3o-000315-2P; Tue, 05 Apr 2016 13:30:24 +0000 Received: from mail-pf0-x22e.google.com ([2607:f8b0:400e:c00::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1anR3c-0001zD-N6 for linux-arm-kernel@lists.infradead.org; Tue, 05 Apr 2016 13:30:14 +0000 Received: by mail-pf0-x22e.google.com with SMTP id c20so11027161pfc.1 for ; Tue, 05 Apr 2016 06:29:52 -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=igwSfWx3asYc1JpHHIAtNTbclW8ZqTOzV1WKeeDDfVNI5y/WJsCUHbz/qsf9x+/IaN 4cLIefFLrnUW3js9ssZIle73GUIJ/45xZPRtu6IGV2BiSC1BrtHgGqcC2tZqNO7/JPlp hAKLbhj6b1DPAYp+VGQrHoJ1BnF7VZyVPbRrM= 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=Rx3Sw0kUEFhouCz9VOwqInySCfOa5mvzgoM9EuqXug0OUycAFfWTxgAO6bje9lsyQx erbGHR6Nyg+IzIQlm9XgzfvT1hs1XC5fxPTcnnbfOUQLKNfovm03rDyoqs+jJEFsEwpq 5/2Io6Zhm9dDQV590NfaanqvFMTaNJjcyfbNnVSVj8UQCeNGEs4OJATudx3zYMWRMvX2 DZL+OgzBaD0T3bBBsU9he9DbORpSPRkHFnaZqvo95gobjUSjoB0WBDMBRWDXSihG8ext az7ILMemkNVF6N/N+MZd1jrW/EsR9vlqsdNXrOSMzAdTUVMXxmPV+rXw8V7cBBVU26Vp Fgcw== X-Gm-Message-State: AD7BkJLeZPLFBbphw5Q3hdSV5jkp3c9NpsRgFRctYy7qrDYrgFisTbinNqH+EouHuqcpLza5 X-Received: by 10.98.70.27 with SMTP id t27mr29204161pfa.107.1459862991941; Tue, 05 Apr 2016 06:29:51 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.49]) by smtp.gmail.com with ESMTPSA id wh9sm8060481pab.8.2016.04.05.06.29.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Apr 2016 06:29:51 -0700 (PDT) From: Guodong Xu To: xuwei5@hisilicon.com, mark.rutland@arm.com, robh@kernel.org, grant.likely@secretlab.ca, linus.walleij@linaro.org, arnd.bergmann@linaro.org Subject: [PATCH v3 02/16] arm64: dts: add sp804 timer node for Hi6220 Date: Tue, 5 Apr 2016 21:27:26 +0800 Message-Id: <1459862860-9775-3-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> References: <1459862860-9775-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160405_063012_992985_4740119A X-CRM114-Status: UNSURE ( 9.79 ) X-CRM114-Notice: Please train this message. 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, kong.kongxinwei@hisilicon.com, 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 Reviewed-by: Linus Walleij --- 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"; + }; }; };