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: 54820 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f198.google.com (mail-wi0-f198.google.com [209.85.212.198]) by patches.linaro.org (Postfix) with ESMTPS id 3ACF923001 for ; Tue, 13 Oct 2015 00:59:36 +0000 (UTC) Received: by wibzt1 with SMTP id zt1sf2135678wib.0 for ; Mon, 12 Oct 2015 17:59:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:subject:date :message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=VzbXUg01J+YBQFUH8mrk5fd0Pq9NVxNOudZBzjK2UbM=; b=WKqQJI9D3f/7HY0/s0vkbvp1aOxCHeqnVQJoBzqQ3bgbCRjXT8Ak4urIqhtrYFH7io pM8iNPWiOHNzasEsazc11gZlZFHmUeeffKs0Urmob7rMSdQ6P50ZH6gIrLI8EoSGVmzZ dueDi+TXenpMh+MCXROmbcsk/WlIuCFvUEZfVJo3KFy+B3SPNnUJ0GjK9csq/Sb34xkf DqZsB4q1mQGByANeAEosyHQNPJEFtyU1MPMkZ7pIlhOFMVMj87JUNMf4wzqe04TS1YTa TTlw6dAYLZoIJCJeuUm6t0hb5M5JiFjDw3NLezKwuvM0m/7WAZJiNWHcVZ4lQAXK/5Jm JCmg== X-Gm-Message-State: ALoCoQlcvW7WKh4R/uv9/UtHxPU5TwidNlkv+4p6lFI+ludj9cvB7dn+fC4jDJPbn1CF+FxfYYXU X-Received: by 10.194.156.193 with SMTP id wg1mr6295494wjb.3.1444697975540; Mon, 12 Oct 2015 17:59:35 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.25.18.226 with SMTP id 95ls609305lfs.1.gmail; Mon, 12 Oct 2015 17:59:35 -0700 (PDT) X-Received: by 10.112.147.10 with SMTP id tg10mr14077496lbb.58.1444697975357; Mon, 12 Oct 2015 17:59:35 -0700 (PDT) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id l6si289150lbs.117.2015.10.12.17.59.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 17:59:35 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by lbwr8 with SMTP id r8so2411051lbw.2 for ; Mon, 12 Oct 2015 17:59:35 -0700 (PDT) X-Received: by 10.112.202.35 with SMTP id kf3mr13694782lbc.19.1444697975227; Mon, 12 Oct 2015 17:59:35 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.59.35 with SMTP id w3csp1828681lbq; Mon, 12 Oct 2015 17:59:34 -0700 (PDT) X-Received: by 10.50.32.69 with SMTP id g5mr10939357igi.35.1444697973701; Mon, 12 Oct 2015 17:59:33 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l9si707179ioe.165.2015.10.12.17.59.33; Mon, 12 Oct 2015 17:59:33 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932193AbbJMA7Q (ORCPT + 30 others); Mon, 12 Oct 2015 20:59:16 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:34309 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932167AbbJMA7N (ORCPT ); Mon, 12 Oct 2015 20:59:13 -0400 Received: by wicgb1 with SMTP id gb1so69088348wic.1 for ; Mon, 12 Oct 2015 17:59:12 -0700 (PDT) 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: leo.yan@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) smtp.mailfrom=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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"; + }; }; };