From patchwork Thu Jul 20 12:17:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 9854787 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 767AC600F5 for ; Thu, 20 Jul 2017 12:20:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66A6328765 for ; Thu, 20 Jul 2017 12:20:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5B40D2877A; Thu, 20 Jul 2017 12:20:26 +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,RCVD_IN_DNSWL_NONE 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 CC83328765 for ; Thu, 20 Jul 2017 12:20:24 +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=O8BS39VCH7d8vxgsby5Cmvpmdp5v3Bjo9afbIoRRKNI=; b=qbDhsw/EGSr6rMmggJRMGFyqbq yu1DsM9zBpUwiRGWJuVJLq9m7YVj7ppYR+hZv17ssd4jc4LuAasBNUJyvlw3hiLtX4nQvB8ar4iyk QChbSUzwIHdXJhcrwgXd85NOPC79/lmVqvs2Z5mz9ddOEIFnbrVQ2rtyPWPlxzclSkHu24jMJGalO hsgFynyNiYi99rwk2oMa6TBhhScpy5R2sjUUAMWJaqpHfh7+VB/vPKhNiR3z54WhFynS6mVYikYd5 muzW2D7mOZj6EUp4WAzxklS76XMTN1xmcUEN2awJLmnFVz/g4SzB6rn5wndHDhOZu3cTh2ZoK+IXM LyEACTqQ==; 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 1dYARI-0004X7-Ua; Thu, 20 Jul 2017 12:20:20 +0000 Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dYAOt-0001F5-EF for linux-arm-kernel@lists.infradead.org; Thu, 20 Jul 2017 12:18:01 +0000 Received: by mail-wr0-x242.google.com with SMTP id y43so10150993wrd.0 for ; Thu, 20 Jul 2017 05:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=i4wXeWrRbVOPMkc0zvJnsw1otsNrBCsjTnSF8KvvMlM=; b=ob1hZiH9aJUh8NtGEGlkHAIF19sB8vVUpJ4y9GT8iJUYxgeu4tIEqPwfFYBOwqBaOU 51R/fCsGx02E8rXOk7iZkkWE8d8/mQAOYE2ZCLSXV4Y7Fsnn1mrXmVH1T0q4hfhT/jZY WKZ0PYEooGicnUjcymZZC5ICKyJ/hnrpVs58wVecHAvse2cg6NiIIpnpb9oAJWB/Mq0z 9zAZ5pxxA0OWVWgSADue27MyviSuu60dnsXlKY1z2UhdM8vI/s71VG4vuUoNVBXoq2Qi PkzIH9U+3PMmNwWWQ1PI3anur7j5YK09+z50jWP72VA8PbKp8a28z0Y9ub4DlcdR2jQa QtMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=i4wXeWrRbVOPMkc0zvJnsw1otsNrBCsjTnSF8KvvMlM=; b=ssHp5zN56RrHpdJob92iM9GSwKXSyWr1D9QpmVorpbizg7v9PTPrZ0Qqp3XEJbncEa yF7hLfX/KwGt3xmirmTp6WUaE5BVwMaOrSigHwvtaA977f3fsXZvwtXbomX/Wq/4pzrY 7xvSNrtuAwHaHv0nMuUvMsx3NtoI6sMaz6F+LaUTVsW0GZFbzXAHKErZ1fiiXhDLifZU N45TfWekHil0ty4/ZF6HT3pIm5629IYTj+cxPzMnpzL8yCNJ8SL3R8ojhHRQCPEGe5+z X1dOjDD8fhkz8fHcT7CA2x9LCsirYW3qCPP7uO87sbmAnmRzUZpkFRRMxYdPS/N7UkQ5 beBg== X-Gm-Message-State: AIVw111xDdPZ9EWZpteIDoHwslPlsjpMz71KIpXg68TzdjPPmzlnEz36 HlDgBVzc2gq6SwCQato= X-Received: by 10.223.139.70 with SMTP id v6mr6755440wra.97.1500553049450; Thu, 20 Jul 2017 05:17:29 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id j8sm5289312wrj.10.2017.07.20.05.17.28 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Thu, 20 Jul 2017 05:17:28 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 07/10] arm64: zynqmp: Add support for RTC Date: Thu, 20 Jul 2017 14:17:06 +0200 Message-Id: <54962e4d16d6566b8d25a479868ec0edfe5f3bc6.1500552941.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170720_051751_966405_7393220A X-CRM114-Status: UNSURE ( 9.26 ) 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: "Edgar E. Iglesias" , devicetree@vger.kernel.org, monstr@monstr.eu, Stefan Krsmanovic , Marc Zyngier , Will Deacon , Duc Dang , Shubhrajyoti Datta , Alexander Graf , linux-kernel@vger.kernel.org, Bharat Kumar Gogada , Rob Herring , Catalin Marinas , Punnaiah Choudary Kalluri , Mark Rutland , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= 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 Add support for RTC. Signed-off-by: Michal Simek --- arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index e7d1815c114b..1272fa6d4f99 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -300,6 +300,16 @@ }; }; + rtc: rtc@ffa60000 { + compatible = "xlnx,zynqmp-rtc"; + status = "disabled"; + reg = <0x0 0xffa60000 0x0 0x100>; + interrupt-parent = <&gic>; + interrupts = <0 26 4>, <0 27 4>; + interrupt-names = "alarm", "sec"; + calibration = <0x8000>; + }; + sata: ahci@fd0c0000 { compatible = "ceva,ahci-1v84"; status = "disabled";