Received: by 10.223.185.116 with SMTP id b49csp7222662wrg; Thu, 1 Mar 2018 01:49:10 -0800 (PST) X-Google-Smtp-Source: AG47ELvnb2vm1gIkwDY/uUiQ6V6JJEpEfIvrxV6RZnkpsJn9uFmmpiuUh6kNVDkOUIK47vYrNO5e X-Received: by 10.99.113.75 with SMTP id b11mr1064798pgn.271.1519897750530; Thu, 01 Mar 2018 01:49:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519897750; cv=none; d=google.com; s=arc-20160816; b=F4brI/zxIvnXOHKmIAkSH/Q30wMLEvkXFIY2s1GlwEoRcoeUHEG02xxtazljoztP9Q /NXd/aRQ1H0gJ+KsbnFfefvGxpvcz4oFRuHc9tnME0KpfUMwB9AMPDMxQv30ne5L11xq 83fGckY/vU4ePNV6Ul3avWLqDiN/IwF4UOnF5/5qc/m77JlGLGXgBVSyZx+ieA9DRGO0 +1+OrFg5gjfN++/N1Cd+3L9bprz3wZYgq/w3EC9cEbX6ptRaCpyscJ2KeR/iPn7XQc30 FtuSxj04zH7e6Wyc2hiSDuyZvoRVzdRpTsvTUGJo7wIdfE+FFuAqd+D8aS3OXKd/+0PN WOrw== 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=YgsT1bSTP+V+99WiuwPCTzwIUpa33Xm/rEXx1B8QGPE=; b=FuXQSrjfPO0P3SJxii1WM0waXBUbt0IQH/JJd+6go51UF6RdbQKfWQ4RKtt4i9T7Oo PccsKaJBqv0+kFQoA1l6+C6eARuk2B0oy3n88jfqkqSpSs9c08PR5lv/D4ziXCUJCua8 kJOi/747E6lejPLyUwF2EKVFJA232vL/Bxxzava0pjwoNC9fDmUQJPmyQFTlTMeDr49Y BI59JzcJyyotJXEc5k7eXQwndcFtgOx8bw9U1uaoTn8+k6uSEIrG2KWYurdp7oSIEJ6O +GfDpUjASwK0iysFiCwUIv2K6CyfTXQi0AJuT0cIkely52d1VSlIkBLhaskojhJXH/Xs Y91g== 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 h32-v6si2821329pld.217.2018.03.01.01.48.55; Thu, 01 Mar 2018 01:49:10 -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 S967239AbeCAJq6 (ORCPT + 99 others); Thu, 1 Mar 2018 04:46:58 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:17643 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967169AbeCAJpR (ORCPT ); Thu, 1 Mar 2018 04:45:17 -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 w219iEoE028512; 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 2gaxpwrhxe-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 B6AC631; Thu, 1 Mar 2018 09:44:25 +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 97CF725F7; Thu, 1 Mar 2018 09:44:25 +0000 (GMT) Received: from localhost (10.75.127.44) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 1 Mar 2018 10:44:24 +0100 From: To: , , , , , , , CC: , Patrice Chotard Subject: [PATCH 2/6] ARM: dts: stm32: Enable sdio1 for stm32f746-disco Date: Thu, 1 Mar 2018 10:43:37 +0100 Message-ID: <1519897421-23803-3-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.44] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) 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-disco board. Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f746-disco.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/stm32f746-disco.dts b/arch/arm/boot/dts/stm32f746-disco.dts index 623b6f2bc361..ab65f812e8ae 100644 --- a/arch/arm/boot/dts/stm32f746-disco.dts +++ b/arch/arm/boot/dts/stm32f746-disco.dts @@ -44,6 +44,7 @@ #include "stm32f746.dtsi" #include "stm32f746-pinctrl.dtsi" #include +#include / { model = "STMicroelectronics STM32F746-DISCO board"; @@ -76,12 +77,30 @@ regulator-name = "vcc5_host1"; regulator-always-on; }; + + mmc_vcard: mmc_vcard { + compatible = "regulator-fixed"; + regulator-name = "mmc_vcard"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &clk_hse { clock-frequency = <25000000>; }; +&sdio1 { + status = "okay"; + vmmc-supply = <&mmc_vcard>; + cd-gpios = <&gpioc 13 GPIO_ACTIVE_HIGH>; + cd-inverted; + pinctrl-names = "default", "opendrain"; + pinctrl-0 = <&sdio_pins>; + pinctrl-1 = <&sdio_pins_od>; + bus-width = <4>; +}; + &usart1 { pinctrl-0 = <&usart1_pins_b>; pinctrl-names = "default"; -- 1.9.1