From patchwork Wed Apr 3 10:53:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10883387 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 71407922 for ; Wed, 3 Apr 2019 10:54:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5B0FE289C7 for ; Wed, 3 Apr 2019 10:54:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4F71D289D1; Wed, 3 Apr 2019 10:54:33 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF640289E2 for ; Wed, 3 Apr 2019 10:54:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726462AbfDCKyc (ORCPT ); Wed, 3 Apr 2019 06:54:32 -0400 Received: from kirsty.vergenet.net ([202.4.237.240]:37176 "EHLO kirsty.vergenet.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725940AbfDCKyc (ORCPT ); Wed, 3 Apr 2019 06:54:32 -0400 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id AF9A925BEDA; Wed, 3 Apr 2019 21:54:14 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1554288855; bh=ORL69eOBuuI3VbigJLMqy7sWqcyfwbZvbRfMU5f0CJs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V+zT/IIRPyoh0HAU9ziuixrHx0ioBfRmmJtnflwcq/03UB0FpUYGdOM4l3xJ6Sa/o lJRymEBiZOsEN+U2fS2FhUxEiQq+V9oV+DcQ6+J5KH9DTVTFTJ1gXZ2Rw1fc0AOVvk vEHESBl+vtV1l1kgTns3mMv+C38qdwB4VK+7sXrc= Received: by reginn.horms.nl (Postfix, from userid 7100) id F414F940461; Wed, 3 Apr 2019 12:54:10 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Magnus Damm , Biju Das , Simon Horman Subject: [PATCH 10/26] arm64: dts: renesas: r8a774c0-cat874: add RTC support Date: Wed, 3 Apr 2019 12:53:53 +0200 Message-Id: <07e72397f722d3a522991dcba82ce2ddb8c3c6e1.1554281697.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Biju Das This patch adds Epson RX-8571 real time clock support. Signed-off-by: Biju Das Reviewed-by: Geert Uytterhoeven Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts index 96ee0d2c6357..18ff79c37561 100644 --- a/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts +++ b/arch/arm64/boot/dts/renesas/r8a774c0-cat874.dts @@ -56,6 +56,19 @@ clock-frequency = <48000000>; }; +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; + + rtc@32 { + compatible = "epson,rx8571"; + reg = <0x32>; + }; +}; + &pcie_bus_clk { clock-frequency = <100000000>; }; @@ -66,6 +79,11 @@ }; &pfc { + i2c1_pins: i2c1 { + groups = "i2c1_b"; + function = "i2c1"; + }; + scif2_pins: scif2 { groups = "scif2_data_a"; function = "scif2";