From patchwork Thu Apr 19 14:35:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 10350995 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 198C96023A for ; Thu, 19 Apr 2018 14:53:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0926D289FD for ; Thu, 19 Apr 2018 14:53:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F178428A46; Thu, 19 Apr 2018 14:53:57 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 A57AC289FD for ; Thu, 19 Apr 2018 14:53:57 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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=aLVOMPeQPoPBGXrQPJmsw+M9HystK3+uMZAB2uBFACM=; b=F2FentcfO5bjz9 X150s1a1Q7+wa7O0DIVp3nb6DodnmeE/na5LmJcdMdkws+clZr36dHl5Qp9lKTStBB6zD5IyJxsTs 95p5iL9Oc+6drNkvA+yp6sUU6vpmTBsEKswhmowyZ2bdrPDCOpEhUk3n1FR4L7aJGsUjAPVdiJXN3 lxER5Tv/bwxAfx9w8Zwv4N/F2dp6dZD3PBPEGTvfEekh+ws8Gezr0ObFHZEKzSedztSis6UY85AQW 5QaWN4Yrsoi/ZIBTNq8PGzfSTkz/qvjt6p6O6svTx4cMTRIEDOkEOFeGkDh4qKJrepizShRa0szrT iZl60LIC4mqMRY7PL6QA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9AwT-0003iY-6P; Thu, 19 Apr 2018 14:53:45 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9AfC-0000oe-9K for linux-arm-kernel@bombadil.infradead.org; Thu, 19 Apr 2018 14:35:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Type:MIME-Version:References: In-Reply-To:Message-ID:Date:Subject:CC:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=P2g/N25YCJjU1+qMwr5X9/Msi/zcj5iDWY3aHNnV4qo=; b=LaNh4onK2NTfDeeG79lmy+9yr q4lDQ0X6Crv8mWdJC6fEuRJlG0CCtWNy95xit7H4/ojlQVR+EVHrBavAEYAnGhklV9kw+eMc0+MYQ wPpTcOn2mKZdyXN8lZMZzgge2eQrfB+gQ6QMie/T4svBKPe4sw41+bG1ukwratHWxFUvVta7Yukwj LNRfRoQ5OLX84Hg8rosPW5v13p5jilEKTwzu4I7KM/xwlHomqgb4jm4kYopEHmgbyj05B1hOL6Cp2 7jLYOzbHdfb8ImTcQ3HW1ISC16ffqQr00ejaSVvA7keHateecfiprJSIssNeZN/OGRpuLh04i6MLA I0WWs+uDA==; Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by casper.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f9Af9-0006jP-0X for linux-arm-kernel@lists.infradead.org; Thu, 19 Apr 2018 14:35:52 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w3JEYkka012786; Thu, 19 Apr 2018 16:35:35 +0200 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2hdryx2g1n-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 19 Apr 2018 16:35:35 +0200 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 0B2B43F; Thu, 19 Apr 2018 14:35:34 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas23.st.com [10.75.90.46]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DDEDB5536; Thu, 19 Apr 2018 14:35:34 +0000 (GMT) Received: from SAFEX1HUBCAS22.st.com (10.75.90.93) by SAFEX1HUBCAS23.st.com (10.75.90.46) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 19 Apr 2018 16:35:34 +0200 Received: from localhost (10.201.20.5) by Webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.361.1; Thu, 19 Apr 2018 16:35:34 +0200 From: Amelie Delaunay To: Maxime Coquelin , Alexandre Torgue , Rob Herring , Mark Rutland Subject: [PATCH 1/2] ARM: dts: stm32: add RTC support to stm32mp157c Date: Thu, 19 Apr 2018 16:35:24 +0200 Message-ID: <1524148525-25209-2-git-send-email-amelie.delaunay@st.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524148525-25209-1-git-send-email-amelie.delaunay@st.com> References: <1524148525-25209-1-git-send-email-amelie.delaunay@st.com> MIME-Version: 1.0 X-Originating-IP: [10.201.20.5] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2018-04-19_05:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180419_153551_074459_0353FF16 X-CRM114-Status: GOOD ( 13.88 ) 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, Amelie Delaunay , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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 (Real Time Clock) to STM32MP157C SoC. Signed-off-by: Amelie Delaunay --- arch/arm/boot/dts/stm32mp157c.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index bc3eddc..3333954 100644 --- a/arch/arm/boot/dts/stm32mp157c.dtsi +++ b/arch/arm/boot/dts/stm32mp157c.dtsi @@ -174,5 +174,14 @@ clocks = <&rcc USART1_K>; status = "disabled"; }; + + rtc: rtc@5c004000 { + compatible = "st,stm32mp1-rtc"; + reg = <0x5c004000 0x400>; + clocks = <&rcc RTCAPB>, <&rcc RTC>; + clock-names = "pclk", "rtc_ck"; + interrupts = ; + status = "disabled"; + }; }; };