From patchwork Tue Aug 21 19:50:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 10572331 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 80C941575 for ; Tue, 21 Aug 2018 19:50:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7A4892ADFB for ; Tue, 21 Aug 2018 19:50:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 76BD82AE0A; Tue, 21 Aug 2018 19:50:52 +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 20D412AE0B for ; Tue, 21 Aug 2018 19:50:51 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:References:To:From:Subject:Reply-To:Content-ID:Content-Description :Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Z5PhC1cuWPtkoOS9QNAjgU+zHaMyO7N7rj4spqCssWQ=; b=AqujTH0uh4/WZ9 TCP73tjcgyuLyYRfY1p7rjuZ7Fnelfvab6md835ca2XPaYdQfJDY3s88RHyEJKcuM0DTfWsVUq2bH L+Qt2RP+DhvU/DBJbmxrjLmhkm/wOLR1eiDPCnnVPvg8uY1maTSILWBnAa1NMLAi4Yvciln+mtzB+ hmaJ8cQaadv4uR1kpsPxrh/3c9GOHI87Rrzr3Fm3aIrrERHos7hL1GtripjByu/dFrlAavdpvk7xs MeZ0/STK3PByL5eeIUETCMBQYcyxzQKhnpw6LG8VeESs6zDFcZLBeJOvCOe6+RBPiYlL48W2k0Wfx tmOkEDiBYijm8K+RgidA==; 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 1fsCfx-0008Vc-JB; Tue, 21 Aug 2018 19:50:49 +0000 Received: from mail-lj1-x241.google.com ([2a00:1450:4864:20::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fsCfu-0008U8-Ef for linux-arm-kernel@lists.infradead.org; Tue, 21 Aug 2018 19:50:47 +0000 Received: by mail-lj1-x241.google.com with SMTP id p10-v6so15264046ljg.2 for ; Tue, 21 Aug 2018 12:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cogentembedded-com.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=aO99U8TL0/axG0jAzWTk+5/ikT/Iz3EKXWaBkhI/lwg=; b=DicTjKdLFHqrNrhQfeFr4vQI9DWp/rLNT7+rjfJjNLmfq1uRCtJzip+c6aTOBO7io9 YhyM0D1ZbFT2pGenvuKCE6jb7GW/sRAxvXAct3Yu3i+ug+q2Ak5idu8sfVKrpgjvSYNE vhU0kYVjIW5WisL9eqndocrqPEHEZj7PbNw2qfD9adQEvJx6um3CB+v4W+wttlzXr6ZP v4s7/ST99JTv3NX2SwPe9ZXIcWJaQBDVWjSLq4xj42hBBZzSBv+wQnstT5UGhgkn5C72 6Th0amD0Az7jzf0LzeZODV35J+Tl6+duVV9wge8umNsrRMvjEsgB0DXUy/HC8jyf4R2v +Nbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=aO99U8TL0/axG0jAzWTk+5/ikT/Iz3EKXWaBkhI/lwg=; b=KMyX4+bE+qC0SCHy5+m1+si15Ok8ZWn2k+XKDMf4sR4CYMlIiF6VQDZmWbah6mqalb UsICPzbPYI5k51YRQOd3zEtbF8TDsCoFa/QTZZirNduqtnKa4Oaz+bGYiFQNWf7hXrnM +p3/GFAeND5W1x0lCJX7npon8tNrgrAP8noIoqGIoIMKZsTDlJ4iHlQ6bDGNMkkPq1tO mXGYG7yhOKlL/iOk8rfVIuz/+4Ps30tJg267/HvlfSF7OPO6+B2UUEM9UNWBrjG73gUH Se9lzPZg7BAPm+YXSK3i/fM5m4NcBdiA1F6frySdA5iIc2/H86yZuyuam4N/nAd9xwRn F3qQ== X-Gm-Message-State: AOUpUlFtTmer8jaHE0QsHKVxmZ9tVSYEUAb4RtDom0TmW3/bHgHd73oC pbRAvYHduzLWdXyHsQiD9ZIETXq0ZPo= X-Google-Smtp-Source: ANB0VdZ+W3snUPRQOgvGVcNvAelEIOa/mgfvU+arwnAPUZUkkixjGrj7VEpFy3iRHmlfmXtU6CEuag== X-Received: by 2002:a2e:1b4a:: with SMTP id b71-v6mr3836646ljb.104.1534881033615; Tue, 21 Aug 2018 12:50:33 -0700 (PDT) Received: from wasted.cogentembedded.com ([31.173.82.138]) by smtp.gmail.com with ESMTPSA id y85-v6sm2469312lfi.46.2018.08.21.12.50.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 12:50:32 -0700 (PDT) Subject: [PATCH 2/2] arm64: dts: renesas: v3msk: add eMMC support From: Sergei Shtylyov To: Simon Horman , Rob Herring , Catalin Marinas , Will Deacon , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org References: <1af46bf9-d9e5-8dcf-0ac7-a85e7348a34e@cogentembedded.com> Organization: Cogent Embedded Message-ID: <9da672a2-0269-4860-8912-189414b43d4c@cogentembedded.com> Date: Tue, 21 Aug 2018 22:50:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 In-Reply-To: <1af46bf9-d9e5-8dcf-0ac7-a85e7348a34e@cogentembedded.com> Content-Language: en-MW X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180821_125046_493400_81538D82 X-CRM114-Status: GOOD ( 15.92 ) 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: Mark Rutland , Magnus Damm , linux-arm-kernel@lists.infradead.org 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 Add the eMMC chip support for the V3M Started Kit board. Based on the original (and large) patches by Vladimir Barinov. Signed-off-by: Vladimir Barinov Signed-off-by: Sergei Shtylyov Reviewed-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) Index: renesas/arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts =================================================================== --- renesas.orig/arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts +++ renesas/arch/arm64/boot/dts/renesas/r8a77970-v3msk.dts @@ -51,6 +51,15 @@ regulator-always-on; }; + vcc_vddq_vin0: regulator-2 { + compatible = "regulator-fixed"; + regulator-name = "VCC_VDDQ_VIN0"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; + lvds-decoder { compatible = "thine,thc63lvd1024"; vcc-supply = <&vcc_d3_3v>; @@ -128,6 +137,12 @@ function = "i2c0"; }; + mmc_pins: mmc_3_3v { + groups = "mmc_data8", "mmc_ctrl"; + function = "mmc"; + power-source = <3300>; + }; + scif0_pins: scif0 { groups = "scif0_data"; function = "scif0"; @@ -192,6 +207,17 @@ }; }; +&mmc0 { + pinctrl-0 = <&mmc_pins>; + pinctrl-names = "default"; + + vmmc-supply = <&vcc_d3_3v>; + vqmmc-supply = <&vcc_vddq_vin0>; + bus-width = <8>; + non-removable; + status = "okay"; +}; + &scif0 { pinctrl-0 = <&scif0_pins>; pinctrl-names = "default";