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: 7359281 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 A0B3B9F1D5 for ; Fri, 9 Oct 2015 04:43:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DEF3C20808 for ; Fri, 9 Oct 2015 04:43: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 18B0F207F3 for ; Fri, 9 Oct 2015 04:43:06 +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 1ZkPU4-0007lU-OQ; Fri, 09 Oct 2015 04:40:44 +0000 Received: from mail-wi0-f181.google.com ([209.85.212.181]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZkPSp-000684-1E for linux-arm-kernel@lists.infradead.org; Fri, 09 Oct 2015 04:39:27 +0000 Received: by wicfx3 with SMTP id fx3so50529492wic.0 for ; Thu, 08 Oct 2015 21:39:05 -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=IP7fMHw3nWC+H5MoWJANm/rl+0eoE1HdwqwbH6ZYxc4=; b=WTqOXUVuJmNnS7F9plY/2wlCFOuxmOkbMaqCyiB+7pYAgvM9irqGy1p/uyt55Hhuds BcaHSygQ4RM7HfBFvuTnjdmdefp/rAV9TteEHxr4+ATq6AWIhsIfa2AYCt6Bd/hI4DD3 ufl5s8pBovbXpPSvu901cq/cMv50X0aBUbbF7UmQF48Ku/i+NQN4EViTXWXyIS959B1d Bwq+1bNV50XRJApAfjFFDu8WprTsSkGTOhZI+PYjAEwwQ6rlQiWGQKg6MFe0lhq8t090 KZOffMIs2TbziI1PkHYvxV6JqrpDTYzH2WnGHWJzmk0wDXuMF7lEg9KrqoBsgIQDFIWA HsgQ== X-Gm-Message-State: ALoCoQlUBvP+wA3PSNmv3pqA6cOBnA26poAusToWN52d7EhF2Pk507Aq9B0+P2byNOPR0pBDaGPI 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151008_213927_251267_B076F5D9 X-CRM114-Status: GOOD ( 12.31 ) 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..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"; + }; }; };