From patchwork Thu May 25 08:18:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9747945 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 BFA3660246 for ; Thu, 25 May 2017 08:22:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B27D62656B for ; Thu, 25 May 2017 08:22:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A738A2785D; Thu, 25 May 2017 08:22:21 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3B97B2656B for ; Thu, 25 May 2017 08:22:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=CdDgGEEEO3svC+R5rU4dC83mr6yfaUASNu/0Kxn5fKA=; b=QXiIKXw9AUZMCA2BLtHjDcqZek L8Y/GYzWvt3P+7mfNgFI6WgKrm/blQYbfbE6PWsTv258U7eL6f6kEAvyw5acbAN/RTWA1rjdtBFrX Lv2kchm3W35veF4mtd4hU5dsiDkHax/kaQ09taGZk1JbAL8BHg/uGQmViWPcP/zHtPibB8SAjAWor YvW+foWsqs7VZSpSgdtgsrHqyi1Q7F4RQUFKC0M9s7JoiG6i2A58KaPyJAT+LlnN23NcwCixGyNZK l9z9M6/NozkJgZYET88jPsgtDDVesxQ+zFwhbp/20klDNvQHklMn3wdV6LcbNZxinmllUbvWhZnNV 3Fb/8EDw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dDo2F-0000cG-8j; Thu, 25 May 2017 08:22:19 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dDo0D-0005iM-16 for linux-arm-kernel@lists.infradead.org; Thu, 25 May 2017 08:20:26 +0000 Received: by mail-pf0-x233.google.com with SMTP id e193so160631692pfh.0 for ; Thu, 25 May 2017 01:19: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=4jQ3O/BMN/V4rkRyXEsB59sUYtfxxLmhwukoxiNK9cI=; b=c8LMCRLM8YbsxoncV7Xv8/2/t5fJtTmuRSqqusnTvlVGnOnPeeiFdOk1pHmcnd0VOR SSblEn14DoYbdAFZjxbHl6/HLfHoef6lZnl4qhSbJy15NAC0pPa5oZ1o9PZ6WfLkZqSB f/zWtLh3baYzZ4YcLyzoomj1q/sGzVe6drj/c= 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=Cnv1i2ODLLv5CS1C/6xYlBXLTOVON/3e8OGRGWtGZP+mGfVbDndkLL1JQGslm6MHrO N19RrNdJVgLYvs3WXjSCSHij+bx5b8S/eexQxLwZFG1eIEbsiX40qCBKTbUXot7kFqs+ GPAHIRnHSk65gWJ4PS/3FpTY6cEJ2Qe5j89in6sMzlM4+gDPlrYBkrTrh8wdtYJI9iu8 wWmsJEBH7k//ukCV4FOcg4uKzXYyWMfC4IpJ1hVS0T9gbfozyRn+/XCr0yh3By0nvB4K zthZkSACEO7z/1xWnpEV8IbujnmDPibb+cHCpxS/3AA3KzO/TITZ+DuzsCshEakwRsJb hCxA== X-Gm-Message-State: AODbwcCEzzrsK8r/wr+CmZZzfFlAQU66vr1aoLgZ44px6t6L0xtej7Pw QBLKl9ezXK1o5IIO X-Received: by 10.98.151.2 with SMTP id n2mr43679053pfe.29.1495700392646; Thu, 25 May 2017 01:19:52 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.222]) by smtp.gmail.com with ESMTPSA id b72sm11574470pfd.118.2017.05.25.01.19.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 25 May 2017 01:19:52 -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 Subject: [PATCH v2 09/12] arm64: dts: hi3660: Add pl031 rtc node Date: Thu, 25 May 2017 16:18:51 +0800 Message-Id: <20170525081854.4701-10-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170525081854.4701-1-guodong.xu@linaro.org> References: <20170525081854.4701-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170525_012013_516715_FFD9F7AD X-CRM114-Status: UNSURE ( 9.13 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: zhangfei.gao@linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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>;