From patchwork Thu Jun 15 03:04:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 105617 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp595530qgd; Wed, 14 Jun 2017 20:06:19 -0700 (PDT) X-Received: by 10.84.216.70 with SMTP id f6mr1353782plj.79.1497495979813; Wed, 14 Jun 2017 20:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497495979; cv=none; d=google.com; s=arc-20160816; b=tAX1dWshKoDMf2vaGXPFqp3KxLhfyHUkSYX4hsTzZpjqRq3CdW5BAikX3Gc8OfZs4X ecFRH8+dV78MRTNNW/5UlwpyD7fRUILi/Lc6kffD17MA8F3S/SNKIaNIX8f9oPrFq5QZ /cUl4vUFPQ8QvJenugm/sQWvz5txUYMXo0ESvTyioFmcsUVwnH8jQf8F7p6kL5VPY/Un wSPs+yHtVc9cJldDkD3Sa/0CShmDIWE+YCIva0wa3C4QsdiTzP4UhlITZ7tKhMkfjCKv YuaSP0+XpJCmMxlc89bA/qhA71r6+qQ12g7PM919K4uyzmixWGsvi5XO5PLBZi8jTHCa d2AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=eFJ8p9zgBA5udW0ZyKxcKWWRWaeX9++BDtKjMUWdOZk=; b=PhWLPNnlZw5tFLC+T6FicRaRIlGLR66Uj6139NWhyfR/zeJTSDukjWb8xs+/MEkalk +vHSKZ0BRTrJhcxhpQL/uYNKRKZ6gArbFZaXpbnHsKe34U+oekQPx7d3DmSCeBXQ4ffv G1cPv/zjBwwWJStlHhQDBScuaB6GWV7+cfLqpDk72NfaWa9NlrnmyZsGyR5ik9IlQOJ2 IpiU3ipgXeTAD4z6JK8Kgb0/hm0gVD4umzptienyp6TwBinLcOmEQkZmShy6sxa1LffV f6TziKmizmeWBlnE6pMaB4bZQcb58rY9WdM2IzyMX87dl6E2vqGZY7WFwkKWbre9dfpm 44Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=gdroexNw; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l3si1276519pld.259.2017.06.14.20.06.19; Wed, 14 Jun 2017 20:06:19 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.b=gdroexNw; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752627AbdFODGR (ORCPT + 7 others); Wed, 14 Jun 2017 23:06:17 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:34098 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752094AbdFODGP (ORCPT ); Wed, 14 Jun 2017 23:06:15 -0400 Received: by mail-pf0-f176.google.com with SMTP id s66so1402758pfs.1 for ; Wed, 14 Jun 2017 20:06:15 -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=4jQ3O/BMN/V4rkRyXEsB59sUYtfxxLmhwukoxiNK9cI=; b=gdroexNwTrvYWzGWEqgWOoHQGd6wx3+3Sue3xFYODK8vVK5dga9zs6oBHnxWBD/IvR LXKuMSWJD925jTxszcWBzJO3M1MS/DKgoTALd/cLPyLsBCWcieZ2BBlCkY206J5zXBJq pU1Ad8nkY1HwthZOWhYlYnYTmxJTO8g2xT1Rk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=4jQ3O/BMN/V4rkRyXEsB59sUYtfxxLmhwukoxiNK9cI=; b=g3cD0yLKRqQdFZs5/Lp+vGLBYL5hwA+uWXCq+j/AdzY+lVcF7+NIyE7oqu9OxnQVVe TDh3OUHeA8s1MttQsMXBZewC1+dYkoTnIAHCgPYwFUIxA7e9wD3KG3Nzo+mnxIyNhDuh J1YAI9/Kvz84XWYfbHawIh5zigF65O5zU0zWG8lUVihyO1gnwWHUjM2hmYkObwcunJW7 no8nxaTqZToQOaA7+Xze/cO6SNUiEEdF45QCP6imzXVCMAJQQ95eHhQUPLhHfboyzJf0 xJRhIxEE2wzLNq3+st8KwoJabQR2S062JDEDy7mWkE4PUgNkgxbps3nlhucfLFqJORp6 LE5w== X-Gm-Message-State: AKS2vOyxfQrR+8hz+9Jzs23fHFfGwY81Lf1j86J5av4iTzMeNlQB+c5F 7oodaL46fs6iFEhj X-Received: by 10.99.170.79 with SMTP id x15mr3174562pgo.248.1497495975130; Wed, 14 Jun 2017 20:06:15 -0700 (PDT) Received: from localhost.localdomain ([45.56.159.17]) by smtp.gmail.com with ESMTPSA id y65sm2156656pgd.33.2017.06.14.20.06.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 20:06:14 -0700 (PDT) From: Guodong Xu To: lee.jones@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, lgirdwood@gmail.com, broonie@kernel.org, khilman@baylibre.com, arnd@arndb.de, gregory.clement@free-electrons.com, horms+renesas@verge.net.au, olof@lixom.net, thomas.petazzoni@free-electrons.com, yamada.masahiro@socionext.com, riku.voipio@linaro.org, treding@nvidia.com, krzk@kernel.org, eric@anholt.net, damm+renesas@opensource.se, ard.biesheuvel@linaro.org, linus.walleij@linaro.org, geert+renesas@glider.be Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, hw.wangxiaoyin@hisilicon.com, Chen Feng Subject: [PATCH v4 09/20] arm64: dts: hi3660: Add pl031 rtc node Date: Thu, 15 Jun 2017 11:04:06 +0800 Message-Id: <20170615030417.14059-10-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170615030417.14059-1-guodong.xu@linaro.org> References: <20170615030417.14059-1-guodong.xu@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chen Feng Add dts node to enable pl031 rtc. Signed-off-by: Chen Feng Acked-by: Rob Herring --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi index 7a90c92..3b2a3a7 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -326,6 +326,14 @@ status = "disabled"; }; + rtc0: rtc@fff04000 { + compatible = "arm,pl031", "arm,primecell"; + reg = <0x0 0Xfff04000 0x0 0x1000>; + interrupts = ; + clocks = <&crg_ctrl HI3660_PCLK>; + clock-names = "apb_pclk"; + }; + gpio0: gpio@e8a0b000 { compatible = "arm,pl061", "arm,primecell"; reg = <0 0xe8a0b000 0 0x1000>;