From patchwork Tue Oct 14 13:04:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 38719 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f200.google.com (mail-wi0-f200.google.com [209.85.212.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id B90B620973 for ; Tue, 14 Oct 2014 13:07:41 +0000 (UTC) Received: by mail-wi0-f200.google.com with SMTP id h11sf2425219wiw.11 for ; Tue, 14 Oct 2014 06:07:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id :in-reply-to:references:cc:precedence:list-id:list-unsubscribe :list-archive:list-post:list-help:list-subscribe:mime-version:sender :errors-to:x-original-sender:x-original-authentication-results :mailing-list:content-type:content-transfer-encoding; bh=BIhGh5VJk6V1zXPWO2Hx+Zvrq07s/bqXQ1OHC+092Fc=; b=QvDk5zxPRGtt734SfjU8XhFVsg1t+KGBxLRHTDVtdFIyQPtNoDpnJWO5m7gXrHdxuu Ef0rXCg8lGqypfcnh3wLESbpVQF6fDYKTj11WytA7dmLBSlHf9JOu0y1jpkbPuTthN5a yS/Y2ZkHtEXUh2CUOiBE9lXvTpEy2ITIbWIBMI/EtVFA7b0dsZdkYVKxI7s1hpcoJ2iV Zm6DvO4sYhfO8sTLs+NVO1eJtAwDPQBjD2eXIb4cOm9cygvSqEOOp+gGIzSHz6v3QQUw 2Ofc8WatwZSEeCD6bk3DyREvuE6o+u2LfdPD+kArBhmvhB6wfhkaWBwdA4AWvhdcOnxX llHg== X-Gm-Message-State: ALoCoQn7rHpxr0l3Mi4ZJU4MR/dmCqrUKkW3k7SOCI05X7zVQwrrEP9zEjryZN3SAy5+YuyaahTs X-Received: by 10.113.5.138 with SMTP id cm10mr452982lbd.12.1413292060887; Tue, 14 Oct 2014 06:07:40 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.29.170 with SMTP id l10ls509339lah.18.gmail; Tue, 14 Oct 2014 06:07:40 -0700 (PDT) X-Received: by 10.152.87.98 with SMTP id w2mr5121912laz.27.1413292060719; Tue, 14 Oct 2014 06:07:40 -0700 (PDT) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) by mx.google.com with ESMTPS id lc6si26237306lbb.129.2014.10.14.06.07.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 14 Oct 2014 06:07:40 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) client-ip=209.85.217.179; Received: by mail-lb0-f179.google.com with SMTP id l4so8137163lbv.10 for ; Tue, 14 Oct 2014 06:07:40 -0700 (PDT) X-Received: by 10.112.122.78 with SMTP id lq14mr5236853lbb.80.1413292060608; Tue, 14 Oct 2014 06:07:40 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.84.229 with SMTP id c5csp391618lbz; Tue, 14 Oct 2014 06:07:39 -0700 (PDT) X-Received: by 10.68.200.233 with SMTP id jv9mr5440794pbc.4.1413292059007; Tue, 14 Oct 2014 06:07:39 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id jn8si12839951pbd.154.2014.10.14.06.07.38 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Oct 2014 06:07:39 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xe1nT-0003YD-8Q; Tue, 14 Oct 2014 13:05:51 +0000 Received: from mail-wi0-f171.google.com ([209.85.212.171]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xe1mr-00029e-UU for linux-arm-kernel@lists.infradead.org; Tue, 14 Oct 2014 13:05:14 +0000 Received: by mail-wi0-f171.google.com with SMTP id em10so10041949wid.10 for ; Tue, 14 Oct 2014 06:04:50 -0700 (PDT) X-Received: by 10.194.23.104 with SMTP id l8mr4971174wjf.26.1413291890239; Tue, 14 Oct 2014 06:04:50 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id hg14sm170558wib.24.2014.10.14.06.04.48 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Oct 2014 06:04:49 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 4/8] ARM: realview: add RTC clocks to device tree Date: Tue, 14 Oct 2014 15:04:11 +0200 Message-Id: <1413291855-499-4-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1413291855-499-1-git-send-email-linus.walleij@linaro.org> References: <1413291855-499-1-git-send-email-linus.walleij@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141014_060514_197190_F068C486 X-CRM114-Status: GOOD ( 11.19 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.212.171 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.212.171 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Linus Walleij X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.179 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 The PB1176 has two PL031 RTC clocks, one in the devchip and one in the FPGA. Add them to the device tree. Signed-off-by: Linus Walleij --- arch/arm/boot/dts/arm-realview-pb1176.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/arm-realview-pb1176.dts b/arch/arm/boot/dts/arm-realview-pb1176.dts index 4ca486796f71..0e5b608ab9db 100644 --- a/arch/arm/boot/dts/arm-realview-pb1176.dts +++ b/arch/arm/boot/dts/arm-realview-pb1176.dts @@ -196,6 +196,15 @@ clock-names = "timer1", "timer2", "apb_pclk"; }; + pb1176_rtc: rtc@10108000 { + compatible = "arm,pl031", "arm,primecell"; + reg = <0x10108000 0x1000>; + interrupt-parent = <&intc_dc1176>; + interrupts = <0 14 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&pclk>; + clock-names = "apb_pclk"; + }; + pb1176_gpio0: gpio@1010a000 { compatible = "arm,pl061", "arm,primecell"; reg = <0x1010a000 0x1000>; @@ -299,5 +308,14 @@ clocks = <&pclk>; clock-names = "apb_pclk"; }; + + fpga_rtc: rtc@10017000 { + compatible = "arm,pl031", "arm,primecell"; + reg = <0x10017000 0x1000>; + interrupt-parent = <&intc_fpga1176>; + interrupts = <0 25 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&pclk>; + clock-names = "apb_pclk"; + }; }; };