Received: by 10.223.148.5 with SMTP id 5csp7540885wrq; Thu, 18 Jan 2018 06:42:04 -0800 (PST) X-Google-Smtp-Source: ACJfBotiQPhAehuKE9YXMR8UwPK3rxVPah1J9Gh19DW1zVIH6e0fI5mTdhAyogbBaXKV5Sk2Lvvt X-Received: by 10.99.9.67 with SMTP id 64mr35329766pgj.257.1516286524799; Thu, 18 Jan 2018 06:42:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516286524; cv=none; d=google.com; s=arc-20160816; b=PiUK9cCjLqGcVD2KnuwQ/HL2EAIT2MToXOvHJvNubJtTvZBR4QcJGDMBI0P32CYev7 ACKBNrDXZMw0hvvCPnR6XvE5vE2VLL64C0mAHCaSG6l1eKo8Bl74rAmUpcgRd6/Zb8Tb azGXCCWS4gdHODU8JgZ10eecNIOfo7Z/ezybnk4myxFCUqnFWwAs7OxOtpu+K+AIsWCK sSh9W7Aciqs4enFx2fk3mPNXx94eueLdwnx7wXHD/oDLq7hdFI+pmRIIfjBWXo1K9zN+ OMwTnynHq0DJ8kSfNem7uxXmaaULIfN0SB00WlyLNobfnc2pUpvvihVLNBNuK1Z8Id6e paMQ== 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=5pDT21q4pdRK609B3AafBc3CM3dFV5nNc/hdiYKvlik=; b=gX4KMqQyWWBqMOPTFJ2R2PxsoKijm6GkFFS/oICrYZ7NlsmYnyxNlb0RTeheMluiCC HEI2QAFVWyrWrfuW1qK+awJYJVVaoBjZb+rwQ1NbG3wYA6Bs/5YlcfTOej5NclvZE3AZ 2DfGghGXJKlJm2uNPTmEnzhxEuJbbhapmqzmtmlAuJ1Nwz2JJmjxt5TG9nuqGuaGEGqe 4FcqmsdUxu3UddhuUkr5cVMlGOApa/PCVTdDBvLLbiqgtUV4FMNldUofEwXavuPDP7qB vuMIlUUPfd7z87E0k3KV4Cjp7aHxoo7lMtRkMM2DK3EhGLtxVuvAfF9TaibVUQrJ79pO rIhw== 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 q7si6259102pgc.226.2018.01.18.06.41.50; Thu, 18 Jan 2018 06:42:04 -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 S1756643AbeAROkV (ORCPT + 99 others); Thu, 18 Jan 2018 09:40:21 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:45293 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756535AbeAROf5 (ORCPT ); Thu, 18 Jan 2018 09:35:57 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w0IEYUrF028883; Thu, 18 Jan 2018 15:34:58 +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 2fgyacvxsf-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 18 Jan 2018 15:34:58 +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 E15C531; Thu, 18 Jan 2018 14:34:57 +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 A56732646; Thu, 18 Jan 2018 14:34:57 +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, 18 Jan 2018 15:34:57 +0100 From: To: Russell King , Ulf Hansson , Michael Turquette , Stephen Boyd , Linus Walleij , Rob Herring , Mark Rutland , Alexandre Torgue CC: , , , , , , Andrea Merello , Patrice Chotard Subject: [PATCH v3 09/14] ARM: dts: stm32: Enable SDIO controller on stm32f469 disco board Date: Thu, 18 Jan 2018 15:34:25 +0100 Message-ID: <1516286070-24927-10-git-send-email-patrice.chotard@st.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1516286070-24927-1-git-send-email-patrice.chotard@st.com> References: <1516286070-24927-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: SFHDAG7NODE3.st.com (10.75.127.21) To SFHDAG6NODE3.st.com (10.75.127.18) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-01-18_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Andrea Merello This patch adds SDIO-related DT nodes required by stm32f469 board There is a hardware issue on these boards, it misses a pullup on the GPIO line used as card detect to allow correct SD card detection. To allow correct card detection "broken-cd" property is used. Signed-off-by: Andrea Merello Signed-off-by: Alexandre TORGUE Signed-off-by: Patrice Chotard --- v3: _ none v2: _ none arch/arm/boot/dts/stm32f469-disco.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/stm32f469-disco.dts b/arch/arm/boot/dts/stm32f469-disco.dts index 318fb12..ebb97c3 100644 --- a/arch/arm/boot/dts/stm32f469-disco.dts +++ b/arch/arm/boot/dts/stm32f469-disco.dts @@ -66,6 +66,13 @@ serial0 = &usart3; }; + mmc_vcard: mmc_vcard { + compatible = "regulator-fixed"; + regulator-name = "mmc_vcard"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + soc { dma-ranges = <0xc0000000 0x0 0x10000000>; }; @@ -120,6 +127,18 @@ }; }; +&sdio { + status = "okay"; + vmmc-supply = <&mmc_vcard>; + cd-gpios = <&gpiog 2 0>; + cd-inverted; + broken-cd; + pinctrl-names = "default", "opendrain"; + pinctrl-0 = <&sdio_pins>; + pinctrl-1 = <&sdio_pins_od>; + bus-width = <4>; +}; + &usart3 { pinctrl-0 = <&usart3_pins_a>; pinctrl-names = "default"; -- 1.9.1