Message ID | 1481878257-29163-6-git-send-email-amelie.delaunay@st.com |
---|---|
State | Not Applicable |
Headers | show
Return-Path: <rtc-linux+bncBAABBDOWZ3BAKGQEMI3BSLQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-wm0-x239.google.com (mail-wm0-x239.google.com [IPv6:2a00:1450:400c:c09::239]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3tg3vN2zLZz9tB1 for <incoming@patchwork.ozlabs.org>; Fri, 16 Dec 2016 19:51:28 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b="GlYp1aU5"; dkim-atps=neutral Received: by mail-wm0-x239.google.com with SMTP id g23sf6827060wme.1 for <incoming@patchwork.ozlabs.org>; Fri, 16 Dec 2016 00:51:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=gyfd3dq5vo45TdKtgXBicPyaHy9HKwNNmnHvZ62TUQE=; b=GlYp1aU5HGUFAIMoDT1o/U9JQL3O5Nk8IwFHmlIsyNFmDuScaunHI2opR8SO7cdg41 OFEQ6NjIbFFhP0G6RxHdndFR9QYadVu6alwG0vMg6mz6gtlbYFXPlHsQRmfVtlsrhPqI QouRKOg99cxHzxI716nsV2wwuQutAq2XxXTbnaJQdfaHP+ygDRQo5FeU8Ls4dppV9Vm+ D269U7M8MEUiz0tc+Jit1rS7+73gKeQiOKpG79ehr/8VbmzRTMT+xjez1Uzl9cg2SFAb MAGLMlKTnsYeB00FczGtnXt80w3xPNXBu7Ja4K2AsZrz6VtLSHrfy7MyTGUsuDMeZQwg K9iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=gyfd3dq5vo45TdKtgXBicPyaHy9HKwNNmnHvZ62TUQE=; b=PNndadLx1QH+LQcUsmDofrUNl4sGDpHMpTYbjCiwgpdrdADt7xVRXTnBGqhMGILNyl gCEvi62kA9uiFpIogBVnyVPp+EiMMWq5jWdvbPh5SSzCevprCpapHSIa5USJAhvL6Qai t6o1WJM8IcgGpxo7GKpkx79unasNbhP2vMj++K8rbzIKatE+XFj+oD9JYbzjQLwOGFnP 7ALL28SW2qsUMGzDunVOku9Hz4VPJaY69Yieh9tlN1HQZreeQ0NJPkmlewuU7NwrvzYn y3On704Pxux8Q+e2E/fqYCf5qkv0/EAq37QZ+B00HdzHcNe+P4LyXy08Ea3e9vD2LjKz GZ4g== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: AIkVDXIQgdS19ipwPXCIdL3OYTzvgOvCSqZjE33XZm6/eeNb56rjwMnTvRTh65HCn+xP1g== X-Received: by 10.28.157.77 with SMTP id g74mr9363wme.2.1481878285950; Fri, 16 Dec 2016 00:51:25 -0800 (PST) X-BeenThere: rtc-linux@googlegroups.com Received: by 10.28.65.10 with SMTP id o10ls210936wma.12.gmail; Fri, 16 Dec 2016 00:51:25 -0800 (PST) X-Received: by 10.194.78.210 with SMTP id d18mr49803wjx.15.1481878285619; Fri, 16 Dec 2016 00:51:25 -0800 (PST) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com. [62.209.51.94]) by gmr-mx.google.com with ESMTPS id o77si212968wme.0.2016.12.16.00.51.25 for <rtc-linux@googlegroups.com> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 00:51:25 -0800 (PST) Received-SPF: pass (google.com: domain of amelie.delaunay@st.com designates 62.209.51.94 as permitted sender) client-ip=62.209.51.94; Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id uBG8lraC027674; Fri, 16 Dec 2016 09:51:12 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-.pphosted.com with ESMTP id 27bdnc5h24-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 16 Dec 2016 09:51:12 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0317731; Fri, 16 Dec 2016 08:51:11 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas21.st.com [10.75.90.44]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id CA4382795; Fri, 16 Dec 2016 08:51:11 +0000 (GMT) Received: from localhost (10.201.23.160) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.294.0; Fri, 16 Dec 2016 09:51:11 +0100 From: Amelie Delaunay <amelie.delaunay@st.com> To: Alessandro Zummo <a.zummo@towertech.it>, Alexandre Belloni <alexandre.belloni@free-electrons.com>, Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@st.com>, Russell King <linux@armlinux.org.uk> CC: <rtc-linux@googlegroups.com>, <devicetree@vger.kernel.org>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Gabriel Fernandez <gabriel.fernandez@st.com>, Amelie Delaunay <amelie.delaunay@st.com> Subject: [rtc-linux] [PATCHv2 5/8] ARM: dts: stm32: enable RTC on stm32f429-disco Date: Fri, 16 Dec 2016 09:50:54 +0100 Message-ID: <1481878257-29163-6-git-send-email-amelie.delaunay@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1481878257-29163-1-git-send-email-amelie.delaunay@st.com> References: <1481878257-29163-1-git-send-email-amelie.delaunay@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Originating-IP: [10.201.23.160] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-12-16_07:, , signatures=0 X-Original-Sender: amelie.delaunay@st.com X-Original-Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of amelie.delaunay@st.com designates 62.209.51.94 as permitted sender) smtp.mailfrom=amelie.delaunay@st.com Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: <rtc-linux.googlegroups.com> X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: <https://groups.google.com/group/rtc-linux/post>, <mailto:rtc-linux@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:rtc-linux+help@googlegroups.com> List-Archive: <https://groups.google.com/group/rtc-linux List-Subscribe: <https://groups.google.com/group/rtc-linux/subscribe>, <mailto:rtc-linux+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+712029733259+unsubscribe@googlegroups.com>, <https://groups.google.com/group/rtc-linux/subscribe> |
diff --git a/arch/arm/boot/dts/stm32f429-disco.dts b/arch/arm/boot/dts/stm32f429-disco.dts index b6e63d8..49eddf6 100644 --- a/arch/arm/boot/dts/stm32f429-disco.dts +++ b/arch/arm/boot/dts/stm32f429-disco.dts @@ -94,6 +94,12 @@ clock-frequency = <8000000>; }; +&rtc { + assigned-clocks = <&rcc 1 CLK_RTC>; + assigned-clock-parents = <&rcc 1 CLK_LSI>; + status = "okay"; +}; + &usart1 { pinctrl-0 = <&usart1_pins_a>; pinctrl-names = "default";
This patch enables RTC on stm32f429-disco with LSI as clock source because X2 crystal for LSE is not fitted by default. Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> --- arch/arm/boot/dts/stm32f429-disco.dts | 6 ++++++ 1 file changed, 6 insertions(+)