From patchwork Thu Sep 26 17:20:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 2949751 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 6FD579F289 for ; Thu, 26 Sep 2013 17:21:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4FF1920218 for ; Thu, 26 Sep 2013 17:21:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0F7FC2020E for ; Thu, 26 Sep 2013 17:21:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753389Ab3IZRVF (ORCPT ); Thu, 26 Sep 2013 13:21:05 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:64166 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751719Ab3IZRVE (ORCPT ); Thu, 26 Sep 2013 13:21:04 -0400 Received: from axis700.grange (dslb-094-221-123-102.pools.arcor-ip.net [94.221.123.102]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0MKIQ2-1VOh111GS6-001gLm; Thu, 26 Sep 2013 19:21:01 +0200 Received: from 6a.grange (6a.grange [192.168.1.11]) by axis700.grange (Postfix) with ESMTPS id BE51140BB5; Thu, 26 Sep 2013 19:21:00 +0200 (CEST) Received: from lyakh by 6a.grange with local (Exim 4.72) (envelope-from ) id 1VPFFM-0003mX-E9; Thu, 26 Sep 2013 19:21:00 +0200 From: Guennadi Liakhovetski To: linux-kernel@vger.kernel.org Cc: Magnus Damm , linux-sh@vger.kernel.org, Linus Walleij , Laurent Pinchart , Simon Horman , Guennadi Liakhovetski Subject: [PATCH v2 3/5] ARM: shmobile: r8a7790: add I2C DT nodes Date: Thu, 26 Sep 2013 19:20:58 +0200 Message-Id: <1380216060-14506-4-git-send-email-g.liakhovetski@gmx.de> X-Mailer: git-send-email 1.7.2.5 In-Reply-To: <1380216060-14506-1-git-send-email-g.liakhovetski@gmx.de> References: <1380216060-14506-1-git-send-email-g.liakhovetski@gmx.de> X-Provags-ID: V02:K0:9DsamSFWKsHDjvjFBixIJiTz6oFjVqQecHc5D6IVSqy pBUJ35VYiiXemVhAnsn5eGzp76aZZuTMb3QFC+DqrA5D7gqjhE 6+0E6VnBEMctHWKfjl4ZOIv+3fE4kaSwRoHhKIHPe858gCgEGj WNcaBvurt/t+VOtAoA0b+1WEd3M3C5WqkRuDjgKHDu8N4C5GC/ uL16vbIqXZWmcxE5WGGyaDVgKaeAe5D5d8hN62uQuheaBz6Gvz BFsyI/AEI0epFlZoP+asBEekvkBDxZeBVaP7x+pBjrpzdbfIbP TItwvpVZ07PbR0+xbBwZPfhb8e/Nfq4pSuzAUrM11CvSViyBOf MuTr4Ln40aVyX/X1gc2cUiUEIYRk/ZSRM+gkbyOxFf2sV+jdYw kQeghX5y7DMgQ== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-9.3 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add DT nodes for the four I2C interfacces on r8a7790. Signed-off-by: Guennadi Liakhovetski --- v2: part two of former [PATCH 2/4], set i2c bus status to "disabled" by default. arch/arm/boot/dts/r8a7790.dtsi | 40 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/r8a7790.dtsi b/arch/arm/boot/dts/r8a7790.dtsi index 28fc18c..ee845fa 100644 --- a/arch/arm/boot/dts/r8a7790.dtsi +++ b/arch/arm/boot/dts/r8a7790.dtsi @@ -176,6 +176,46 @@ interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>; }; + i2c0: i2c@e6508000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7790"; + reg = <0 0xe6508000 0 0x40>; + interrupt-parent = <&gic>; + interrupts = <0 287 0x4>; + status = "disabled"; + }; + + i2c1: i2c@e6518000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7790"; + reg = <0 0xe6518000 0 0x40>; + interrupt-parent = <&gic>; + interrupts = <0 288 0x4>; + status = "disabled"; + }; + + i2c2: i2c@e6530000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7790"; + reg = <0 0xe6530000 0 0x40>; + interrupt-parent = <&gic>; + interrupts = <0 286 0x4>; + status = "disabled"; + }; + + i2c3: i2c@e6540000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,i2c-r8a7790"; + reg = <0 0xe6540000 0 0x40>; + interrupt-parent = <&gic>; + interrupts = <0 290 0x4>; + status = "disabled"; + }; + mmcif0: mmcif@ee200000 { compatible = "renesas,sh-mmcif"; reg = <0 0xee200000 0 0x80>;