From patchwork Fri Oct 13 16:06:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrizio Castro X-Patchwork-Id: 10005251 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1FDB5602B3 for ; Fri, 13 Oct 2017 16:23:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 06BCD29103 for ; Fri, 13 Oct 2017 16:23:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 056782910E; Fri, 13 Oct 2017 16:23:55 +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=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 5723F29103 for ; Fri, 13 Oct 2017 16:23:54 +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: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:In-Reply-To: References:List-Owner; bh=t4Vz7zBk4Jqmk3qhDIXmkLxn1RmczsiRV+CFdmZ1BpY=; b=MLj 0zo7l1tp5YX8qyuL/IgilCrpn8Za6VFGpMuC/bmgVyI82jEIPaCxTUmgvi5NQ6DhQ+sR4tVk4H4DK O+YTYBpN42cr6AAnKh/9K6UTxg+TZnKVCYvTrDvpH4JM77QGODKClm/12tMkRVAAf4n/5DL3W7Q72 ILXkvVDlHooEQzbrechR+kB5BlycTEgxLaVKZmYq5qvLutXSBgSKaiu6RiUI4tzu1UftRdq3dIdZa kOjGbcPB57nK/7n5pJ21QqsbALxTCQ6XUnDJmq1dgv+yzvDhRQsUUJ8wbY/5kVnlkyILJU9Xu960m xE/mdvBR4fAxluHtpnyx38npGKUmmuA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e32kF-00064v-K5; Fri, 13 Oct 2017 16:23:31 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1e32kC-0005pQ-Of for linux-arm-kernel@bombadil.infradead.org; Fri, 13 Oct 2017 16:23:28 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YEAhl/RAPBOxXFqFT32BezExmCAP+zveLL6BVjWA5ek=; b=W0bl1QtwEqa4yAcNQ4KeJ4QMZ HrZQdZEZGbfUADv+WdFVtxkXitV8uy/0x93BIHesng5rCnctQNJzNmicjakvggD9HtH8bbImr4AdZ dCZuuiOER5NK7xh2QRH2rr6ZKMbGQApbGilY7REe+vFWcGXOjgugKyxaIQu68ATWxsarqE1a6dFVX UxACj85GRnfqYkYo4x+I8QNd1PQS1E6RLYqccN4KNUg4GsGDKtlPMxVU1qKIDa39Zu/EbDIZnyMyY jSVRj+3o4YucaxetfBPmuDnPbwcPJBTivWp+y7AYkuRYg7FKgX0iQE05XJ0hWbT2K00kqm7Kk2X7K 3GfiRIEJQ==; Received: from relmlor3.renesas.com ([210.160.252.173] helo=relmlie2.idc.renesas.com) by casper.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e32Ur-000691-Qa for linux-arm-kernel@lists.infradead.org; Fri, 13 Oct 2017 16:07:45 +0000 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 14 Oct 2017 01:07:07 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id A5EEB40E11; Sat, 14 Oct 2017 01:07:07 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.43,371,1503327600"; d="scan'208";a="259315852" Received: from unknown (HELO fabrizio-dev.ree.adwin.renesas.com) ([10.226.37.27]) by relmlii1.idc.renesas.com with ESMTP; 14 Oct 2017 01:06:51 +0900 From: Fabrizio Castro To: Rob Herring , Mark Rutland , Russell King Subject: [PATCH] ARM: dts: r8a7745: Add IIC cores to dtsi Date: Fri, 13 Oct 2017 17:06:33 +0100 Message-Id: <1507910793-13919-1-git-send-email-fabrizio.castro@bp.renesas.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171013_170738_175192_F1743B9A X-CRM114-Status: UNSURE ( 7.69 ) X-CRM114-Notice: Please train this message. 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: Fabrizio Castro , devicetree@vger.kernel.org, Chris Paterson , Geert Uytterhoeven , Magnus Damm , Biju Das , linux-renesas-soc@vger.kernel.org, Simon Horman , linux-arm-kernel@lists.infradead.org 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 Signed-off-by: Fabrizio Castro Reviewed-by: Chris Paterson --- arch/arm/boot/dts/r8a7745.dtsi | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index fd40daf..cfba7af 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -25,6 +25,8 @@ i2c3 = &i2c3; i2c4 = &i2c4; i2c5 = &i2c5; + i2c6 = &iic0; + i2c7 = &iic1; spi0 = &qspi; spi1 = &msiof0; spi2 = &msiof1; @@ -768,6 +770,40 @@ status = "disabled"; }; + iic0: i2c@e6500000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a7745", + "renesas,rcar-gen2-iic", + "renesas,rmobile-iic"; + reg = <0 0xe6500000 0 0x425>; + interrupts = ; + clocks = <&cpg CPG_MOD 318>; + dmas = <&dmac0 0x61>, <&dmac0 0x62>, + <&dmac1 0x61>, <&dmac1 0x62>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; + resets = <&cpg 318>; + status = "disabled"; + }; + + iic1: i2c@e6510000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "renesas,iic-r8a7745", + "renesas,rcar-gen2-iic", + "renesas,rmobile-iic"; + reg = <0 0xe6510000 0 0x425>; + interrupts = ; + clocks = <&cpg CPG_MOD 323>; + dmas = <&dmac0 0x65>, <&dmac0 0x66>, + <&dmac1 0x65>, <&dmac1 0x66>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; + resets = <&cpg 323>; + status = "disabled"; + }; + mmcif0: mmc@ee200000 { compatible = "renesas,mmcif-r8a7745", "renesas,sh-mmcif";