From patchwork Sun Dec 27 17:42:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 352558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A6A51C433DB for ; Sun, 27 Dec 2020 17:43:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 73B262250E for ; Sun, 27 Dec 2020 17:43:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726547AbgL0Rng (ORCPT ); Sun, 27 Dec 2020 12:43:36 -0500 Received: from www.zeus03.de ([194.117.254.33]:47048 "EHLO mail.zeus03.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726533AbgL0Rnf (ORCPT ); Sun, 27 Dec 2020 12:43:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=z6uoKLkV9T1nr0 YH7Ec4kiIrykJl+cn+QHsvaT3QsEM=; b=eXiizXUnq7B+x1xBSiirL2jm25WjX6 Vqavnhy7i8MYOx+LibOxEUvQB5v5tfPAynRiIyUxMZtVjBTYOkA78CBFvFsRgf8+ pyV5NR6kfpvZ1ByrYDYmdedN/YQbMD2Ck/UewfgtOiLIqrytqEaZ6xNwpY5iOUle lIW0KfsVC8//8= Received: (qmail 1557178 invoked from network); 27 Dec 2020 18:42:17 +0100 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 27 Dec 2020 18:42:17 +0100 X-UD-Smtp-Session: l3s3148p1@VYmvrXW3Wp5UhsuJ From: Wolfram Sang To: linux-renesas-soc@vger.kernel.org Cc: Takeshi Saito , Koji Matsuoka , Wolfram Sang , Geert Uytterhoeven , Magnus Damm , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] arm64: dts: renesas: falcon: Enable MMC Date: Sun, 27 Dec 2020 18:42:00 +0100 Message-Id: <20201227174202.40834-7-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201227174202.40834-1-wsa+renesas@sang-engineering.com> References: <20201227174202.40834-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Takeshi Saito Enable MMC on the Falcon board. Signed-off-by: Koji Matsuoka [wsa: double checked & rebased] Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven --- .../boot/dts/renesas/r8a779a0-falcon.dts | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts index 48801f2bdbe5..0c44466d398f 100644 --- a/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts +++ b/arch/arm64/boot/dts/renesas/r8a779a0-falcon.dts @@ -20,6 +20,24 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + + reg_1p8v: regulator0 { + compatible = "regulator-fixed"; + regulator-name = "fixed-1.8V"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-boot-on; + regulator-always-on; + }; + + reg_3p3v: regulator1 { + compatible = "regulator-fixed"; + regulator-name = "fixed-3.3V"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-boot-on; + regulator-always-on; + }; }; &avb0 { @@ -169,6 +187,23 @@ &i2c6 { clock-frequency = <100000>; }; +&mmc0 { + pinctrl-0 = <&mmc_pins>; + pinctrl-1 = <&mmc_pins>; + pinctrl-names = "default", "state_uhs"; + + vmmc-supply = <®_3p3v>; + vqmmc-supply = <®_1p8v>; + mmc-hs200-1_8v; + mmc-hs400-1_8v; + bus-width = <8>; + no-sd; + no-sdio; + non-removable; + full-pwr-cycle-in-suspend; + status = "okay"; +}; + &pfc { avb0_pins: avb0 { mux { @@ -307,6 +342,12 @@ i2c6_pins: i2c6 { groups = "i2c6"; function = "i2c6"; }; + + mmc_pins: mmc { + groups = "mmc_data8", "mmc_ctrl", "mmc_ds"; + function = "mmc"; + power-source = <1800>; + }; }; &rwdt {