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: 9785719 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 3923A6038E for ; Wed, 14 Jun 2017 08:26:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 203B626E1A for ; Wed, 14 Jun 2017 08:26:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 152392858F; Wed, 14 Jun 2017 08:26:13 +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 A300227F81 for ; Wed, 14 Jun 2017 08:26:12 +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=UhoACRUGOjlivhEWrJDnUTDGPo JeBLWeKXLaHR2p22sFrp2XnXX4bjy6SOu33ONFwBP14O3NQEku9aasfXlGr9+0zhyOUaAjUsL7hoN sPZsiZIXWtxcXpWY1NYArtG+xcKrvVFgcIpEv2kcKc+ntfg3GoCAK4n9KKWZp8vfir4CZjRfHWyv+ PVHDB1QbFvZQJDa3z57vkkBOClZ+OCYg1RUPHrnm9KnmCjhUEB2+fYFezHcRirOegtZxx01hel30D na3L0AVPEJfv6muuvwf52an+lG5aZ+iSnvaD4cgW30atpxuMy2RblzAU8BhWGLFuXHglyLmAhrb25 w+mxRQ2g==; 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 1dL3cx-0005Iq-6L; Wed, 14 Jun 2017 08:26:11 +0000 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dL3bw-0002j8-Vu for linux-arm-kernel@lists.infradead.org; Wed, 14 Jun 2017 08:25:30 +0000 Received: by mail-pf0-x22f.google.com with SMTP id 83so80779411pfr.0 for ; Wed, 14 Jun 2017 01:24:48 -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=YlQ9MOo41u1TdjsWjiAIN7nzAZ3nxUSNg7xYIg7WpVP/rcJvXHR8QhyB/f7AzyMwkq bTXF6q8oCQ21rjnivzbZSoHBQeEl6u0J5hZm2EzfUDFyg5sDIN+FiQqzYD2aqBlXyDXV DrZiXJU98Qw/2MaceRztG4SGi1LgmeFxAWyKLzxtwHYLPssNVfeMczMMzWqdYb0JP0ty qOcFlL1NtRgNKCIGBdeOQGoXTX8/Z4uNWxHJWGfcl8Bt/cjpAs6qr3e73iG44tleH/Dt 6nHqYY8ASGwF7WSe4cAmgOGxZRFWU13XWPoQvBWDK+rNrHc6cAIl/Neq9UmJKaOk9+RP HZpg== X-Gm-Message-State: AKS2vOynSZce8DsRPuf6wdvt3XhUiGUukZ0Ri2jcYfLKMVKAmpjHRJMw 505TcB+MfmnfeZvJ 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170614_012509_950615_64580D83 X-CRM114-Status: UNSURE ( 8.16 ) 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: devicetree@vger.kernel.org, linux-pci@vger.kernel.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, zhangfei.gao@linaro.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 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>;