From patchwork Wed Jan 12 16:32:17 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Gautier X-Patchwork-Id: 531694 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4653BC43217 for ; Wed, 12 Jan 2022 16:32:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355257AbiALQcy (ORCPT ); Wed, 12 Jan 2022 11:32:54 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:44730 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S239989AbiALQct (ORCPT ); Wed, 12 Jan 2022 11:32:49 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20CBDtR3019527; Wed, 12 Jan 2022 17:32:34 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=6UwyUli8Fpb2NlNGKtX2Lx6ZCm3vXyfMrODy3uld1FU=; b=8TuXsiL5YKgy/JUn2JIOcqEy6XrmcNFNaLnrd5yN0Nec9KEwnKxUmN69x3EnoPrUfsUx 7X0reLSF2IIn7/pwrRrkNJ6Cfq4yl/P8+BandSoJ0zPMxjEeG3/q4pajUkvvOnBV86Or ZQ63DdYU+6s0bEenLNfi/M85PwA4h74qIkl8n/MchJ+tm/JF5ol4T6r9zuG49BAj8jK6 CTTVuBllNVRbq5dH0XkWJQv5jN/0JtfGMkbBJRUVC13DgWa/5ho3o0DIICB5i5DVs9ba l27twqx/zJkTSJEyyKlBFd1oZ0fGzPdQ61nIemlCCnE+4FQ5+hLacBhRUHzh6bk8UQjb LA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3dhtg9u811-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jan 2022 17:32:34 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D20C1100038; Wed, 12 Jan 2022 17:32:33 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C97FC24B8B1; Wed, 12 Jan 2022 17:32:33 +0100 (CET) Received: from localhost (10.75.127.49) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 12 Jan 2022 17:32:33 +0100 From: Yann Gautier To: Rob Herring , Alexandre Torgue , Maxime Coquelin , , , CC: , , Yann Gautier Subject: [PATCH 01/10] ARM: dts: stm32: add st,stm32-sdmmc2 compatible on stm32mp151 Date: Wed, 12 Jan 2022 17:32:17 +0100 Message-ID: <20220112163226.25384-2-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220112163226.25384-1-yann.gautier@foss.st.com> References: <20220112163226.25384-1-yann.gautier@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-12_04,2022-01-11_01,2021-12-02_01 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org To align with bootloaders device tree files, and thanks to what was added in yaml file [1], the compatible property for sdmmc nodes is updated with "st,stm32-sdmmc2" string. [1] commit 552bc46484b3 ("dt-bindings: mmc: mmci: Add st,stm32-sdmmc2 compatible") Signed-off-by: Yann Gautier --- arch/arm/boot/dts/stm32mp151.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp151.dtsi b/arch/arm/boot/dts/stm32mp151.dtsi index 1cfc2f011e70..39e5ea16db88 100644 --- a/arch/arm/boot/dts/stm32mp151.dtsi +++ b/arch/arm/boot/dts/stm32mp151.dtsi @@ -1059,7 +1059,7 @@ }; sdmmc3: mmc@48004000 { - compatible = "arm,pl18x", "arm,primecell"; + compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; arm,primecell-periphid = <0x00253180>; reg = <0x48004000 0x400>; interrupts = ; @@ -1381,7 +1381,7 @@ }; sdmmc1: mmc@58005000 { - compatible = "arm,pl18x", "arm,primecell"; + compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; arm,primecell-periphid = <0x00253180>; reg = <0x58005000 0x1000>; interrupts = ; @@ -1396,7 +1396,7 @@ }; sdmmc2: mmc@58007000 { - compatible = "arm,pl18x", "arm,primecell"; + compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; arm,primecell-periphid = <0x00253180>; reg = <0x58007000 0x1000>; interrupts = ; From patchwork Wed Jan 12 16:32:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Gautier X-Patchwork-Id: 531695 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 710D9C4321E for ; Wed, 12 Jan 2022 16:32:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355249AbiALQcx (ORCPT ); Wed, 12 Jan 2022 11:32:53 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:44726 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1349879AbiALQct (ORCPT ); Wed, 12 Jan 2022 11:32:49 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20CBHwDO019096; Wed, 12 Jan 2022 17:32:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=ahUofAV0amC2ef1QfiggLlyt//R3c+cCHFHBmCWx2D0=; b=PjEAB7Gh5/3vifspwgErRLH0/twz8FafaAN/xT0HPm9DFg8EBb2H+fTlzdn2W236fyu/ LAEpUOQhNZ5aKeqD2TVv+3JUpQw8Ipm1aVpwy5mcT0m/bBvlXTLEi3xj7m1BGzKE2rm0 m+goMd9mp/UY8Lrq1r8FTvE+UcMCx+EGgYB5yN8ttS7wjnsT+H8IO7N5hNtdkIG0I5Fk VKEPMmk/0bO3ki7Ycg1nujqZprcFW/2X2NJffMcGKIu9LkcR3bEWg0HYYLmCQ4LgriE/ jri4b8ZntSI+xumiGIdejF33KpHVKiKDszrmWmIcYjg9/ks8E1p9SlrATLipCTBu862Y zw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3dhtg9u814-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jan 2022 17:32:35 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2BC11100034; Wed, 12 Jan 2022 17:32:35 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 2386524B8B1; Wed, 12 Jan 2022 17:32:35 +0100 (CET) Received: from localhost (10.75.127.49) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 12 Jan 2022 17:32:34 +0100 From: Yann Gautier To: Rob Herring , Alexandre Torgue , Maxime Coquelin , , , CC: , , Yann Gautier Subject: [PATCH 03/10] ARM: dts: stm32: increase SDMMC max-frequency for STM32MP13 Date: Wed, 12 Jan 2022 17:32:19 +0100 Message-ID: <20220112163226.25384-4-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220112163226.25384-1-yann.gautier@foss.st.com> References: <20220112163226.25384-1-yann.gautier@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-12_04,2022-01-11_01,2021-12-02_01 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org The max-frequency limitation is due to IOs. On STM32MP13, it is 130MHz. Update the corresponding property. Signed-off-by: Yann Gautier --- arch/arm/boot/dts/stm32mp131.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index 9b318fcd6ef0..672ac9360619 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -131,7 +131,7 @@ clock-names = "apb_pclk"; cap-sd-highspeed; cap-mmc-highspeed; - max-frequency = <120000000>; + max-frequency = <130000000>; status = "disabled"; }; From patchwork Wed Jan 12 16:32:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Gautier X-Patchwork-Id: 531696 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F076C43217 for ; Wed, 12 Jan 2022 16:32:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349855AbiALQcv (ORCPT ); Wed, 12 Jan 2022 11:32:51 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:44728 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1355214AbiALQct (ORCPT ); Wed, 12 Jan 2022 11:32:49 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20CB7KT5019065; Wed, 12 Jan 2022 17:32:36 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=RLix70hBzYvu61S76fUm2ZmEwhtXGBOMK8Sbh+qyL2s=; b=CQvbac4rdWmYP5Bzg/b/91CIGnb9tP6H/xy4ckg0dCaa4975fEybjh4X2SP5AJknEk1Y akdeYt+pHjq4cSbXzdUpiH/7Hzv7HL6wXdhcd9vJlZSdYfEQyBYNkLY2LrkgU3apw3YD o0ye6jwYHZfgJ/gNIdTCY9zZ53rCLTQNMWckFbO8CjRm23gn0uumNeiH+wS59yGSafjE O5mdRAPgvzScndaCuW3KwemtFlsUMSn8RrJKZ/Q5VS8p9hH2xckpMt1pe7ax/ZxXbojP WMpJkxG/eOZu6Dkxwnf01eCa8tn8M8jQciBL3bkSlm0YseH2SlHLNAwqTb/Rr0a7wXHp pg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3dhtg9u815-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jan 2022 17:32:36 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id DC094100038; Wed, 12 Jan 2022 17:32:35 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D38D824B8B1; Wed, 12 Jan 2022 17:32:35 +0100 (CET) Received: from localhost (10.75.127.49) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 12 Jan 2022 17:32:35 +0100 From: Yann Gautier To: Rob Herring , Alexandre Torgue , Maxime Coquelin , , , CC: , , Gerald Baeza , Yann Gautier Subject: [PATCH 04/10] ARM: dts: stm32: update sdmmc slew-rate in stm32mp13 pinctrl Date: Wed, 12 Jan 2022 17:32:20 +0100 Message-ID: <20220112163226.25384-5-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220112163226.25384-1-yann.gautier@foss.st.com> References: <20220112163226.25384-1-yann.gautier@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.49] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-12_04,2022-01-11_01,2021-12-02_01 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Gerald Baeza SDMMC1/2 CK <= 50 MHz so slew-rate = <1> A new node sdmmc1-clk-0 is added to manage the new clock pin slew-rate. Signed-off-by: Gerald Baeza Signed-off-by: Yann Gautier --- arch/arm/boot/dts/stm32mp13-pinctrl.dtsi | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi index 069f95f2b628..ebb83c56c350 100644 --- a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi @@ -7,7 +7,7 @@ &pinctrl { sdmmc1_b4_pins_a: sdmmc1-b4-0 { - pins1 { + pins { pinmux = , /* SDMMC1_D0 */ , /* SDMMC1_D1 */ , /* SDMMC1_D2 */ @@ -17,12 +17,6 @@ drive-push-pull; bias-disable; }; - pins2 { - pinmux = ; /* SDMMC1_CK */ - slew-rate = <2>; - drive-push-pull; - bias-disable; - }; }; sdmmc1_b4_od_pins_a: sdmmc1-b4-od-0 { @@ -36,12 +30,6 @@ bias-disable; }; pins2 { - pinmux = ; /* SDMMC1_CK */ - slew-rate = <2>; - drive-push-pull; - bias-disable; - }; - pins3 { pinmux = ; /* SDMMC1_CMD */ slew-rate = <1>; drive-open-drain; @@ -49,6 +37,15 @@ }; }; + sdmmc1_clk_pins_a: sdmmc1-clk-0 { + pins { + pinmux = ; /* SDMMC1_CK */ + slew-rate = <1>; + drive-push-pull; + bias-disable; + }; + }; + uart4_pins_a: uart4-0 { pins1 { pinmux = ; /* UART4_TX */ From patchwork Wed Jan 12 16:33:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Gautier X-Patchwork-Id: 531693 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45D0EC4332F for ; Wed, 12 Jan 2022 16:34:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242458AbiALQev (ORCPT ); Wed, 12 Jan 2022 11:34:51 -0500 Received: from mx07-00178001.pphosted.com ([185.132.182.106]:59188 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349908AbiALQeb (ORCPT ); Wed, 12 Jan 2022 11:34:31 -0500 Received: from pps.filterd (m0288072.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20CBMfp9006161; Wed, 12 Jan 2022 17:34:21 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=selector1; bh=/LVZgAZ4KaMt6HeUK373T2nn7MiSHorKjvrFcPNUFCU=; b=U3vPtfIVd4aP/lgZljy0g/ZVEl/5KDNXj2nUWhGZbD+SBpOxmdZh2R93N5EhomMR3J2F XwlrpAAKNBQS89RLTLxqH6w0NGdFEaMGIs4irW3iYjEOynAhzyAlYjT6y/3slzP8G2Jx cCJ9W7JnEzpFs71unmhGnZfI2yc3A9AOju6mleQ0qrwjNWabv9z3rzctQu/GTE1eX5/9 tXYlvKEwYXCS/Lk+j7+dWI9yYfWk4qZh5w+SEBadKpoHCdhL9HEqm72J4mOAKD1ZPakW b+GTifmjfOtUKTXYWhKhBp7cjKgD+/vTHEmsynp/rrfxmrQ8rf+4JPIFI5z8qOlFikH+ yQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3dhtft32ma-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jan 2022 17:34:21 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id BBC6310002A; Wed, 12 Jan 2022 17:34:20 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B530C24B8BA; Wed, 12 Jan 2022 17:34:20 +0100 (CET) Received: from localhost (10.75.127.48) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 12 Jan 2022 17:34:20 +0100 From: Yann Gautier To: Rob Herring , Alexandre Torgue , Maxime Coquelin , , , CC: , , Yann Gautier Subject: [PATCH 08/10] ARM: dts: stm32: update SDMMC version for STM32MP13 Date: Wed, 12 Jan 2022 17:33:54 +0100 Message-ID: <20220112163356.25634-9-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE3.st.com (10.75.127.6) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-12_04,2022-01-11_01,2021-12-02_01 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org From: Yann Gautier On STM32MP13, the embedded SDMMC peripheral version is v2.2. Update arm,primecell-periphid for SDMMC in the SoC DT file. Signed-off-by: Yann Gautier --- arch/arm/boot/dts/stm32mp131.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index 672ac9360619..7189cba6b256 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -123,7 +123,7 @@ sdmmc1: mmc@58005000 { compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; - arm,primecell-periphid = <0x00253180>; + arm,primecell-periphid = <0x20253180>; reg = <0x58005000 0x1000>, <0x58006000 0x1000>; interrupts = ; interrupt-names = "cmd_irq"; From patchwork Wed Jan 12 16:33:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yann Gautier X-Patchwork-Id: 531692 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53BB6C4321E for ; Wed, 12 Jan 2022 16:34:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355281AbiALQex (ORCPT ); Wed, 12 Jan 2022 11:34:53 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:45758 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1355293AbiALQel (ORCPT ); Wed, 12 Jan 2022 11:34:41 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20CBKUEj019149; Wed, 12 Jan 2022 17:34:23 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=DqtAlVRDu0BZInLnFAxQBxKeCywomHPZOqjBJ4wBQps=; b=bckOkcdafCLRvlXsUEZSFeYEAfThADJaTHhx00cNybPDIuel0BhCU/oAInNR8Bpv459C 11VIzE+wO7ckSNE5Mz24angGtFJEQKMNNuGjv1XSakh1ykuisJdygWyibOKSvsBHnE06 8DWdnyNAtGgxaPURaTdmN7RBm2Jm+KF2Fm/8BM7HKtF79hnQfx/zwXZJoMmHnhafw8l3 QDBIdawEpzCnZ9zJp3A1A0HxAI1EgmrEFwZolcVpT7bBZABrq7++d4hFd9yXl5hjc+8D Pw5SvsxVj2NQelu2OZk3FNOk48iQPv7lOgs3TQCfbNljxHqjkPiEd8lfzRKudB6dCGyJ tg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3dhtg9u8bu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 12 Jan 2022 17:34:23 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id AF86D10002A; Wed, 12 Jan 2022 17:34:22 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A7E9524B8BA; Wed, 12 Jan 2022 17:34:22 +0100 (CET) Received: from localhost (10.75.127.48) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.26; Wed, 12 Jan 2022 17:34:22 +0100 From: Yann Gautier To: Rob Herring , Alexandre Torgue , Maxime Coquelin , , , CC: , , Yann Gautier Subject: [PATCH 09/10] ARM: dts: stm32: add SDMMC2 in STM32MP13 DT Date: Wed, 12 Jan 2022 17:33:55 +0100 Message-ID: <20220112163356.25634-10-yann.gautier@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220112163356.25634-9-yann.gautier@foss.st.com> References: <20220112163356.25634-9-yann.gautier@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-12_04,2022-01-11_01,2021-12-02_01 Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org STM32MP13 embeds 2 instances of SDMMC peripheral. Add the required information in SoC device tree file. Signed-off-by: Yann Gautier --- arch/arm/boot/dts/stm32mp131.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp131.dtsi b/arch/arm/boot/dts/stm32mp131.dtsi index 7189cba6b256..a1efb545ca3d 100644 --- a/arch/arm/boot/dts/stm32mp131.dtsi +++ b/arch/arm/boot/dts/stm32mp131.dtsi @@ -135,6 +135,20 @@ status = "disabled"; }; + sdmmc2: mmc@58007000 { + compatible = "st,stm32-sdmmc2", "arm,pl18x", "arm,primecell"; + arm,primecell-periphid = <0x20253180>; + reg = <0x58007000 0x1000>, <0x58008000 0x1000>; + interrupts = ; + interrupt-names = "cmd_irq"; + clocks = <&clk_pll4_p>; + clock-names = "apb_pclk"; + cap-sd-highspeed; + cap-mmc-highspeed; + max-frequency = <130000000>; + status = "disabled"; + }; + iwdg2: watchdog@5a002000 { compatible = "st,stm32mp1-iwdg"; reg = <0x5a002000 0x400>;