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: 9787913 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 9A0B260384 for ; Thu, 15 Jun 2017 03:07:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9109E283C5 for ; Thu, 15 Jun 2017 03:07:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 859F2283DA; Thu, 15 Jun 2017 03:07:11 +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 0A55A283A6 for ; Thu, 15 Jun 2017 03:07:11 +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=o6jT8p+rqdZNo6TntRBgXI1ceb of7fZ5ligHn2e9ayAttNj2asBNGSo/sHHyTuPcJCGFqVuXr0mh2wLj7ILVkMvgA5+2ubWbXM2SgL7 sIpZQh3Daq8oa/SOF8vT3tgT5O+PnXdBsnxGB5UbwlQbOcZSRVQSSAU/blF/l3OpQQzVmpCJKK1rC 1XDGQBINEHCiM1/AMvkRi8IAsOB0fc+Wkk5VACg8o4k4lmbnqsYaT7utrwCQ3L7h5A4N1kcMiPuWH 9x8afFuzxqgvm1tdB2ZcDN+rSVUlWHnIPM2Bblhm/So9voG7LkKo/PXpkHxGC1Tzk47zDTKunRs/C iVzHMpCg==; 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 1dLL7l-0002bq-SI; Thu, 15 Jun 2017 03:07:09 +0000 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLL7E-0001k2-AB for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2017 03:06:48 +0000 Received: by mail-pf0-x235.google.com with SMTP id s66so1402759pfs.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=UnBrivlhg2MzbKH4yMrsTJB88YqrJpjZ2346yPtFVOk2fAUm07LTpytnzInHSAK2qK T/1iigPanoJ1BLzzxNwNwN/PQotQVg+05TWW3n6hfdKLIpJRuV4JWKm85eOEMfaHMDbv 4jzm8zwePgnUVxeKLlVOxOBBIiwu/uezJ4RzHdNMaOQ1QtvD2gmu48aG8AObf4p2P14P VlEr43jg6E3yUoTIrOsucD2hgC2dlzkB9SiHjAnXXv6wM3+v4e0x2Vm1p83GfLyaYsEr nEbrPLJjRODEnc9nCDWncNtSNqcDX7KWAeFamIsv/wEtOW17U6ud2SXcfKXT2JHiWDdJ +LsA== X-Gm-Message-State: AKS2vOxt3t+b+OAfsyNljQyl7VNLCt9lkPO7PgZlGbbBZTK5Dyj4VJHr S4cK/H0S/M2AZqds 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170614_200636_648223_C4CD71D3 X-CRM114-Status: UNSURE ( 8.39 ) 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, hw.wangxiaoyin@hisilicon.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chen Feng 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>;