From patchwork Wed Dec 23 17:25:03 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 351532 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 74408C43603 for ; Wed, 23 Dec 2020 17:26:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 50633222B3 for ; Wed, 23 Dec 2020 17:26:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728144AbgLWR0G (ORCPT ); Wed, 23 Dec 2020 12:26:06 -0500 Received: from www.zeus03.de ([194.117.254.33]:42496 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726662AbgLWR0F (ORCPT ); Wed, 23 Dec 2020 12:26:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=yNTMw4GRWWrG6j g9UiumxqtVvk83ImlEXj1lf2qZItA=; b=k0+uojqMVxr4bAuJdn/k7ipDLcTMrF hZEobLxviRVyoRsMd+ptZ9YYVLrrwcseIAsC1sRiyZ/tbjSuF+hEDiHsPQXNr2+k Lw3plTqhLGZjxDyBC8enX1YRUY1gj5MEkaJOkjQwcF6RF8wmnrZ7j/+nEIikmHSy KpkHyNVT8Z+1c= Received: (qmail 544692 invoked from network); 23 Dec 2020 18:25:11 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 23 Dec 2020 18:25:11 +0100 X-UD-Smtp-Session: l3s3148p1@wjks+SS3zudUhszw From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Koji Matsuoka , Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 4/5] arm64: dts: renesas: Add I2C support for falcon board Date: Wed, 23 Dec 2020 18:25:03 +0100 Message-Id: <20201223172505.34736-5-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201223172505.34736-1-wsa+renesas@sang-engineering.com> References: <20201223172505.34736-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Koji Matsuoka Signed-off-by: Koji Matsuoka [wsa: rebased] Signed-off-by: Wolfram Sang --- .../boot/dts/renesas/r8a779a0-falcon.dts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts index fb9978ea18f4..7de3eed96ceb 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts +++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts @@ -21,6 +21,34 @@ chosen { }; }; +&i2c0 { + pinctrl-0 = <&i2c0_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + +&i2c1 { + pinctrl-0 = <&i2c1_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; +}; + +&pfc { + i2c0_pins: i2c0 { + groups = "i2c0"; + function = "i2c0"; + }; + + i2c1_pins: i2c1 { + groups = "i2c1"; + function = "i2c1"; + }; +}; + &rwdt { timeout-sec = <60>; status = "okay";