Received: by 10.223.185.116 with SMTP id b49csp7276607wrg; Thu, 1 Mar 2018 02:55:27 -0800 (PST) X-Google-Smtp-Source: AG47ELvMyqscPWg1w9EqtQfJ2fHwP6oJTAx4rcI4KsvgZgc7N6ZHxuy0gGf3XtuBF6L1u06o4nO9 X-Received: by 2002:a17:902:a610:: with SMTP id u16-v6mr1472300plq.293.1519901726952; Thu, 01 Mar 2018 02:55:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519901726; cv=none; d=google.com; s=arc-20160816; b=hAHyg+WOA6N+fLyMlsEIW7X1LpH0YX6Q+oMiVqJHQzPMfu6swIcYrRMZBC+rfqXa9F +nzzQtSvyu3vHpxQd5/H0YaftXUcfgrNakxoNTQ2NkGj7OcCPBslkMiwe1daDdFJSxfE dwItnlpChAKCowMjgzfhBnvHT96+RJRDboAgcU2CytccxC4/dOVdXR3zqaO4M/XY7sXN BqflplurGIbvw7LKIoh2O1XXV23ekOb7ITMsafCRBUBiF6EI3joRtYUHW1Ju3wQ+Aip7 b4mxj74l3++Q3gPpqvA9cjKwpppQmwscNSVZN+L2fkyRjgxfPqkKc74k28K0t2vhmGFi tp0Q== 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=NQ+57I6I8U5Rk24mrVx+V/QQaj1xbgwASn5TbfCHDI0=; b=qO/m12l7j4p6WsDWfZONafAQdnJiLZPU37WVq7p34dW8u/gx0Jfof4Dw1D6ytoVhQ8 hbrLjH9YCEKEBwFTEnCRwY0wzT7BBHhCcj68pyKj5lLykQAqn1p9tS3wRIrsHN1cZsZx BpQgXcD65/7ROxGgqKAeEvf5BNxIPmHSdYRejPWiuXh4ABbJ1u/y6+d0GN0ijQDdSBkL +Hhs5VlkW5kUGMhmlaAEqUZOtPhv4kwETTVzRgEIAxzg2nvJi2qemF3V9JsDVzLN63fL v5jpQf2c5a0SoweZBwyDKimbP/uW27a2D+HmY502xMSde6sdVETow0szrNXm33bbnMB0 T77Q== 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 f34-v6si2897499ple.330.2018.03.01.02.55.11; Thu, 01 Mar 2018 02:55:26 -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 S967635AbeCAKy3 (ORCPT + 99 others); Thu, 1 Mar 2018 05:54:29 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:43684 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S967490AbeCAKyZ (ORCPT ); Thu, 1 Mar 2018 05:54:25 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w21AnAAu007256; Thu, 1 Mar 2018 11:53:48 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2gaytj9pud-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 01 Mar 2018 11:53:48 +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 5CC5C34; Thu, 1 Mar 2018 10:53:48 +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 3B80E2896; Thu, 1 Mar 2018 10:53:48 +0000 (GMT) Received: from localhost (10.75.127.45) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 1 Mar 2018 11:53:47 +0100 From: To: , , , , , , , CC: , Patrice Chotard Subject: [PATCH v2 3/6] ARM: dts: stm32: Enable sdio1 for stm32f746-eval Date: Thu, 1 Mar 2018 11:53:40 +0100 Message-ID: <1519901623-23216-4-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1519901623-23216-1-git-send-email-patrice.chotard@st.com> References: <1519901623-23216-1-git-send-email-patrice.chotard@st.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG5NODE1.st.com (10.75.127.13) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-01_06:,, 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 --- v2: _ rename sdio_pins / sdio_od_pins to sdio_pins_a / sdio_od_pins_a 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..32b74d52d87f 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_a>; + pinctrl-1 = <&sdio_pins_od_a>; + bus-width = <4>; +}; + &usart1 { pinctrl-0 = <&usart1_pins_a>; pinctrl-names = "default"; -- 1.9.1