From patchwork Wed Jun 14 08:23:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9785965 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0547360384 for ; Wed, 14 Jun 2017 09:53:23 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CE528205AB for ; Wed, 14 Jun 2017 09:53:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C298D285C3; Wed, 14 Jun 2017 09:53:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 460D3205AB for ; Wed, 14 Jun 2017 09:53:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754650AbdFNIY4 (ORCPT ); Wed, 14 Jun 2017 04:24:56 -0400 Received: from mail-pg0-f52.google.com ([74.125.83.52]:36376 "EHLO mail-pg0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754640AbdFNIYx (ORCPT ); Wed, 14 Jun 2017 04:24:53 -0400 Received: by mail-pg0-f52.google.com with SMTP id a70so72549581pge.3 for ; Wed, 14 Jun 2017 01:24:53 -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=EOmIga7gkjzv0Q8skoolsHhTHHsJx4bFD69irytvXqK2GD5UWvjjGS7738Yv0B+oPO sj6wlcfns/VlYqrj92JxsyXeroqPMjbRgqTfANXDxyURWeigxfC6KD6WhsmssAqakesi uaAIXLqQS+Zc37jRbU2f6szw4T6CKytiToZ4E= 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=eJm6MJJa2x1nAmFTRKCuFFUyoO57KFQffU3PrLPv0mc2Voz4PDyNVJWGeakT+G+uu5 U4bp4Ui854x6C1lXyiS7FCQmdCuqS/qqtEEPojipH08/xf1jGlABsE680EQuGv2cW+bN M7gM82wQJUrFpwCKcInIR5Fk4gzx/myGh5S0Z3mTWZKzCsKAMTvdamD3bhECSOiX3Jtl h7L8a0UyQDQa7MHc/rZUBVefkobfVPkrngsEEUn14vGlSOWoA33Hr4L8t7sZC+0hgzuy mcDeyRIp5rr201WsMd3HhzLfbRRGHsdOaFthOAibxiEz+FuhzbKdG+XiL7jaueiDZin9 SscA== X-Gm-Message-State: AKS2vOysoc+MCqC/maUpCG8BxCvArg5IJmFIdjqaPx65vs72kah2vyEC FYahWupl6gkyfgua X-Received: by 10.98.193.129 with SMTP id i123mr3029165pfg.138.1497428688128; Wed, 14 Jun 2017 01:24:48 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.99]) by smtp.gmail.com with ESMTPSA id h14sm766802pfh.71.2017.06.14.01.24.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Jun 2017 01:24:47 -0700 (PDT) From: Guodong Xu To: robh+dt@kernel.org, mark.rutland@arm.com, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, wangkefeng.wang@huawei.com, xuejiancheng@hisilicon.com, peter.griffin@linaro.org, puck.chen@hisilicon.com, lee.jones@linaro.org, ulf.hansson@linaro.org, bhelgaas@google.com, arnd@arndb.de Cc: zhangfei.gao@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org, linux-pci@vger.kernel.org Subject: [PATCH v3 09/21] arm64: dts: hi3660: Add pl031 rtc node Date: Wed, 14 Jun 2017 16:23:26 +0800 Message-Id: <20170614082338.15673-10-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170614082338.15673-1-guodong.xu@linaro.org> References: <20170614082338.15673-1-guodong.xu@linaro.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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>;