From patchwork Wed May 17 08:37:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guodong Xu X-Patchwork-Id: 9730449 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 ABE4E602DB for ; Wed, 17 May 2017 08:40:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 974EE28650 for ; Wed, 17 May 2017 08:40:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 888F028655; Wed, 17 May 2017 08:40:05 +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 0A24028650 for ; Wed, 17 May 2017 08:40:05 +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=ZuO7FiG05Ihr+3nAWpvbkMvUu5NyiNm7f8tdJae6Jtc=; b=fdwko0UvdFASSsGxfqcqgaZMQb FtnguAXdnv2ndskln3kCnIhpda/dIguXrzbTzSMXKGnFxXvzrDL337HPfpyKV/BD0WV5PnUMHLqng EuHS78YpKrW3CxDRNQKoa+enTqDNAkl4DaBoZRmAEC1DGRvfXBw5yqC7T1COpcai4wtWOReLG0XE1 rAT+VSeMmGjtAnZJP61/uerJ95p6JQcD6w0CkttmLIJJq2bDZKQq8NQonZsjQG+BohvMl1uKyB1zk Vo9+WX+wQs9VEqU5l0HoDcT1rGuhtqHLwaR78GeRnhupbBSCAIIaKu4EL4JGZAF9/D2qGJcpkT0f+ OMh9P3RA==; 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 1dAuV1-0001pp-U6; Wed, 17 May 2017 08:40:03 +0000 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dAuUF-0000jv-Pc for linux-arm-kernel@lists.infradead.org; Wed, 17 May 2017 08:39:22 +0000 Received: by mail-pf0-x22b.google.com with SMTP id e193so4011030pfh.0 for ; Wed, 17 May 2017 01:38:55 -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=MaWtk0a219bSgeAxf5iAA+S+LWJIRwcYukAEE0hna30=; b=FFGAe/6s3W92oDBpwIgPADjOMovDrAzDvXHYT31TOb9VxaWvcYH+iENJOALV40NK64 D2/DzgL23hHzzH3z8QZDWaumRKY8Gd061dB7MNCsG20CFsv+LrTthDApFU8uY5e3Oi8w eKxUhjNm1x0dSucZIklCjbXaMnBajO7DLZpqE= 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=MaWtk0a219bSgeAxf5iAA+S+LWJIRwcYukAEE0hna30=; b=BXtrureyLcvQ9/m95YqMfnIwXUWTeoei0uIr3iSlRw7o6ug1ZnIeooFdMWvMgE12Qu LvRkGhdg57cfN1snhu75EnBqJUHbHaXSe1eC0EXQDTdFbsw5T17EcE4+Yz5+s3R73sJi mYmSk55mKNHvtPapkjtfAclRvrh2qm+Pn2aVCfjM59VgS/l3S6hiFPjh+v7CrinPHGmi 47KZC0vmWlGOc08N7PLsOl3msySDNKmEGjzRj8DiuGgZe6OsaBUdxAmTYk6iPNTXmryV 13yMiGlXH4Z1GZO5Ahr5dMKyGWMI5a+2CVeq5UM5I9Lbfe4LVh0wAJTs7lNH34znFazz 2+fQ== X-Gm-Message-State: AODbwcCmG6BYKCgqXJVsti8rlwRGXCs7dbY2PYGPA4/1RmC5FxdEBe06 VP8YNRNCgolMOpSd X-Received: by 10.99.150.1 with SMTP id c1mr2547783pge.160.1495010335065; Wed, 17 May 2017 01:38:55 -0700 (PDT) Received: from docularxu-ThinkPad-T440p.219.146.1.66 ([45.56.159.164]) by smtp.gmail.com with ESMTPSA id u9sm3029519pgn.55.2017.05.17.01.38.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 May 2017 01:38:54 -0700 (PDT) From: Guodong Xu To: robh+dt@kernel.org, xuwei5@hisilicon.com, catalin.marinas@arm.com, will.deacon@arm.com, wangkefeng.wang@huawei.com, puck.chen@hisilicon.com, xuejiancheng@hisilicon.com, devicetree@vger.kernel.org Subject: [PATCH 09/12] arm64: dts: hi3660: Add pl031 rtc node Date: Wed, 17 May 2017 16:37:42 +0800 Message-Id: <20170517083745.24479-10-guodong.xu@linaro.org> X-Mailer: git-send-email 2.10.2 In-Reply-To: <20170517083745.24479-1-guodong.xu@linaro.org> References: <20170517083745.24479-1-guodong.xu@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170517_013916_087216_F63C333C X-CRM114-Status: UNSURE ( 8.73 ) 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: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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 0951a29..c2bca5d 100644 --- a/arch/arm64/boot/dts/hisilicon/hi3660.dtsi +++ b/arch/arm64/boot/dts/hisilicon/hi3660.dtsi @@ -312,6 +312,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>;