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: 65073 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp466087lbc; Tue, 5 Apr 2016 06:30:04 -0700 (PDT) X-Received: by 10.66.174.134 with SMTP id bs6mr25212380pac.53.1459863002957; Tue, 05 Apr 2016 06:30:02 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y6si7826110pas.218.2016.04.05.06.30.02; Tue, 05 Apr 2016 06:30:02 -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; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932855AbcDEN3z (ORCPT + 29 others); Tue, 5 Apr 2016 09:29:55 -0400 Received: from mail-pf0-f178.google.com ([209.85.192.178]:36164 "EHLO mail-pf0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753149AbcDEN3w (ORCPT ); Tue, 5 Apr 2016 09:29:52 -0400 Received: by mail-pf0-f178.google.com with SMTP id e128so10972891pfe.3 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=CekkuIj0biahGrA6bsMLdKMZXk2pi9kSd1iJ2uvMwqK/f1oBaplBNovKN94YJf3d6h L+hJCWx8Z0k6VicyI158kPGQNDRr5jLl7ziubRb5vpbgbSM+GsLuu0MMKvF8C20Gpdkk SuRX8l9b58m20gZmax/FeoOTR/ALrCRovESO27GAebcLZQd2S//+8Y4+zqQNzWs+++/M gUqhX514GlDxOECJJ/pkRdW9Uwex60TiqfcXWLngROp39REaDOZCf9YyZYBfsGxiSPg0 WAVMINrnB7oYlQJ8frsSjy7LMs6mD6FaUi+pS+aWEZHLQByRRvkoQeLSXyRzFe53XVKS rnHQ== X-Gm-Message-State: AD7BkJJ7rg1EULmi8UiYMn3XFSWmp7hAgRFuFIyE8DGNlEsSQ1MybGuHuDIruScxpIh16CuD 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Leo Yan 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Leo Yan 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 | 11 +++++++++++ 1 file changed, 11 insertions(+) -- 1.9.1 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"; + }; }; };