Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1829059pxa; Sun, 16 Aug 2020 12:37:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjwxtzDxvH7/fN2hiL7W2TR/rjskihAnNw4IKb0Vu3hoLLI+vvZ9abRmOGoNW6kIYfAZm9 X-Received: by 2002:a50:ee92:: with SMTP id f18mr11977863edr.80.1597606645172; Sun, 16 Aug 2020 12:37:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597606645; cv=none; d=google.com; s=arc-20160816; b=qXD2pf4aTlBDK10yRkRegoe2jTQYC+gTShAiDyqDSY5d2HCxagZunk90eyQOZ+7ael MFN0/EkTck5uDSq5vzaMLEshRzL3Lz9tV3g18VcHENNssTwPaB/TAY6MT/FOnuHjV/iy jafbhip5s28qF6BDSRDpGeTwEDJ5n+QD91QarkZF3Z0RuJoVJ3BA6NY8yZEchvnTXDgw oZgyN2QqsPdoplW8iSh9OzMpjlqlaW/y595EUw0vSQLhM6WV6W4eydW5/ebAlM4nddvq 1uLgh7hRoUXWQDVl6t1Z/1U1Iq+se6xStHPdGJDMndWFi8NQfdKjtdETDxBW3qYi+UvE 5bEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=ZoKuWoc6RAlzGGuaAANkN2APDQ3We0XeI9CvHLbDxb4=; b=o6wtfZYovHv/afYWHq+C7S8M3Cjzw7HDw34u1WrOulDOKsGnshTmuuinZDei/M62qN SbSDvP8fSgJcFL3JtXDU/ZIuEPag8nrzcQc5uYV9qmbtC2ZDjAmbwrd6q2CxmR8T5FaR MlKwDmbmUrluHiW1/sbiADwZf8K/gFYXaqVjLdeOnpkovOwMcWkHV60WhY78ZjwEDtfB 8AoLnL5xj11xpF6czdz2/sbtkzvlZoSMNslbZEmL92CoujsIzkswdsRlegGsAl2NV5Ir J9s8vWeWvYxdgZIXvYGraGGmEUvCTJ+cHm37fskrW0SbQbmclFnGfO4aFKblZPbnlz6x FaiA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f1si6263500ejc.311.2020.08.16.12.37.02; Sun, 16 Aug 2020 12:37:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729815AbgHPTdi (ORCPT + 99 others); Sun, 16 Aug 2020 15:33:38 -0400 Received: from relmlor1.renesas.com ([210.160.252.171]:7266 "EHLO relmlie5.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729688AbgHPTdh (ORCPT ); Sun, 16 Aug 2020 15:33:37 -0400 X-IronPort-AV: E=Sophos;i="5.76,321,1592838000"; d="scan'208";a="54692823" Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 17 Aug 2020 04:33:36 +0900 Received: from localhost.localdomain (unknown [10.226.36.204]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 293D140D5466; Mon, 17 Aug 2020 04:33:34 +0900 (JST) From: Lad Prabhakar To: Geert Uytterhoeven , Magnus Damm , Rob Herring , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lad Prabhakar , Prabhakar Subject: [PATCH 2/3] ARM: dts: r8a7742-iwg21m: Add RTC support Date: Sun, 16 Aug 2020 20:33:15 +0100 Message-Id: <20200816193316.7641-3-prabhakar.mahadev-lad.rj@bp.renesas.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200816193316.7641-1-prabhakar.mahadev-lad.rj@bp.renesas.com> References: <20200816193316.7641-1-prabhakar.mahadev-lad.rj@bp.renesas.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable BQ32000 RTC which is connected to I2C0 on the iWave RainboW-G21M-q7 SOM. Signed-off-by: Lad Prabhakar Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7742-iwg21m.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/r8a7742-iwg21m.dtsi b/arch/arm/boot/dts/r8a7742-iwg21m.dtsi index 6e8df79bea94..0f26807f92b8 100644 --- a/arch/arm/boot/dts/r8a7742-iwg21m.dtsi +++ b/arch/arm/boot/dts/r8a7742-iwg21m.dtsi @@ -35,6 +35,21 @@ clock-frequency = <20000000>; }; +&i2c0 { + pinctrl-0 = <&i2c0_pins>; + pinctrl-names = "default"; + + status = "okay"; + clock-frequency = <400000>; + + rtc@68 { + compatible = "ti,bq32000"; + reg = <0x68>; + interrupt-parent = <&gpio1>; + interrupts = <1 IRQ_TYPE_EDGE_FALLING>; + }; +}; + &mmcif1 { pinctrl-0 = <&mmc1_pins>; pinctrl-names = "default"; @@ -46,6 +61,11 @@ }; &pfc { + i2c0_pins: i2c0 { + groups = "i2c0"; + function = "i2c0"; + }; + mmc1_pins: mmc1 { groups = "mmc1_data4", "mmc1_ctrl"; function = "mmc1"; -- 2.17.1