Received: by 10.223.185.116 with SMTP id b49csp7278230wrg; Thu, 1 Mar 2018 02:57:43 -0800 (PST) X-Google-Smtp-Source: AG47ELsUVfz1aLR613KPmL7zGvoOo9fXlRo4pufcKBVnnLzdPDp21jOQsexRaZYs1m6MOkuITrWQ X-Received: by 2002:a17:902:bf44:: with SMTP id u4-v6mr1526078pls.68.1519901863117; Thu, 01 Mar 2018 02:57:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519901863; cv=none; d=google.com; s=arc-20160816; b=W7cI8X4XNadCVWJnadUNpVswb3d+Ty3IUyQdyy7PydN4rv/GSxTSuIQBwzu82++kez pIPz55Dj1QjAKYBoMHsm3/ftE3iiDgPwLyNb01sm22sZLzZmtsDhtfl+odr4yySU4+Cs Foyv0ndVTvw34EOCfwjHnEQoIsd5Ohob0d8dJZRfBcZlZKbrzW0A+IAW7ogLGaeDCg6P 6vc/dJjBFOVhDHBHA7TGp0dccJNfrTOhj3cKBMUEcTEXL5CI7KLrUU2vt45pA7DXSx/p nbLZkZbtkgR+SKBndflO7l+TwkzNRujiICXhyBCneg48T4TIKtHEdBiuufPSM65sRDrG sKdw== 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=wr3334ip3nvLLjwPbLhPwCMDmFZXuuDIA/kt5uLskEs=; b=d5yw2Y6818s6tmDNA2FED1tlYgMsBSbTGFG644DS+Da/MBAR1J+7JRpu1pP4g6q25D 6DWg2X/wp/Q9vmwvNnRQzSmvQawwHEYg6bQlU/e0Gl140lizyceHyr8Xp+GyjY+9nPRT RZPX/Tx7Mkqfk6uetyIMMj+Ie0832ulpyMN085qsWsk+P9s0b3lKM9cw2l82uc1CBwZ5 S/A/LiPPMICMeJ1PS90UWbxqzGucvxw2T/zOl3+IQwknE8JRU+k1bkPsWJQAuXfAYQto zvnvnPNrd2vxgsOIFs2X9r9yFQ4xWGhA1GB6AcZUVgQEsT+UKw8y7wtspiS8tBMMJu4Y Yo6A== 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 o33-v6si2874644plb.772.2018.03.01.02.57.28; Thu, 01 Mar 2018 02:57:43 -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 S967691AbeCAK4F (ORCPT + 99 others); Thu, 1 Mar 2018 05:56:05 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:19130 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S967068AbeCAKyX (ORCPT ); Thu, 1 Mar 2018 05:54:23 -0500 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w21ArhE6002491; Thu, 1 Mar 2018 11:53:49 +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 2gax28t222-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 01 Mar 2018 11:53:49 +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 007F53D; 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 D5DE72893; Thu, 1 Mar 2018 10:53:48 +0000 (GMT) Received: from localhost (10.75.127.46) by SFHDAG6NODE3.st.com (10.75.127.18) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Thu, 1 Mar 2018 11:53:48 +0100 From: To: , , , , , , , CC: , Patrice Chotard Subject: [PATCH v2 4/6] ARM: dts: stm32: Enable sdio1 for stm32f769-disco Date: Thu, 1 Mar 2018 11:53:41 +0100 Message-ID: <1519901623-23216-5-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.46] X-ClientProxiedBy: SFHDAG7NODE1.st.com (10.75.127.19) 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 stm32f769-disco board. broken-cd property is needed as it misses a pullup on board (resistor R76 is missing). Signed-off-by: Patrice Chotard --- arch/arm/boot/dts/stm32f769-disco.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/stm32f769-disco.dts b/arch/arm/boot/dts/stm32f769-disco.dts index 9dba286c6d2f..2d922b5d4766 100644 --- a/arch/arm/boot/dts/stm32f769-disco.dts +++ b/arch/arm/boot/dts/stm32f769-disco.dts @@ -44,6 +44,7 @@ #include "stm32f746.dtsi" #include "stm32f769-pinctrl.dtsi" #include +#include / { model = "STMicroelectronics STM32F769-DISCO board"; @@ -62,6 +63,12 @@ serial0 = &usart1; }; + mmc_vcard: mmc_vcard { + compatible = "regulator-fixed"; + regulator-name = "mmc_vcard"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; }; &cec { @@ -74,6 +81,18 @@ clock-frequency = <25000000>; }; +&sdio2 { + status = "okay"; + vmmc-supply = <&mmc_vcard>; + cd-gpios = <&gpioi 15 GPIO_ACTIVE_HIGH>; + cd-inverted; + broken-cd; + pinctrl-names = "default", "opendrain"; + pinctrl-0 = <&sdio_pins_b>; + pinctrl-1 = <&sdio_pins_od_b>; + bus-width = <4>; +}; + &usart1 { pinctrl-0 = <&usart1_pins_a>; pinctrl-names = "default"; -- 1.9.1