From patchwork Thu Sep 13 09:09:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Horman X-Patchwork-Id: 10599125 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F39E015A7 for ; Thu, 13 Sep 2018 09:35:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEAA42A449 for ; Thu, 13 Sep 2018 09:35:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D20862A7C4; Thu, 13 Sep 2018 09:35:09 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 8F5202A449 for ; Thu, 13 Sep 2018 09:35:08 +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=V6ZctdjzxmjbDmsCn8hjNl8k08qXH2wD6u5D2QXrpAk=; b=nDeKQ2SlAlC1vDFZvnizIMPS7T O/VFEPiEvdN42CxEnLl/GEuwFwjvdSnyHHzrBJUz2sCuNzhsNz1XnzMSSXsWOP3qCvx4cnRTl2NTP b5IoEJxrWD0rq7QJEoBvUaVxloVS7pNUB82lx6hR7evDDa6ILxtoKVWS6RfQyUHAIladWqf/ryaTI fX9PTZdUxFRM+oR5jlE537bKmHTpQYEiGEPLVfW+cAl92gQsY+rgEp2eLoSQV1aPBfDfJtf/xq/Uo vGie/vkOTYt+DMks9e6UxMxCEXVNiX4Juzpz4VJIUj3dbSKl9FYnVOsUxhkJigYvR1BF2aqDoWPzW ichZOfqw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0O1V-0004Lj-G8; Thu, 13 Sep 2018 09:34:53 +0000 Received: from kirsty.vergenet.net ([202.4.237.240]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g0NjM-0001R5-Rc for linux-arm-kernel@lists.infradead.org; Thu, 13 Sep 2018 09:16:29 +0000 Received: from reginn.horms.nl (watermunt.horms.nl [80.127.179.77]) by kirsty.vergenet.net (Postfix) with ESMTPA id 0D66425BEF0; Thu, 13 Sep 2018 19:10:01 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=verge.net.au; s=mail; t=1536829801; bh=nE2LK6vwQs4qYt31iZF9rZm9PJ5JwhEUZVxEXxHcV3g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SHu/aIe3CRWoz9hpev3/+YZ6HGvhsUY2fJm7nyrcwGESSDj3kXHhu3inKO+WPE3It beyACsATI+WcXWgx5x/fFO0gp7vXPHFuiyeUJwblyBuQDU0eBUi62UG1qhhH1qLSc1 EvdC5Lxsx3Ew3flWLVS1N4EccbP52LeO7ejoBOz0= Received: by reginn.horms.nl (Postfix, from userid 7100) id DF913940AF8; Thu, 13 Sep 2018 11:09:56 +0200 (CEST) From: Simon Horman To: linux-renesas-soc@vger.kernel.org Subject: [PATCH 18/58] arm64: dts: renesas: r8a77970: add MMC support Date: Thu, 13 Sep 2018 11:09:13 +0200 Message-Id: <979e32b5265d6b42a568e950c5b5e2f6ab283ff3.1536828567.git.horms+renesas@verge.net.au> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180913_021609_090371_6FC69718 X-CRM114-Status: UNSURE ( 9.92 ) 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: Simon Horman , Magnus Damm , Sergei Shtylyov , linux-arm-kernel@lists.infradead.org, Vladimir Barinov 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: Sergei Shtylyov Define the generic R8A77970 part of the MMC0 (SDHI2) device node. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a77970.dtsi b/arch/arm64/boot/dts/renesas/r8a77970.dtsi index 6c0832f23811..b71f3eca35bd 100644 --- a/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ b/arch/arm64/boot/dts/renesas/r8a77970.dtsi @@ -754,6 +754,18 @@ #iommu-cells = <1>; }; + mmc0: mmc@ee140000 { + compatible = "renesas,sdhi-r8a77970", + "renesas,rcar-gen3-sdhi"; + reg = <0 0xee140000 0 0x2000>; + interrupts = ; + clocks = <&cpg CPG_MOD 314>; + power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; + resets = <&cpg 314>; + max-frequency = <200000000>; + status = "disabled"; + }; + gic: interrupt-controller@f1010000 { compatible = "arm,gic-400"; #interrupt-cells = <3>;