From patchwork Fri May 29 14:46:16 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 4649 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id CEF283F09B for ; Fri, 29 May 2026 16:47:21 +0200 (CEST) Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-45ef2bd566bsf447478f8f.0 for ; Fri, 29 May 2026 07:47:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1780066041; cv=pass; d=google.com; s=arc-20240605; b=IByyby8ZV7u1+ZVd3Fn50wtLgJRxJEqNm1sZWF8+F1rwzaZoFSuK2VB07UqAAsSsEz BcIMqlAdX00RzF/+qPOmWycK0t1rgCIrtHRMKtaXSBz5tghAdNGijNRTpVXsFejfwNC5 jZqf/5i4tYCZO0EUl9CaaRAKuMVGtUi7NoXx1MjCtjJ8yvpZH1BKOLdhviq+ns0aE7N3 ML70u6vG8/8TS0PKvMZenaMzHsRPqAuNcoCgyl0ao+ne27ZDDbt8KgktMGJvzd0fT6XF /U+nWsglsZjLJ6q2lO4D+lvBIEASgx5lQqYIeBHrXiGo/EXjWfUBBI1jQx/gEfpCtnIT AfZg== 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=7qrmKfut6PNwar1fKq4Y/stTnn8fEjwBamnBRpqg9DM=; fh=Ka62g2ewrgnxEw10X5F3OCvUjFBDK4yBVl+3q2lFeSM=; b=XlEhowcYuaE+Ito51r1YMSA5BJoRYAnFxuHZpyBV6yry1lw7kAainzUh+d2IT30o4l ta9/BUo8ZsCumpMGCjYLcy1MwQeA4Xt63U7zDhsKoDCulXb2GBfYEc7HZodgWaO8NgT1 7eYfChCYLAZJ0ZOdMdfWiquJyfeIem9bDolK00w8MnmRFa0nqqIdavg/VOtyMRLa4zKB wCCB4vcleIsoHF3Ka5u4++Pu8DMAYMOrS+BN2tsPoAsUPZBme5DmQ80ngKCNjp42jiaN ooNkElmeOL7kc1qm27X4QP9jNWQDU9aRISi5l1eAlKlKAg6PsBWkwulriPS8i04OgYVw NzqQ==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q7SVhlqA; 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=1780066041; x=1780670841; 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=7qrmKfut6PNwar1fKq4Y/stTnn8fEjwBamnBRpqg9DM=; b=IwtMigpjAXf9Pq3C6QuLihB0w+RFRTA3TKYag/0UE89sPCjgJHIEtiJKqF5LB5lgF+ MGwMa4fTblNjKsUfmVgmxBBpJezIkQUvjSYXRCrbBuxsI+6hioTox1R7xa4LkKdDDCu+ MrOKa6iuSzE2nZvBS2J2FjBDf/td7fso4g0e8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780066041; x=1780670841; 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=7qrmKfut6PNwar1fKq4Y/stTnn8fEjwBamnBRpqg9DM=; b=YzcFw4BT6uUjtHcwD47VCEXu+Nsruezgt/vzf8ER/gAgT5IVTAsFktQlA4YHQg2B6+ QuP7ct3Zx6MLrJo2poSLMcOan564hfWVe4v84Knuq2R9Wl0p11SttKrt4Z714lhjulHD JqrQ6oSl6sc0LLItyoeTVQNfLgKLrlEFY5pzp6fiGiMsVNTFJSNRirG67OpJizNAgraP l4+Di+JBVygfHLoYLQE8hsBthmFZLEal9IkDYDGtGp/18Cle0mJLq2qbgqv6sYkYu+Wi fFDwC2vH/vEuBI222SZubX01yDuRK+2XcTAv0EMDcdD9IEYx9xWtR12rvnqkqhzFwTJs UdIg== X-Forwarded-Encrypted: i=2; AFNElJ+vZIWv5KoC6cWYpoSUAy45mMUfhSdOFP02Rys9dCChRKhOIyAF5Jy/zT8m1crp4JucwKBfaLd7ZHAk9+0t@patchwork.amarulasolutions.com X-Gm-Message-State: AOJu0YwQkBL+b8f2NJi350mdk6FbUr1gJ6fakpNbb9t1Km5aSSiI1uBk GecrPRYv6JMJH+JBadgiQd7qHbcL+75QRG2jaBX79kldTBPRf/WFzl4RXStFDoD05K90XA== X-Received: by 2002:a05:600c:4e0d:b0:490:5368:743 with SMTP id 5b1f17b1804b1-4909c0c8fcemr61008325e9.32.1780066041434; Fri, 29 May 2026 07:47:21 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com; h="AUV6zMP+v7bx0ppHF1c+hXfB8nZfyEEWaDaW0h0M3JXpwxRhhA==" Received: by 2002:a05:600d:8450:10b0:48e:8ea0:bda4 with SMTP id 5b1f17b1804b1-4908a289615ls12109475e9.2.-pod-prod-04-eu; Fri, 29 May 2026 07:47:20 -0700 (PDT) X-Forwarded-Encrypted: i=2; AFNElJ9EZVFyU+d4PFhKxQtC+UF9cpO2Eqyc/rsUXYPDNBp9pOEwm/LjaucL1skzEI04wd/K0Q7VGU8ALvW3jDo7@amarulasolutions.com X-Received: by 2002:a05:600c:c48f:b0:48a:5301:bb5c with SMTP id 5b1f17b1804b1-4909c0aa129mr59105645e9.16.1780066039716; Fri, 29 May 2026 07:47:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780066039; cv=none; d=google.com; s=arc-20240605; b=DDLJRF5ylDXcTsHE27q5U4ZMM2AkrR1hG++nONporCtS4WgIAjmsDspAQLnGhY91+y R5YQmmk27O4GR8umwgd72SXFBPOoxXlZgpf4i/JFCyoC42bwIivpTPF8NDupwFDaYANk hCE2f/MLeUfI0M7mUdbi5N/9Kh59PbCk16I9/+iKaqDh4BXJUud3KTPwMMJ11+Dr2dND wdMprEaiZOTxPxQOW4IDnUjBXEZ/7ra1BNnnUmyp4Wn7d6pGChjzvGGWXX2JL9iQpiIb y1UbBir6S2vJlW3ArL4cJVFCShPY20/WJnPs2DM8nn2YqptGWajrPVI56SOAGjWqMUoj GBFw== 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=JQULYkqXtjivJne37GxmOPps34TMKbzDHgmdioeMwjo=; fh=SzBcvSRhzMoXXIokN8LnwLBWrEDv7Ub/3QJorzwzBHw=; b=EQXt9+P02vhIJ1YgqooQCyz4nES8LSCfWU8jMBReMuXmxwyLcDmAnnHpE6bFPaU+Tn gDJVjHiSEJvpuV9/nDuvAe8HdUJbwic036ft+mu9Y97tjaCzi6sORc03ixHQTWMZdgHU FTZ8VUjawH8cEofEjslUEIDXP3VUoIHeIFpO8XQeD4lGLxR/3IVbnkeZ2QaSAIfPnFYR BA5Y+8XMyrQlai2AEJ6pyftEAk6/F7x8jv7la9tvP8lDrfX1zp9HAbac6KFoxRd4JfLv pQgmdRPv3WqC7gv4xajfY5Na4me4PsLU1BOu4pa++pAcP7gQcN7Wv+ktWBsWiz2/EdOi lGkw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=Q7SVhlqA; 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 5b1f17b1804b1-4909d68c625sor2814935e9.8.2026.05.29.07.47.19 for (Google Transport Security); Fri, 29 May 2026 07:47:19 -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-Forwarded-Encrypted: i=1; AFNElJ+vmEmDRZBJj5iF0X3WYiLwyrapyfiROueS2gbWO0Ktpin6V4f4HgiFM18JwXfhOd0WtA70LrC8SZGR2Xol@amarulasolutions.com X-Gm-Gg: Acq92OHj27TOExMQDNtqw9hmcSbUWvl9plfGvFyIXm0k1ot1uq4jmoHptPCIBnImiLS sgbKzJXtxkeiJ7I8NldSJgTTEyPr6b3IdfynqFqfvvpIASQwgEauFxZh8QwVnQ/zsliZHcRk2Nw nnvdgAnjfNbRwngDnrng4tzm1WAB8uHznsmQAbzBpSgfc2UDOKSv+rLzoopvlYBGcpt69MPCA+m 0u6xYOhSWov+3pRZ9r6njrAvfvGVmqVf+MSIJzgaii1T04q5JXVhSRpOnuaY8Ai5BsoSP9TQO8n 8PeKUM84E/iPNkJrn7u7gG+wigHozLGpYI/ycpN8fFZWh2J3Tt9wuVHBoFCMVagmvVcJWnGUTkU 1nuPlY/MJf+YquKHmADs5jbYzFe3cgwgvl04TuZfDxXl7nybmNGlOkdQt7ythhXvieVQWh7rTmj 1y4Ac0E+Ju0pSuj9FLhqNy0SWVHDOzs/OC/90QyIuETixJ5Q4VGJBd8S6BbvEGxhnBLBQ/YXHyH AXLuudnzi5bzCmSJY+0h2HeF+roT7AZ7FtYW1mIrs3wOC9D9/kRscLvBkI= X-Received: by 2002:a05:600c:458e:b0:490:5466:8576 with SMTP id 5b1f17b1804b1-4909c072597mr59852445e9.1.1780066039269; Fri, 29 May 2026 07:47:19 -0700 (PDT) Received: from dario-ThinkPad-P14s-Gen-5.amarulasolutions.com ([2.196.43.161]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4909d6eb470sm38694785e9.10.2026.05.29.07.47.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2026 07:47:18 -0700 (PDT) From: Dario Binacchi To: linux-kernel@vger.kernel.org Cc: domenico.acri@engicam.com, francesco.utel@engicam.com, michael@amarulasolutions.com, linux-amarula@amarulasolutions.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 v2 02/15] arm64: dts: st: add SDMMC2 support on stm32mp25 Date: Fri, 29 May 2026 16:46:16 +0200 Message-ID: <20260529144707.3931919-3-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260529144707.3931919-1-dario.binacchi@amarulasolutions.com> References: <20260529144707.3931919-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=Q7SVhlqA; 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: , The SDMMC2 controller supports SD cards, eMMC memories and SDIO devices. Signed-off-by: Dario Binacchi --- (no changes since v1) arch/arm64/boot/dts/st/stm32mp251.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 673fbc5632e6..5e46024d2215 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -1667,6 +1667,21 @@ sdmmc1: mmc@48220000 { status = "disabled"; }; + sdmmc2: mmc@48230000 { + compatible = "st,stm32mp25-sdmmc2", "arm,pl18x", "arm,primecell"; + arm,primecell-periphid = <0x00353180>; + reg = <0x48230000 0x400>, <0x44230800 0x8>; + interrupts = ; + clocks = <&rcc CK_KER_SDMMC2>; + clock-names = "apb_pclk"; + resets = <&rcc SDMMC2_R>; + cap-sd-highspeed; + cap-mmc-highspeed; + max-frequency = <120000000>; + access-controllers = <&rifsc 77>; + status = "disabled"; + }; + ethernet1: ethernet@482c0000 { compatible = "st,stm32mp25-dwmac", "snps,dwmac-5.20"; reg = <0x482c0000 0x4000>;