From patchwork Mon Jun 8 14:20:28 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4711 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 78A413FA3D for ; Mon, 8 Jun 2026 16:22:53 +0200 (CEST) Received: by mail-ed1-f72.google.com with SMTP id 4fb4d7f45d1cf-6913c57024csf2617592a12.2 for ; Mon, 08 Jun 2026 07:22:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1780928573; cv=pass; d=google.com; s=arc-20240605; b=LKkTiEGjpwXevxG6DAvkY+pyjl66ImYqhnlnUxl++o08GZju4cXoiKhGkmHA0Y75/G p68nXYkoqUd55vpoW3NMhDHy4CcvPp6vRQyIAWPGEVeapFab28q+cEkRcfY4iJ1fLyFy osM67nu13pmrUBXjEK5sx4PZt5bOavVT3uxCxkAeBObwrCSfsCeJqqY1LC+c5HQE19LR kt7k/dzoSmmCDVNHOWFIoLeVhUfsu5pOhv6w17m4UaAENLaxtO5LWzXlx1OGH1lXMkZc 5JxGJODvE0rbmRsHvLaYYbuQpt3dC76GtO+ALcfY+8gjWmhwkZzQ5z8juJH/jO2/WCrQ Bi2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=mWzunrFgp1hE1VZAtkf0xVsoIOjEYrUvx0AeB+zWTcs=; fh=JozifW1uL4ZsFNHTkVrSNdakZnm+2k3Hw2H2tU3kz8U=; b=VvoEK1tx/khlaP7sQpKQ4a9Lf+x8cB/xqH7fKiHFWLeaWs0nxvMqSnYco3hxGx/UEn EuLXaYKt6ES1Kre2lpPOtuGnCh94dqTZANcJOEgrHvNnZcNdzGO27UEuW4doEGpf5ClB N0kAVM4fnGflUth8jMttGRU5E6OSg19ngSqHWzKjKdmrzc4449xJ8U9nu7sjW5Bk5lxv Vlrifec2ZBlnol/e2Gy06VfxS9UCn2mPdpriROfTU5vq6pXXKkIH7RyWogebU8VzvJN8 MMGVy24YfvZr5bwJPVqtmAbALdaPJYIupfN+KMCZmEDzTpoe+KnMMHzvnpPvF5vkJpNC sB3A==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IBGloigO; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1780928573; x=1781533373; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=mWzunrFgp1hE1VZAtkf0xVsoIOjEYrUvx0AeB+zWTcs=; b=a6DgziUUgtTs2rQxOj6hqSgkx9TbG3dldVZ1XO14Octly+pP+4tIN5ga8OzbKjuWRV OLW1VIPCEyRKLl6gK1SxSfT68PAcTakVnZ3MiAxHQrGnPh6S0j9cjpFigXz/48W+7+Qx wk3wCHGG++t+QToip6W4oCa92Q0kjpTJe1MIQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780928573; x=1781533373; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:x-gm-gg :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mWzunrFgp1hE1VZAtkf0xVsoIOjEYrUvx0AeB+zWTcs=; b=SGylObJowMFlclvihJ/urap26S/vsmb6/8laSiXeYlgpcTVlJOCeVInDFDe/1RNdc9 8O1Q514IG0cEnrLWVJzTcIiS/yaC9EfI3VmWLQWeCMBJ0JLMv3204Vfw8nrOprmVLDY/ gjsbQ93wtls8+Ht1p4ZQ4FqJN44HMeaK95WDDUk4ofzB5RmIgtQS+ze7iXbStbk5zsch c9oRO88LmzO/3ZoKYulhs2epSoVXZ8jXj7JfYU4SOz3dK/86Fn+y5ceZ89tpbMKk7BKG PgjSf9thv+CYDmHyMzLY116ft2WUq+Gr8fZwWwVMkZhjl6xwkDEELrvgqFuBMUisYEiO FaMg== X-Forwarded-Encrypted: i=2; AFNElJ+oS4sCtx+8Vijsh1QoCM3mMkdEV+1zQa31frfVCIRhtS1SR3NoYZwJ5cKPCYFiNJbghTN02fnN/pbVnvih@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YxkjbN5+Ij4SFxdfvfWia87Fg8mdh8GPP6qylx+J7h2L7EW9tPv U1EbKjnJeTyeCAHYUD8XsBRrOhtp78PY7Lg7TcCF3qFq8n7iw8HwB1alTM8sc84cD/S0eg== X-Received: by 2002:a05:6402:d0d:b0:67c:6836:7b0a with SMTP id 4fb4d7f45d1cf-68fa525c09fmr6671161a12.23.1780928572999; Mon, 08 Jun 2026 07:22:52 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h="AX0PUUe+20FoVMaDfYPiXp+26rhfYzK7syuxGc09h3btzfx6Zw==" Received: by 2002:a05:6402:a511:10b0:691:b253:b6db with SMTP id 4fb4d7f45d1cf-691b253b87dls978712a12.1.-pod-prod-08-eu; Mon, 08 Jun 2026 07:22:51 -0700 (PDT) X-Received: by 2002:a17:907:abc:b0:beb:8c28:254 with SMTP id a640c23a62f3a-bf36d2c26e5mr548563066b.0.1780928571140; Mon, 08 Jun 2026 07:22:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780928571; cv=none; d=google.com; s=arc-20240605; b=g/pjM0bfWWRJ3OT2954XmkoxxH1A4eP0oUQqzEKEl6pnrSkjcJuIYO2+648mY+37fp idII7ILXLn0VoEhE+SNXogfC6iZSDvoM7j0ZETJpjlBcZiNL9x0CC5p3gkhKtljT5BVy Cqf9HsjHUDtIVChelVxbTFClw+xgP3fZYf94/DL1Z7o3xV5WXoZsNPrd26OApu5eWNDD 5rkk3FDuFYB3GPckhGl1IDtJXxMrUhZajMFw9YbvZ/NNMneCj3j1iS3VCCIosgwiv8+C 37zeu3lNH04Y8sKTtli6ujaUy65jhMsS5btIpTFIIfWZk52rDgPIyAoMKgNsXQNcXjqw g/Ww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hXhCAfGf0Dhrwl1fYtWsjCC+QRGfLFtW6oj0NY7CcVg=; fh=KLjyWajN4ygE6W4AxC3NsR1dD7rO5ylDUmZoAe24rO4=; b=VtZpnPczmyJpdxE9wwpeJCpDOjpsU0nOVwwu6qpRDc6XCFqgzfI2y6nl0nwnM1K8Es LuHiuVA6NPW1hlweeMRIHuNhBc0FpOmPAiLgYU22V24jkf+3Vj6NiefPaJTO/KmPH7i7 wCM/Q/HYoKjgLh3Z123mdL/Epf8rHpoRVvvumrR2TFOdPIGF1d+39HzelgUxo5x87VSJ enRe08lSG+9UTVQoCrg+8g4eSILWyK7bBCq/+QAvgXaOnDxpWbraqjnwcIXXx12yVgaG ROin/omgcofjX1WRpYqxeBhbGcMzkwsNf83GNL6nSyxIQXZF0V2SlMPnqagqCge6oXNQ 1jVw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IBGloigO; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id a640c23a62f3a-bf076404521sor411350066b.5.2026.06.08.07.22.51 for (Google Transport Security); Mon, 08 Jun 2026 07:22:51 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Gm-Gg: Acq92OE+Qbcdz3VUPxZXaF71VNT+gqEstzqBUoEcoCoDPGZJcd716IRp5+bGBzreYlw j66pm69trvDa7zMqZHtXMe+YT3kgJlvNjTSeVsHFCMaKq3xCu/T62Q9K5fRqXKuaCu1ypWSUvpL A0oa45VTpL22Y3INVJAIgHh2hamNXKq1ouIciDWys+AdLRr1xHLDVZvINhUPmyn4ZmUci2RZoMf 71/mYpk47vWGwLRy5zk3Ihr4+VXkWzhMi+axv83wx2qaNJtxnV4DrSYbTk4//opNp6gOnIeKtu7 DpLtCgmnojMdun2vWfKF8MajwHc5y/8mXq27Y529aVJNcnqHh/2ZVOzdQ8yB8KVNpS+TOE6kczK T//QZQh9rO1+h5qS6M2o6rvjMwKgJYTZL6DzsXqKTjWWLP1QVdKGcq8Arrj6GdkW2E5Xc34YLsf KJoFmWH4222czVWLJPXD6o82RVS7CWqKJG0HHyhn/L2U2Abz9LAG8xQW7NUIqvsP4M/rNJTaRT3 TSQV8nwbWp5SVJ0E+H8mYkxXgZ+NxyVKtXlW3u2viW9S6rttPpoVXrBZUY= X-Received: by 2002:a17:907:944e:b0:bed:a213:a89b with SMTP id a640c23a62f3a-bf372c31d24mr774338266b.37.1780928566673; Mon, 08 Jun 2026 07:22:46 -0700 (PDT) Received: from dario-ThinkPad-P14s-Gen-5.amarulasolutions.com ([2.196.42.139]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-bf055307a35sm881847066b.52.2026.06.08.07.22.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jun 2026 07:22:46 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: linux-amarula@amarulasolutions.com, domenico.acri@engicam.com, michael@amarulasolutions.com, francesco.utel@engicam.com, Dario Binacchi , Alexandre Torgue , Conor Dooley , Krzysztof Kozlowski , Maxime Coquelin , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v5 11/16] arm64: dts: st: add sdmmc2 pins for stm32mp25 Date: Mon, 8 Jun 2026 16:20:28 +0200 Message-ID: <20260608142221.952245-12-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260608142221.952245-1-dario.binacchi@amarulasolutions.com> References: <20260608142221.952245-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=IBGloigO; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com; dara=neutral header.i=@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add the sdmmc2 pins used on MicroGEA-STM32MP257-RMM board. Signed-off-by: Dario Binacchi --- Changes in v5: - Change SDMMC2_CK pin bias from pull-up to bias-disable to avoid signal integrity issues on the clock line. Suggested by Sashiko arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi b/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi index 002fbc724b9d..c816a6aece47 100644 --- a/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi @@ -622,6 +622,86 @@ pins { }; }; + /omit-if-no-ref/ + sdmmc2_b4_pins_a: sdmmc2-b4-0 { + pins1 { + pinmux = , /* SDMMC2_D0 */ + , /* SDMMC2_D1 */ + , /* SDMMC2_D2 */ + , /* SDMMC2_D3 */ + ; /* SDMMC2_CMD */ + slew-rate = <1>; + drive-push-pull; + bias-pull-up; + }; + pins2 { + pinmux = ; /* SDMMC2_CK */ + slew-rate = <2>; + drive-push-pull; + bias-disable; + }; + }; + + /omit-if-no-ref/ + sdmmc2_b4_od_pins_a: sdmmc2-b4-od-0 { + pins1 { + pinmux = , /* SDMMC2_D0 */ + , /* SDMMC2_D1 */ + , /* SDMMC2_D2 */ + ; /* SDMMC2_D3 */ + slew-rate = <1>; + drive-push-pull; + bias-pull-up; + }; + pins2 { + pinmux = ; /* SDMMC2_CK */ + slew-rate = <2>; + drive-push-pull; + bias-disable; + }; + pins3 { + pinmux = ; /* SDMMC2_CMD */ + slew-rate = <1>; + drive-open-drain; + bias-pull-up; + }; + }; + + /omit-if-no-ref/ + sdmmc2_b4_sleep_pins_a: sdmmc2-b4-sleep-0 { + pins { + pinmux = , /* SDMMC2_D0 */ + , /* SDMMC2_D1 */ + , /* SDMMC2_D2 */ + , /* SDMMC2_D3 */ + , /* SDMMC2_CK */ + ; /* SDMMC2_CMD */ + }; + }; + + /omit-if-no-ref/ + sdmmc2_d47_pins_a: sdmmc2-d47-0 { + pins { + pinmux = , /* SDMMC2_D4 */ + , /* SDMMC2_D5 */ + , /* SDMMC2_D6 */ + ; /* SDMMC2_D7 */ + slew-rate = <1>; + drive-push-pull; + bias-pull-up; + }; + }; + + /omit-if-no-ref/ + sdmmc2_d47_sleep_pins_a: sdmmc2-d47-sleep-0 { + pins { + pinmux = , /* SDMMC2_D4 */ + , /* SDMMC2_D5 */ + , /* SDMMC2_D6 */ + ; /* SDMMC2_D7 */ + }; + }; + /omit-if-no-ref/ spi3_pins_a: spi3-0 { pins1 {