From patchwork Fri Sep 29 11:53:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 9977849 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 CD30E60329 for ; Fri, 29 Sep 2017 12:16:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C8FC1297CF for ; Fri, 29 Sep 2017 12:16:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BDE2D29848; Fri, 29 Sep 2017 12:16:49 +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 501E6297CF for ; Fri, 29 Sep 2017 12:16:49 +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=/1NkX2PkSmr2BB9oVHmvwI2qY9833YvCzTRIZjNUcLM=; b=r4ZLduEQBwae8/7mT+NvlKn7lc mjqjhojzcXQQ9MNXc4oWrMiOJ1lcdAfiwnZ4NisUGYU0YIMN+0InE72Kw9AkTNHhjYBfYFl/CZvnp V8eS0+LErpVI6i5v+KAxFe3rQJ2jyJrH3Zc6kXv8rXnxoYZuobg9k88+dXLGtnCar/8ysD4q4E6Ng Cc5M+agSmG6wwz1Z/zoYPAGuJ5PRhsQPeb04w4vytnfLj1jpKLfuOlx0N6Y6ubSbHW/quDx+KMXhG 0znf7puq9wxnbVb51g6eLsLTA2CYZgaKJDO3iRxnv9LvsPKxP+DtnMW/qDqaiz4hrmXBYh7/GyCEc UTbsu/vQ==; 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 1dxuDi-00036H-Kx; Fri, 29 Sep 2017 12:16:42 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dxu36-0006OC-LN for linux-arm-kernel@lists.infradead.org; Fri, 29 Sep 2017 12:05:50 +0000 Received: from penelope.horms.nl (unknown [217.111.208.18]) by kirsty.vergenet.net (Postfix) with ESMTPA id EEDD425BE88; Fri, 29 Sep 2017 21:54:36 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1506686077; bh=dLZ1n2oPLQKRBVFIPlM6931UuDSVOX/oa9VzsMPt0fA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ic171xqrAEWGA8x79vby4EcK+vlM3ZdpC8HqE1ZJtVC6RhCrS70Vdoi+0/v/FLPuA YMRpo25N6O7F5Or4KrRcZ7OFwMtb+9Mhn4CxgZSmIOCnhw6wKRvBdqGGJDXI/FEMmq bCgkl8BxkyGkbjYnQu8qqFlTZihrJeCkNW4x+qGA= Received: by penelope.horms.nl (Postfix, from userid 7100) id 1A73AE203A9; Fri, 29 Sep 2017 07:53:42 -0400 (EDT) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 15/48] ARM: dts: r8a7745: Add MMC interface support Date: Fri, 29 Sep 2017 13:53:07 +0200 Message-Id: <933b16efb7be16e98a6bcd04ed59c5e91371afef.1506683482.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170929_050544_877729_DDDC7264 X-CRM114-Status: UNSURE ( 7.37 ) 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 , Simon Horman , Magnus Damm , 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 From: Fabrizio Castro Add MMC interface support for r8a7745 SoC. Signed-off-by: Fabrizio Castro Signed-off-by: Simon Horman --- arch/arm/boot/dts/r8a7745.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 2fa989f631a9..7fd2967b1f42 100644 --- a/arch/arm/boot/dts/r8a7745.dtsi +++ b/arch/arm/boot/dts/r8a7745.dtsi @@ -706,6 +706,22 @@ i2c-scl-internal-delay-ns = <6>; status = "disabled"; }; + + mmcif0: mmc@ee200000 { + compatible = "renesas,mmcif-r8a7745", + "renesas,sh-mmcif"; + reg = <0 0xee200000 0 0x80>; + interrupts = ; + clocks = <&cpg CPG_MOD 315>; + dmas = <&dmac0 0xd1>, <&dmac0 0xd2>, + <&dmac1 0xd1>, <&dmac1 0xd2>; + dma-names = "tx", "rx", "tx", "rx"; + power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; + resets = <&cpg 315>; + reg-io-width = <4>; + max-frequency = <97500000>; + status = "disabled"; + }; }; /* External root clock */