From patchwork Sat Apr 2 09:29:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 8731031 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 13A3F9F52D for ; Sat, 2 Apr 2016 09:35:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2FD1A2038D for ; Sat, 2 Apr 2016 09:35:06 +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 632CC20386 for ; Sat, 2 Apr 2016 09:35: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 1amHtQ-0000yz-AF; Sat, 02 Apr 2016 09:30:56 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1amHtL-0000ro-Dk for linux-arm-kernel@lists.infradead.org; Sat, 02 Apr 2016 09:30:52 +0000 Received: by mail-pf0-x233.google.com with SMTP id e128so86785041pfe.3 for ; Sat, 02 Apr 2016 02:30:31 -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=/s893mKTe86IFLYJKXrswCqG/MR6DQVdDILwH6mbVzc=; b=a1F1bzag1frR1WZnLnGfKE2a/P5ame+mC+yFqtLnciZg0PAbxVrRpAcnvOoyxn7iCr iYjD/r8qFmrfmGaXEasHKI8yCd/f0xMFXxctSATp9SBnvYOlBVUo836BkVepmb3wJt/5 bTS0xp+WswY5yOrf0Nmh8ZvSRXVXcziTJ/KqE= 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=/s893mKTe86IFLYJKXrswCqG/MR6DQVdDILwH6mbVzc=; b=ZEcA+D+aDTndptaMicasvEzqNko6XFzKS/qovoC5hT3YvyEbXA+nbFxH1nLOYfysqx XxAnYD5FZ95biN15gaeb1J2QjqzbX5RMe9MjjkvS1wwy5Q3RVMEHhnqz9MXPYDC9fprf YqBgdx4WhjUr6+qKQVIAM+G7OZNflUKvqxQwINVo9eZ336BWNPdeXKiTEXpuE5VwwLZs l/aPaayDACitZkMAWlxMzvyKYbjdAU3Wcvy2Ynjc/XVyBeSwn3jv9BG/NfmhPTnEaWm3 jx93whgzKYOjwmX4M5X+zu6nf2zqugIBl6wuOvfyz8SNlVw+CR/sDAr9dabsGUP/6Cq3 E/0Q== X-Gm-Message-State: AD7BkJIDVQX4kVxgrvnRs7SwDpmdm1GcGM5LHDfAdHZcC6WNAp78RQLcaSqUO4F1AoeogPq5 X-Received: by 10.98.34.200 with SMTP id p69mr4944795pfj.114.1459589430640; Sat, 02 Apr 2016 02:30:30 -0700 (PDT) Received: from localhost.localdomain ([104.237.91.92]) by smtp.gmail.com with ESMTPSA id i9sm25425804pfi.95.2016.04.02.02.30.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 02 Apr 2016 02:30:30 -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 v2 02/16] arm64: dts: add sp804 timer node for Hi6220 Date: Sat, 2 Apr 2016 17:29:29 +0800 Message-Id: <1459589383-16914-3-git-send-email-guodong.xu@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> References: <1459589383-16914-1-git-send-email-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160402_023051_685284_D66A9AB7 X-CRM114-Status: GOOD ( 10.13 ) 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 Signed-off-by: Wei Xu --- 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 ad1f1eb..82c4756 100644 --- a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi @@ -209,5 +209,14 @@ clock-names = "uartclk", "apb_pclk"; status = "disabled"; }; + + dual_timer0: dual_timer@f8008000 { + compatible = "arm,sp804", "arm,primecell"; + reg = <0x0 0xf8008000 0x0 0x1000>; + interrupts = , + ; + clocks = <&ao_ctrl 27>; + clock-names = "apb_pclk"; + }; }; };