From patchwork Wed Jul 12 10:03:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Paterson X-Patchwork-Id: 9836449 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 1B54160393 for ; Wed, 12 Jul 2017 10:15:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0C04F28572 for ; Wed, 12 Jul 2017 10:15:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 001252857F; Wed, 12 Jul 2017 10:15:00 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 7B0D2285A6 for ; Wed, 12 Jul 2017 10:15:00 +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=5evAAWfs8kGbqr8k2Os58UmycuN1gRlM44CXQYLvOA8=; b=isuGyU/pT1tqmIvkJLDBUSUhAj KJrzWBoYDQZdf3Gb2I2/ZY/RYRPFrDE6Pk0Zm+3IAGy1F4/vXB1Yu3F5tEEbF//OAPD81zL7nRgmY 050d3tIRM8Xf2tNvWJfuhe6T5AThVt1qzykNjk6fIjMXggCbDacRcT4JM6rWZcZxe7JLSQMUDOUkJ uCde+L1XMz2sOwkY855Y5/VRznQYSVPut9z0uJ7URQSEV4ji5WxL/QC9mtXqjQFkNhFPiEk0UKNrA Xfe3rF3e5Mp+wkGnEY1uqy3Ijfi2MqnCERfRUyqcRMfDLhpPdgKfEvmFH+zWMDSqK7z+QdwEW+udq 6uqap9bA==; 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 1dVEfY-0008TV-GJ; Wed, 12 Jul 2017 10:14:56 +0000 Received: from relmlor1.renesas.com ([210.160.252.171] helo=relmlie4.idc.renesas.com) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dVEVU-00046U-Bg for linux-arm-kernel@lists.infradead.org; Wed, 12 Jul 2017 10:04:38 +0000 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie4.idc.renesas.com with ESMTP; 12 Jul 2017 19:04:10 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id A8B7881920; Wed, 12 Jul 2017 19:04:10 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.40,349,1496070000"; d="scan'208";a="249789979" Received: from unknown (HELO renesas-VirtualBox.ree.adwin.renesas.com) ([10.226.37.27]) by relmlii1.idc.renesas.com with ESMTP; 12 Jul 2017 19:04:06 +0900 From: Chris Paterson To: Ulf Hansson , Rob Herring , Mark Rutland , Simon Horman , Magnus Damm , Russell King Subject: [PATCH 3/3] ARM: dts: iwg20m: Add MMCIF0 support Date: Wed, 12 Jul 2017 11:03:25 +0100 Message-Id: <1499853805-5915-4-git-send-email-chris.paterson2@renesas.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499853805-5915-1-git-send-email-chris.paterson2@renesas.com> References: <1499853805-5915-1-git-send-email-chris.paterson2@renesas.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170712_030433_098886_8BF05E6B X-CRM114-Status: UNSURE ( 6.25 ) 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: devicetree@vger.kernel.org, Chris Paterson , linux-mmc@vger.kernel.org, Biju Das , linux-renesas-soc@vger.kernel.org, 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 Define the iwg20m board dependent part of the MMCIF0 device node. Signed-off-by: Chris Paterson diff --git a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi index 001ca91..ffce1b6 100644 --- a/arch/arm/boot/dts/r8a7743-iwg20m.dtsi +++ b/arch/arm/boot/dts/r8a7743-iwg20m.dtsi @@ -22,8 +22,34 @@ device_type = "memory"; reg = <2 0x00000000 0 0x20000000>; }; + + reg_3p3v: 3p3v { + compatible = "regulator-fixed"; + regulator-name = "3P3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + regulator-boot-on; + }; }; &extal_clk { clock-frequency = <20000000>; }; + +&pfc { + mmcif0_pins: mmc { + groups = "mmc_data8", "mmc_ctrl"; + function = "mmc"; + }; +}; + +&mmcif0 { + pinctrl-0 = <&mmcif0_pins>; + pinctrl-names = "default"; + + vmmc-supply = <®_3p3v>; + bus-width = <8>; + non-removable; + status = "okay"; +};