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: 10883439 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 9E4BC922 for ; Wed, 3 Apr 2019 10:56:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DFCE28843 for ; Wed, 3 Apr 2019 10:56:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6F261289D1; Wed, 3 Apr 2019 10:56:58 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 234DB28843 for ; Wed, 3 Apr 2019 10:56:58 +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=t00e0g0Edcu+5Sjk5NgkzRmjuH3qf9oi80JewqB7Zec=; b=AUK4iXgtkyhYMXpIFFn6QZzVVp xX+gnti156ycTUMI6d7pSYBfDSX5TTz4SJaBLlBw8b0UxvYmVnooGepdCAoRpw220QISHucqaAAJn Aw2KB4lD18CQ+i4NnxaD4LbrJYlX93YRZFNoeM4u9RCFgaKuMwaCF+3HU4HK0TOP4T+4pfeHu5h0/ GMuQv8Dn6Rc0WAAESUkxR7QY0/037LuLywqvNreDNh5AtloJSCpQAuGFW4S+U+0Vgl34lSKw4ca98 nW+cFV/dFK6ppiTMq7yJonZk28l985Bg6zY+R4K5dNz3uWXYTpVrV3/pelMomcgacfPRnHQwLJBPJ TAOesCTQ==; 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 1hBdZe-0006Hc-Vb; Wed, 03 Apr 2019 10:56:55 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hBdZC-0001yZ-LI for linux-arm-kernel@lists.infradead.org; Wed, 03 Apr 2019 10:56:46 +0000 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 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: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190403_035626_962796_C834F58D X-CRM114-Status: GOOD ( 10.12 ) 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: Simon Horman , Magnus Damm , linux-arm-kernel@lists.infradead.org, Biju Das 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 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";