From patchwork Tue Oct 13 00:58: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: 7380231 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 514C49F37F for ; Tue, 13 Oct 2015 01:02:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6782A20986 for ; Tue, 13 Oct 2015 01:02:23 +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 8B23B20982 for ; Tue, 13 Oct 2015 01:02:22 +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 1ZlnwH-0005H8-3p; Tue, 13 Oct 2015 00:59:37 +0000 Received: from mail-wi0-f169.google.com ([209.85.212.169]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZlnwD-00057b-Rp for linux-arm-kernel@lists.infradead.org; Tue, 13 Oct 2015 00:59:34 +0000 Received: by wicge5 with SMTP id ge5so36687238wic.0 for ; Mon, 12 Oct 2015 17:59:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=E7fZENWBElvGQv8fMA3w4srphEBV494SN+tpuocESaw=; b=mLiDZffPz6DOedebyx31nJY953+Lg/8HB40P+jbI+gDLOPdEmeiprEgYeBBmy4/CMF Z0YM7HepvgCSfeggrJZnxPuHlr6KnyEthicLJhZUo0oBW7/2ZqhVmGzwWbR6cskwJDzG PrCjCieMHQ2jP9HqoSntjXiRjT50JjMbQ5QIFF1O5MpIeMF3oE/oCjrkWhEFNDJDpFwr vOzfe8dEaphrUNSYBUWMM2hngfQ8RUCnmbLNFrqJfeFWXjRTuoYj3Xt90K/rYCmCuwvg 7OIES6/sDxD4HvpC+akutvBthm3PQBtnT9DxDTDAnthaui4Y0RA+fD2W0IDJUkmziQUw sg5A== X-Gm-Message-State: ALoCoQksRJi6LFHcAHtVTpkok+MQpyNWK0cEAjeoSrNrM/nAqslUPNMiG5HXQrjeg+Mo9tCtSlA5 X-Received: by 10.194.134.98 with SMTP id pj2mr38015998wjb.30.1444697952318; Mon, 12 Oct 2015 17:59:12 -0700 (PDT) Received: from localhost.localdomain ([78.110.169.123]) by smtp.gmail.com with ESMTPSA id bv2sm364608wjc.11.2015.10.12.17.58.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 12 Oct 2015 17:59:11 -0700 (PDT) From: Leo Yan To: Catalin Marinas , Will Deacon , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Leo Yan , Haojian Zhuang , Wei Xu , Bintian Wang , Yiping Xu , Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 3/4] arm64: dts: add sp804 timer node for Hi6220 Date: Tue, 13 Oct 2015 08:58:15 +0800 Message-Id: <1444697896-4323-4-git-send-email-leo.yan@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1444697896-4323-1-git-send-email-leo.yan@linaro.org> References: <1444697896-4323-1-git-send-email-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151012_175934_085008_022D2F02 X-CRM114-Status: GOOD ( 12.58 ) X-Spam-Score: -2.6 (--) 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: , 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=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, 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 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..cdd4125 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>; + clock-names = "apb_pclk"; + }; }; };