Received: by 10.223.185.116 with SMTP id b49csp7223095wrg; Thu, 1 Mar 2018 01:49:45 -0800 (PST) X-Google-Smtp-Source: AG47ELuUP3TZXoxv/VouKNlfzVE3Ayqzfkvfb3OJ3bloeFVXUReTJCL3BAwOkMcIUdy3b3SS8bLH X-Received: by 10.101.83.3 with SMTP id m3mr1035807pgq.197.1519897785092; Thu, 01 Mar 2018 01:49:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519897785; cv=none; d=google.com; s=arc-20160816; b=yOjAQPuxcQfSJb7Amfhh84qlQqc4wHVOMZIqo0ZJdg0vGtSNW6chXDTv3rVerXR1UT bGKNWDPHPS35b8PvClp45ALcc6/56joPRq4k/FK7obdefHXATQGrjdFkXKvkIanKE8Fu EMEDhIBm0+sD+yUoEAhqNl7su1ez7p9HG+wicxQ4Jf8lTfo8pETCXcEsQq67EPpN9JlK pokbtAk6ocl5xEeZPM5mPd3/KiZSGkfmrDnTpXl0FPv3cSmu1sbXo06+/eWaYEEmLSCc 04lc8Hu9vaulYF0HHRuKfjhe40zgDyEpblUDyh+dMs2ZIG0wxiH+AeYbTPc9SZD0A337 KWcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=xHv4USJwPYQBASqaGBWhsKUp54z9c9tOAIXMNNkzQc0=; b=Uc6G8PM80JspzC+9u5AJMzA4Fzko2xLUPXR2zhokXp13Kt8A2Uqq0zUBm1Hkh19/Jg cDkoUOE8tLm9r4bs7YLRZgNuEpwcROD+lrjszSlKXlAYGHKVsEcB18MfSapJ4O01XGzO yYFRs1IJiFInVkAHpcN8cjMQKMJS83LcyW8C+6dOmqXvb0I6aAydxznbrNZoPuYUg9QB vpq4gqzmoESoLAgRQVxqnu19Z2+7AWFd4tu+fsc5xB8sdJdVIeMvg5SSNbnKeD3O8qPd u3UGFZR85WvXSxsFRoINnEPZtuCVQThVLHsmH5SzOU/QIs1DpVeAOMeV0LvGp2QJMcFV FYsQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e16si2776707pfd.6.2018.03.01.01.49.30; Thu, 01 Mar 2018 01:49:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967149AbeCAJpI (ORCPT + 99 others); Thu, 1 Mar 2018 04:45:08 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:44994 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967074AbeCAJpE (ORCPT ); Thu, 1 Mar 2018 04:45:04 -0500 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w219iF9i028519; Thu, 1 Mar 2018 10:44:27 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2gaxpwrhxf-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 01 Mar 2018 10:44:27 +0100 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 21B8C38; Thu, 1 Mar 2018 09:44:26 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node3.st.com [10.75.127.18]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 71A8C2602; Thu, 1 Mar 2018 09:44:26 +0000 (GMT) Received: from localhost (10.75.127.51) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 1 Mar 2018 10:44:25 +0100 From: To: , , , , , , , CC: , Patrice Chotard Subject: [PATCH 3/6] ARM: dts: stm32: Enable sdio1 for stm32f746-eval Date: Thu, 1 Mar 2018 10:43:38 +0100 Message-ID: <1519897421-23803-4-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1519897421-23803-1-git-send-email-patrice.chotard@st.com> References: <1519897421-23803-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG7NODE2.st.com (10.75.127.20) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-01_05:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Patrice Chotard Adds SDIO related DT nodes for stm32f746-eval board. broken-cd property is needed as card detect signal is connected to a GPIO expander which is not yet supported in kernel linux. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32746g-eval.dts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts index b2d4b8c46677..63160199e39a 100644 --- a/arch/arm/boot/dts/stm32746g-eval.dts +++ b/arch/arm/boot/dts/stm32746g-eval.dts @@ -91,6 +91,13 @@ clocks = <&rcc 0 STM32F7_AHB1_CLOCK(OTGHSULPI)>; clock-names = "main_clk"; }; + + mmc_vcard: mmc_vcard { + compatible = "regulator-fixed"; + regulator-name = "mmc_vcard"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &clk_hse { @@ -113,6 +120,16 @@ status = "okay"; }; +&sdio1 { + status = "okay"; + vmmc-supply = <&mmc_vcard>; + broken-cd; + pinctrl-names = "default", "opendrain"; + pinctrl-0 = <&sdio_pins>; + pinctrl-1 = <&sdio_pins_od>; + bus-width = <4>; +}; + &usart1 { pinctrl-0 = <&usart1_pins_a>; pinctrl-names = "default"; -- 1.9.1