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: 99916 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp127460qge; Wed, 17 May 2017 01:39:17 -0700 (PDT) X-Received: by 10.98.76.155 with SMTP id e27mr2372526pfj.77.1495010357729; Wed, 17 May 2017 01:39:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495010357; cv=none; d=google.com; s=arc-20160816; b=q4cShNcfO/avIL2VLccArLgPtatqH2ubaD7bayEADdBvYldF9VB8C56EJTxBzqI6sK GEzYauU+73oyGAwK5nKEC/unTwN7BIA3kdnko+wqBVOI1DEJL+3hnSVdoQpVoTCQu3ku wqe3KCV+FcmxJXJpa3mLfZFigi86JAt1pDbbrDnFq8ayUNJ5n8rB9NLecqxtoyPkOoqE mJuN1Lzk1xLEPvZLuRypj34DhyqQkNbpqudoVC6z9LfIBLN8ijCSDn5JnHrmZh0F/WPc a50GKfsqE5SgodIaJRfr36fqWE9w4jhmWXS2b9iYcwxdabCpAMGh4gtg90aEnKy08rf1 3JVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=MEEZZz/ufHSYZRCYlz3YqjD2OZI2SHEpGB7lnHMvIoc=; b=F6hP6wpGXsHwdr8Yg/uSAf0roAs+v4ysg5aRWCfMxpZ0ce1XDjvP9UHUGvaYc+ruy4 Oo8oTdiu3yrJ3P7UCXBCtYwigLjghGxBFK4VymoHRl0aj0hklFL4Zxbve0/5YN6zVSR1 XaZsQjU6v39++1xZirHfyMI8GH5Y3Js+SheU69pejzS/B8DTd/VeQrt/xfBz/vrDymDY 1l7cHQ9a64MicJ/GKmbf/3TOF2IA8S2U0yYChCDBBx4MHydwqnWPai+bV0mcZrfIc5P7 JOlaVWFNviuIDHUgNDrT/bhUgjesx3aHy9FtWoAXfrCyeIQ6iryJxBtTOPwdcEo1j9PV 2ppA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r3si1477579pgn.278.2017.05.17.01.39.17; Wed, 17 May 2017 01:39:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754258AbdEQIjI (ORCPT + 7 others); Wed, 17 May 2017 04:39:08 -0400 Received: from mail-pf0-f176.google.com ([209.85.192.176]:34449 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754253AbdEQIjF (ORCPT ); Wed, 17 May 2017 04:39:05 -0400 Received: by mail-pf0-f176.google.com with SMTP id 9so3988158pfj.1 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=ub6gLG2sQWdqUVTIXqQK4aNnojuV3tz8CHHn/sFTVTSCA8f9899Ine8h294g1WKOic icsTQeU+yvFGxNmu3j5nn/uj4mlonQ8MCR6v4w9pKDECx9qqbBx4xB0nBuwQBiv0zZYg SABQzv+7+izKg2YjPWh9TzcEIjydkcKAg7W/6Yd4WrHWcghLqtfHSDI140DfKX12bM2/ EfLm9O9qZvapnBqkaVy/8kE2OLJhQYKizSQaXx/epbRJG8/8KIBcw1fwkp4vzPPsjsyS X8rt1uLIioP90yeBisvjgwho+3Qo95VpkYj7+1edcdpezfgTObKMXweGgwwxTW/dFGvA e3QQ== X-Gm-Message-State: AODbwcDBSOpPkxobrWCLJ5WgVgZ2/kAh24M+nosvKqZgAogel44LNi7D EcE6kVviIwmDtlMP 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 Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Chen Feng Add dts node to enable pl031 rtc. Signed-off-by: Chen Feng --- arch/arm64/boot/dts/hisilicon/hi3660.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) -- 2.10.2 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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>;