From patchwork Mon Oct 2 17:13:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Wolsieffer X-Patchwork-Id: 147404 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1590791vqb; Mon, 2 Oct 2023 10:49:30 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEO3u+SmCCX5vgnmkpyC2elOjl0Uw2zvOOYWhq4OjdKwlATVJwXzwnLgToKsUy+l2h8Co+O X-Received: by 2002:a05:6358:418c:b0:139:a45c:32b2 with SMTP id w12-20020a056358418c00b00139a45c32b2mr14523591rwc.11.1696268970495; Mon, 02 Oct 2023 10:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696268970; cv=none; d=google.com; s=arc-20160816; b=U+aCeqEnH1Yi9tQkL2ndiK6s0z7gwPtKDg4syBwahNpsM+XVOiwK+aHpiQCvKAQ2aO 1D2nC1kALSeZapYd/JyT3tPy4/StMnu7JKw5BjjbPQzM/0a9Km7i1KKjaSZq7L2u9Ph8 nTBVCRtKfNDS1mit0sMny3FRS6BPpDR8Wkc7AFW80041Otppa4tNMFFBPilmQvZFi9lz W/keRbzIZYSNmgqQyZw3njK+zaQ2xgubIreoJqwopqgG0xaRtL1NODx6JlGfz05KIjko Gyd6Na5rcGVfQDI2cQfkdRbbz8fNvA48y/U2bEbzFZUuUyZNwdK8ML4YtLAT0hcGqGW3 5n8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+Mtj4NCPRxZ6VOa3hAfKfXCzeZnGQjZkkPegFeXl3ak=; fh=FpCq7zh6jbkt70pEfW/LxaGWlTGlY6Sv788cLri+Ia8=; b=qzWcpK/lMI62a8swicKCfFnh/C397PmVgHR/ofWpkNDcKe+3sPirFXDHhTaSOWqzQJ 0xm4geVE1utaQEKhc6FDSjYEHp4qr83LSBd6FWaQ7Tcv38na6j6aQl1yhj1gPalxR3mh haX2bDGh4fXr8o3E6+6Dv5mekGsnMXr4MpgxlGmVxuItuSAyLNuvJVlzV5bHeR28+1sq AlBUiuwgM7pXHqEAPpcGrkVI3t9LwDOaJ+Fe8yXkC1/yRu928wgKW1mi52WZ3MeuxL5A yFHU+Va7rVYGcl5u9dJyI+7iZetcrbEMx8q7TSn3A6TI19SNKrDftURmyoFq/mxP293n oCTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=dcBt5dq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w29-20020a63161d000000b005702257f32csi27126572pgl.840.2023.10.02.10.49.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:49:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=dcBt5dq4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 5711F8031C42; Mon, 2 Oct 2023 10:14:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238692AbjJBROR (ORCPT + 18 others); Mon, 2 Oct 2023 13:14:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36098 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238688AbjJBROP (ORCPT ); Mon, 2 Oct 2023 13:14:15 -0400 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 17A5FAD for ; Mon, 2 Oct 2023 10:14:12 -0700 (PDT) Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-4542d7e9bcfso11776137.3 for ; Mon, 02 Oct 2023 10:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hefring-com.20230601.gappssmtp.com; s=20230601; t=1696266851; x=1696871651; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+Mtj4NCPRxZ6VOa3hAfKfXCzeZnGQjZkkPegFeXl3ak=; b=dcBt5dq4PmXpgwCWCtvzziGiKdoAEkVeOXd9VspMbpP8IkbsSSzzu2iHhiTEnrrdVv +pEJ5lZG0BbWwwAqA/8hjVy3mgvLUVvuTQyxlC1KM6ha8mUVopN9WHev8H1s6JGORj8V gstip1+CgTy6eIxNp9cQ7gTpzxzFa81RHyfMaC4GM7mThKJGFztUhG7RH6JO8xrAAhxN /TP1eSfxO9WXkJND5KtHW4VZLv9CZ8Ovnj9ga35Svm6DX5FBIONpJdd/8VMviasTGqIi Qz7VoQjn3El8RTPnyOHtIU4hVS73cCislSYskBuCLPBtexiG1wUNrcEmnIgCWeUAH3a/ yuLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696266851; x=1696871651; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+Mtj4NCPRxZ6VOa3hAfKfXCzeZnGQjZkkPegFeXl3ak=; b=YMGskO30q9cm1fDkz51tYfrIw97blpJ4TBxLl7kscGNKBXmS4QIN44e2rVdDfI/WOv SPK47HrQ5qkcXLutXGINzskKbh6/TM+RB4q+UpJZPtvoFJHfqvIspJS61b3P/fkrVt42 eOMdcGJKRBB8+NQpPSQmYumRa0TRJYrXzq9sVk4eUEfiDnv5DkafPvN7nTf6SiYr9/qd dEKISiMxH4iy1KKzo7iGRfjSgkOjW7FGBUBLgfi4QJDfYtGb/YwyI0E0ghZdjQ3TVhGn AajmqlOhJExmoXoOWcHzCbN2a4ez5AfOe1IdZ65TNmdIHR5aoQgylI3Y3cOvIHbq82r9 faQg== X-Gm-Message-State: AOJu0YySKKCQ64rO9OrdxVdD6fwmiOfo8uKEngQtTxsISf4/0EVB50Jy VlWlHeHGsUCMcx4X5I2rL07f4A== X-Received: by 2002:a67:e8d0:0:b0:452:8717:1fa3 with SMTP id y16-20020a67e8d0000000b0045287171fa3mr10481368vsn.3.1696266850932; Mon, 02 Oct 2023 10:14:10 -0700 (PDT) Received: from localhost.localdomain ([50.212.55.89]) by smtp.gmail.com with ESMTPSA id dy52-20020a05620a60f400b007678973eaa1sm9132660qkb.127.2023.10.02.10.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:14:10 -0700 (PDT) From: Ben Wolsieffer To: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Ben Wolsieffer Subject: [PATCH 1/2] ARM: dts: stm32: add stm32f7 SDIO sleep pins Date: Mon, 2 Oct 2023 13:13:38 -0400 Message-ID: <20231002171339.1594470-2-ben.wolsieffer@hefring.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231002171339.1594470-1-ben.wolsieffer@hefring.com> References: <20231002171339.1594470-1-ben.wolsieffer@hefring.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 10:14:18 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778666931748347959 X-GMAIL-MSGID: 1778666931748347959 Add SDIO sleep pin definitions that place the pins in analog mode to save power. Signed-off-by: Ben Wolsieffer --- arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi index 9f65403295ca..26f91ca0d458 100644 --- a/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi @@ -253,6 +253,17 @@ pins2 { }; }; + sdio_pins_sleep_a: sdio-pins-sleep-a-0 { + pins { + pinmux = , /* SDMMC1 D0 */ + , /* SDMMC1 D1 */ + , /* SDMMC1 D2 */ + , /* SDMMC1 D3 */ + , /* SDMMC1 CLK */ + ; /* SDMMC1 CMD */ + }; + }; + sdio_pins_b: sdio-pins-b-0 { pins { pinmux = , /* SDMMC2 D0 */ @@ -284,6 +295,17 @@ pins2 { }; }; + sdio_pins_sleep_b: sdio-pins-sleep-b-0 { + pins { + pinmux = , /* SDMMC2 D0 */ + , /* SDMMC2 D1 */ + , /* SDMMC2 D2 */ + , /* SDMMC2 D3 */ + , /* SDMMC2 CLK */ + ; /* SDMMC2 CMD */ + }; + }; + can1_pins_a: can1-0 { pins1 { pinmux = ; /* CAN1_TX */ From patchwork Mon Oct 2 17:13:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Wolsieffer X-Patchwork-Id: 147481 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2a8e:b0:403:3b70:6f57 with SMTP id in14csp1705347vqb; Mon, 2 Oct 2023 14:39:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFxAqU5LMXZ0h/ymFNSScWkS43+1uzGW+9dE+hf94qrXW4tt+3ESOXFisX+DZmUMGDLv2d5 X-Received: by 2002:a17:903:278f:b0:1c1:e7b2:27ad with SMTP id jw15-20020a170903278f00b001c1e7b227admr10143085plb.60.1696282741607; Mon, 02 Oct 2023 14:39:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696282741; cv=none; d=google.com; s=arc-20160816; b=A7pUtE/YbxfTzekU0H+1fUmt5At/yqb5xYGWJeqn4QCIb2WIqUxfpSAeAJlc8jdQya NPqzyWTRLPdEjzOd9rdOobTGsgy0SnnrnU7Yfuk5d1UVDZwcv/IuoDGD84ObuO+NWAP8 Xx5Cf+83HaCFem4lYCZboiMcrBhT8N3ibRm81f2Tno85lzvacT9Cp4ReF30LRZyWxxLG eIU59KeAsrDOyfNdTdKwCxiGCtwQTcS1So57gHfDDfHw4nX22vF4tgU1yRLGRZlByYiE VIbFu1ZApmhEJO4LSNvRDQvbhlIIzfulu12trn/+HeV1lr9aKRXTRcoFDPT0ctm7dlTS KtAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VNHPyhjdF/EgT+ErFOTgdy7sUGT7qrL3KrhKOabumMM=; fh=FpCq7zh6jbkt70pEfW/LxaGWlTGlY6Sv788cLri+Ia8=; b=wZrmF23qhJ0weU2BvB1uNVJGGbYc5TuubsfOS8wvbE69GN0ND2JcO6FcWN+3tbec/q zEwaA9Cl3c3s5JKdFG+Dttci4VPRLo5ZQ9I5E760WwU3lAjXVpuxmRhqHQ04TAvYWQDZ G93790vpYZ+VtVDvlZx9N2CBxAOXFiBALmq6jfuATbsBC2M8ggPQeAgtTmOafqv0wsmY 0/0o1EpZqsRr2VnxoLrsRyufCD4UtOXR517eWyFNGbkPGWlXZlZfoOG463no1ipqO1eF 12/sw8MmLKslPIPc7smBAdPRy9feCXxj3DzBpjLZMgtQLP3CPv9qQmOoIoG86q+ShZ0R OtmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=3Q7p9Vs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p6-20020a170902780600b001bdc664cd69si26425661pll.153.2023.10.02.14.39.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 14:39:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@hefring-com.20230601.gappssmtp.com header.s=20230601 header.b=3Q7p9Vs6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id B2E8B80C110C; Mon, 2 Oct 2023 10:14:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238697AbjJBROT (ORCPT + 18 others); Mon, 2 Oct 2023 13:14:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238689AbjJBROQ (ORCPT ); Mon, 2 Oct 2023 13:14:16 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F04AEB4 for ; Mon, 2 Oct 2023 10:14:12 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-7743448d88eso1678585a.2 for ; Mon, 02 Oct 2023 10:14:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hefring-com.20230601.gappssmtp.com; s=20230601; t=1696266852; x=1696871652; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VNHPyhjdF/EgT+ErFOTgdy7sUGT7qrL3KrhKOabumMM=; b=3Q7p9Vs6ZUAhXoLxBH4lY6C8TpXPwgB6/rLWkRUx1+uT6oD1C5uvWxOI26GF4jbKuP wY0WoaiapG7xc476R9laabv9BmPsjXF5CbCWAk11qexHyHWOmejzQJ+dmOntlCdcZxyp 3a7Fk7KWzT6K4hZkpNy+bDpIRwVtwYoVGIZsawEgwXM4N90cHGuskIDt9jch7dTRpjqY QAtEHJPC4q6ODZJYN2VrddL4J1tMUtv18IIhawSWddU88iJTxHN3bABsL6KcWXEK2XTH 12aiCNx660077jS9+gx733S+VOu67sSA7Q9EsY+dp0eAzMxaER9GJkpH5rGKim46Sed1 ePOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696266852; x=1696871652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VNHPyhjdF/EgT+ErFOTgdy7sUGT7qrL3KrhKOabumMM=; b=AXRt45O05rDV0l03neChim8dFRt9F/VUys7quGvJQbpRpoQvntzLu9zM5TTP0Onr3G WONq8JCu48dCW2GV0eAHFWj+XXpL6aC9hB7sMu3uk4ZKP5HtG3POGRt4JB99VAE3mDtJ i6bgvcPM7ufyHrDyMxe97OLapM0sQwIf7KEjoq9UX1Gmu2Tfj1wUISI7h/St7PUBU0pE 3bAQ3YQDGPCDN2iC6KJa5l9IBXPduJZhL5INbppxoRKBSbTMkZ4cafIiMQhSq43r7BpW lm2QmEKMZO+N3DJy6kjOSxcM5Xs14boSaOzy1+HzWJHhDtZcKHxmhdRZezqr2qbP5oIE 1bTA== X-Gm-Message-State: AOJu0YzuY5W9R3T+STW7/wNl6OITf1VnW+H+/hiXdq6pMfk7eqhc6trz P2G4s6GWiTz8fEwskh9DrWdC0Q== X-Received: by 2002:a05:620a:25ce:b0:76d:2f15:56a9 with SMTP id y14-20020a05620a25ce00b0076d2f1556a9mr12871693qko.31.1696266852065; Mon, 02 Oct 2023 10:14:12 -0700 (PDT) Received: from localhost.localdomain ([50.212.55.89]) by smtp.gmail.com with ESMTPSA id dy52-20020a05620a60f400b007678973eaa1sm9132660qkb.127.2023.10.02.10.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Oct 2023 10:14:11 -0700 (PDT) From: Ben Wolsieffer To: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Ben Wolsieffer Subject: [PATCH 2/2] ARM: dts: stm32: add SDIO pinctrl sleep support on stm32f7 boards Date: Mon, 2 Oct 2023 13:13:39 -0400 Message-ID: <20231002171339.1594470-3-ben.wolsieffer@hefring.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231002171339.1594470-1-ben.wolsieffer@hefring.com> References: <20231002171339.1594470-1-ben.wolsieffer@hefring.com> MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 02 Oct 2023 10:14:21 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778681372209494651 X-GMAIL-MSGID: 1778681372209494651 Use the new analog mode SDIO pin definitions on the STM32F7 boards. Signed-off-by: Ben Wolsieffer --- arch/arm/boot/dts/st/stm32746g-eval.dts | 3 ++- arch/arm/boot/dts/st/stm32f746-disco.dts | 3 ++- arch/arm/boot/dts/st/stm32f769-disco.dts | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32746g-eval.dts b/arch/arm/boot/dts/st/stm32746g-eval.dts index a293e65141c6..e9ac37b6eca0 100644 --- a/arch/arm/boot/dts/st/stm32746g-eval.dts +++ b/arch/arm/boot/dts/st/stm32746g-eval.dts @@ -188,9 +188,10 @@ &sdio1 { status = "okay"; vmmc-supply = <&mmc_vcard>; broken-cd; - pinctrl-names = "default", "opendrain"; + pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdio_pins_a>; pinctrl-1 = <&sdio_pins_od_a>; + pinctrl-2 = <&sdio_pins_sleep_a>; bus-width = <4>; }; diff --git a/arch/arm/boot/dts/st/stm32f746-disco.dts b/arch/arm/boot/dts/st/stm32f746-disco.dts index c11616ed5fc6..b50461d676a7 100644 --- a/arch/arm/boot/dts/st/stm32f746-disco.dts +++ b/arch/arm/boot/dts/st/stm32f746-disco.dts @@ -103,9 +103,10 @@ &sdio1 { status = "okay"; vmmc-supply = <&mmc_vcard>; cd-gpios = <&gpioc 13 GPIO_ACTIVE_LOW>; - pinctrl-names = "default", "opendrain"; + pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdio_pins_a>; pinctrl-1 = <&sdio_pins_od_a>; + pinctrl-2 = <&sdio_pins_sleep_a>; bus-width = <4>; }; diff --git a/arch/arm/boot/dts/st/stm32f769-disco.dts b/arch/arm/boot/dts/st/stm32f769-disco.dts index b038d0ed39e8..5d12ae25b327 100644 --- a/arch/arm/boot/dts/st/stm32f769-disco.dts +++ b/arch/arm/boot/dts/st/stm32f769-disco.dts @@ -131,9 +131,10 @@ &sdio2 { vmmc-supply = <&mmc_vcard>; cd-gpios = <&gpioi 15 GPIO_ACTIVE_LOW>; broken-cd; - pinctrl-names = "default", "opendrain"; + pinctrl-names = "default", "opendrain", "sleep"; pinctrl-0 = <&sdio_pins_b>; pinctrl-1 = <&sdio_pins_od_b>; + pinctrl-2 = <&sdio_pins_sleep_b>; bus-width = <4>; };