From patchwork Tue Aug 22 18:22:46 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 9915891 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 E3399603FF for ; Tue, 22 Aug 2017 18:24:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D187728709 for ; Tue, 22 Aug 2017 18:24:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6161288DE; Tue, 22 Aug 2017 18:24:15 +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.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW 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 7D4B2288BB for ; Tue, 22 Aug 2017 18:24:14 +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: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:In-Reply-To: References:List-Owner; bh=GVT/dUVMXeXuPwIKoZJMHcvaNjCsX3I2Qwa+M2p9ymo=; b=bij 9nzLHRN0hY3buqUofDApu9nmay5HCBQaSbqhpvWR/Mejk4vMCHUboViP9Fpsk/43zdxkK4NprqQkN FT6v5F0LrYED96+UxFNOMX+HKKXz4OlyO3Whi87XAR7B13RellX6Yka5G5HGAlcY4gCT63c9Jd3UL 47tfgj/oW8dXcdpMjAMdXAgy+KwkYoeaSOD4a5XgC8Pm44OuD9SgiOfFg7zfVGEY2rQ54gMRDIky2 DAAS0nlUIZLXmbydL5Eu48L3IRfpKztVryIH8YxtGgN8nN0OOX0VVw/TOZZOPt1GeN32X1XUbIpTP rnz//dFkjMEamItXRTFhb8t9z6AsZsQ==; 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 1dkDpx-0003Ia-G1; Tue, 22 Aug 2017 18:23:37 +0000 Received: from relmlor3.renesas.com ([210.160.252.173] helo=relmlie2.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dkDpt-0003Hc-IE for linux-arm-kernel@lists.infradead.org; Tue, 22 Aug 2017 18:23:35 +0000 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie2.idc.renesas.com with ESMTP; 23 Aug 2017 03:23:11 +0900 Received: from relmlii2.idc.renesas.com (relmlii2.idc.renesas.com [10.200.68.66]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 260F74C7EF; Wed, 23 Aug 2017 03:23:11 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.41,413,1498489200"; d="scan'208";a="255368442" Received: from unknown (HELO fabrizio-dev.ree.adwin.renesas.com) ([10.226.37.27]) by relmlii2.idc.renesas.com with ESMTP; 23 Aug 2017 03:23:07 +0900 From: Fabrizio Castro To: Rob Herring , Mark Rutland Subject: [PATCH] ARM: dtsi: iwg22m: Add RTC support Date: Tue, 22 Aug 2017 19:22:46 +0100 Message-Id: <1503426166-26773-1-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170822_112333_729098_0D7A2B3C X-CRM114-Status: UNSURE ( 7.05 ) 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: Fabrizio Castro , devicetree@vger.kernel.org, Chris Paterson , Wolfram Sang , Magnus Damm , Russell King , Biju Das , linux-renesas-soc@vger.kernel.org, Simon Horman , linux-arm-kernel@lists.infradead.org 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 the bq32000 RTC to the iwg22m device tree. Signed-off-by: Fabrizio Castro --- This patch has some dependency: * [1/2] ARM: dts: iwg22m: Add iWave RZG1E SODIMM SOM - https://patchwork.kernel.org/patch/9901619/ * [2/2] ARM: dts: iwg22d-sodimm: Add support for iWave G22D-SODIMM board - https://patchwork.kernel.org/patch/9901623/ * ARM: dtsi: r8a7745: Add I2C DT support - https://patchwork.kernel.org/patch/9915525/ * [1/2] ARM: dts: r8a7745: Add MMC interface support - https://patchwork.kernel.org/patch/9906803/ * [2/2] ARM: dtsi: iwg22m: Add eMMC support - https://patchwork.kernel.org/patch/9906805/ arch/arm/boot/dts/r8a7745-iwg22m.dtsi | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi index afb1148..e306e7c 100644 --- a/arch/arm/boot/dts/r8a7745-iwg22m.dtsi +++ b/arch/arm/boot/dts/r8a7745-iwg22m.dtsi @@ -37,6 +37,11 @@ groups = "mmc_data8", "mmc_ctrl"; function = "mmc"; }; + + i2c3_pins: i2c3 { + groups = "i2c3_b"; + function = "i2c3"; + }; }; &mmcif0 { @@ -48,3 +53,16 @@ non-removable; status = "okay"; }; + +&i2c3 { + pinctrl-0 = <&i2c3_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; + + rtc@68 { + compatible = "ti,bq32000"; + reg = <0x68>; + }; +};