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: 64916 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp250285lbc; Sat, 2 Apr 2016 02:30:47 -0700 (PDT) X-Received: by 10.98.15.17 with SMTP id x17mr36704273pfi.52.1459589445878; Sat, 02 Apr 2016 02:30:45 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 77si26679584pfq.237.2016.04.02.02.30.45; Sat, 02 Apr 2016 02:30:45 -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 S1753145AbcDBJae (ORCPT + 29 others); Sat, 2 Apr 2016 05:30:34 -0400 Received: from mail-pf0-f172.google.com ([209.85.192.172]:35929 "EHLO mail-pf0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753051AbcDBJab (ORCPT ); Sat, 2 Apr 2016 05:30:31 -0400 Received: by mail-pf0-f172.google.com with SMTP id e128so86785042pfe.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=ZB7AdDAqn0QkwXXtNxVrFsUWi396OsuAzD6KQywcSRJdp+mA2jAqqcane0U/M0DY02 ItHFm5bCUz7roMSNyKnEcjqKD6RR0FeD1xheelnJOHE6Q8U2RpYpm1DymUQ/pcG8lJHQ t1/kPi0GysUGC0ppKLBjGY3eOO5jLFaGDn2fFfvJuoicU8Ju17RRmESDpF1jV0csGpgf i3mDHGHtmiZmkJfB+o9h4nnSyleQpWoRq/MCNkerYuXxvlMgyhlcnq0TpyPW8eXKuhgZ HkirEEO9hFUF5nUCYNC8pJyVq7OJhPiYMkmw8lhH9OTsHfOlnkb3Ln9uxBtAVXePQnp1 GuXg== X-Gm-Message-State: AD7BkJKHcYkpIowvUo8zFFNZLYxWcygdKzKFf5p52Tg+VDTPDAlHwF59qd0tHXyFVulQLC6v 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 Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kong.kongxinwei@hisilicon.com, Leo Yan 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> 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 Signed-off-by: Wei Xu --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) -- 1.9.1 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"; + }; }; };