From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2092.outbound.protection.outlook.com [40.107.249.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 599AF2E88BF; Wed, 9 Jul 2025 15:10:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.249.92 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752073828; cv=fail; b=jbCm5ricLaG+f4IU16bAhCHVSxMFn9Q6+veFCkJyyWp171thslLMcpFTidSC7S+nOB21Lbsx5vdZ0PIl6noEZSVvCe73LP/ecaLXEM9sfAkK5+01qICl1xpmpRHuK5Co1WxBDy+BgNhUve1HwaLToIoUu/2lCVfgHFfCiGhhtLM= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1752073828; c=relaxed/simple; bh=q1AW4N+zYwoNyJpPdAbCdTcbXe7hNkglc7x4dRU2iwI=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=p2VAo7or4CYEY1A/LbMouryEfO0twB/aRAJcwSBviKW8B7SaueX8axqrly1dhTV24yxHSNjbXVqBexnqBQQri3HINkU4rHX4vJcPXkTgnsbcmjROWjBeCPM4Bd37lolbzu+7zMSVSLrCqJSSBdDol9XQcq+8ieImXX7kkEGBclA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=phytec.fr; spf=pass smtp.mailfrom=phytec.fr; dkim=pass (1024-bit key) header.d=phytecmesstechnikgmbh.onmicrosoft.com header.i=@phytecmesstechnikgmbh.onmicrosoft.com header.b=xYkVzA7o; arc=fail smtp.client-ip=40.107.249.92 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=phytec.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=phytec.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=phytecmesstechnikgmbh.onmicrosoft.com header.i=@phytecmesstechnikgmbh.onmicrosoft.com header.b="xYkVzA7o" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=d578wWT7cm3cRqwXFi36QSKSA42cFbJ7L4yq5ip5aenoDYao5y4KaftdSv5q9VPJIZnCb08kW1I1pijJx581H1zPxlJ50SaVtFCVecO/XlNscFiPi3LdxqQbG8QmHLI+SRIRBH7kjUZj6aAaBM0k223VzIajNwI/L0O7MD+bkqM4K5bkY9bn+x4EaOK3Jbp4ZF66o+pxkyR5vfMVJ4t0s7tC4zd7V3Un/EkA1y2VwbpqxKcfyjlJpkom/A3w9a2PqZtznPKGL2ZN3voJLv1vVk0c8FPkMu79xTTZOX4+CjShEMda+f2V1kOYGuvR+zUh6CAYnykFCvapRCDJD6R1kA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=5abZY0SB9KzkKudzsNwj4y7+tQ/rWq4t+Pl8mssI4lg=; b=vmybQfmkxkZXLfneqblvgehHxXolVEhXfotOD6ffdShAfA0kZu2tmyhulZrRFhp9Em3l1mujuwaGiz+QQ/GY4z4CFPeRTz62kbuzyorkAPTmSxS5D3NBM91Gw6KAKLUIlGg2n4CCGCknXp2vAEyd9GO0q5poGHJgOp6dGE6yF2nHc4C1BlMyhhi0YJyLEQcRHBDAFY+RXozJVNq3Jr9hWWxg9fOGUvmD7WcCmX0Orw9XpeBRbZOWvgqq6I8y28t1N9KlufCHrNNllZ2CRk+35wkODhfGg5bYWWinvEdh5l6aexiQ/f/dROgVeJ9W22YOFCYRbr0QrHdgE8GtttrX6g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 91.26.50.189) smtp.rcpttodomain=vger.kernel.org smtp.mailfrom=phytec.fr; dmarc=fail (p=quarantine sp=quarantine pct=100) action=quarantine header.from=phytec.fr; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=phytecmesstechnikgmbh.onmicrosoft.com; s=selector1-phytecmesstechnikgmbh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5abZY0SB9KzkKudzsNwj4y7+tQ/rWq4t+Pl8mssI4lg=; b=xYkVzA7oSYqP6T5bVOUQ5u9za5OKxpfMwkfTdFje8DKKQWqnu2cQo7D6/GZrhoIqAipewMmH2May4uMUz8B2x7QRUM/NIAsE+62wqG6fTbP/LTayPys26R2aEHM9HxCbOiDGx3wWYbLEpCWpvipgBQWYeImraU9/wT20kkMNvtQ= Received: from DB7PR02CA0035.eurprd02.prod.outlook.com (2603:10a6:10:52::48) by DB4P195MB2018.EURP195.PROD.OUTLOOK.COM (2603:10a6:10:386::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8901.26; Wed, 9 Jul 2025 15:10:21 +0000 Received: from DB1PEPF000509ED.eurprd03.prod.outlook.com (2603:10a6:10:52:cafe::80) by DB7PR02CA0035.outlook.office365.com (2603:10a6:10:52::48) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8922.21 via Frontend Transport; Wed, 9 Jul 2025 15:10:21 +0000 X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 91.26.50.189) smtp.mailfrom=phytec.fr; dkim=none (message not signed) header.d=none;dmarc=fail action=quarantine header.from=phytec.fr; Received-SPF: Fail (protection.outlook.com: domain of phytec.fr does not designate 91.26.50.189 as permitted sender) receiver=protection.outlook.com; client-ip=91.26.50.189; helo=Diagnostix.phytec.de; Received: from Diagnostix.phytec.de (91.26.50.189) by DB1PEPF000509ED.mail.protection.outlook.com (10.167.242.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8922.22 via Frontend Transport; Wed, 9 Jul 2025 15:10:21 +0000 Received: from Diagnostix.phytec.de (172.25.0.14) by Diagnostix.phytec.de (172.25.0.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.57; Wed, 9 Jul 2025 17:10:15 +0200 Received: from idefix.phytec.de (172.25.0.20) by mailrelayint.phytec.de (172.25.0.14) with Microsoft SMTP Server id 15.1.2507.57 via Frontend Transport; Wed, 9 Jul 2025 17:10:15 +0200 Received: from pc.home ([172.25.39.2]) by idefix.phytec.de (IBM Domino Release 9.0.1FP7) with ESMTP id 2025070917101579-215 ; Wed, 9 Jul 2025 17:10:15 +0200 From: Christophe Parant To: , , , CC: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Subject: [PATCH v2 09/11] ARM: dts: stm32: phycore-stm32mp15: Disable optional SoM peripherals Date: Wed, 9 Jul 2025 17:10:09 +0200 Message-ID: <20250709151011.366537-10-c.parant@phytec.fr> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250709151011.366537-1-c.parant@phytec.fr> References: <20250709151011.366537-1-c.parant@phytec.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 09.07.2025 17:10:15, Serialize by Router on Idefix/Phytec(Release 9.0.1FP7|August 17, 2016) at 09.07.2025 17:10:15 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DB1PEPF000509ED:EE_|DB4P195MB2018:EE_ X-MS-Office365-Filtering-Correlation-Id: 478bc73b-4b22-4000-a9cf-08ddbefab8fd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|36860700013|1800799024|82310400026|376014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?xxab1yq6Y//CrGq0+X57Ix2l6SwgNYWp11tOcFsfLL+SZDinIxQiF16Bu1/g?= =?us-ascii?Q?UXNP5Q37fq2iW/COD3mMB6LF0YQwAQZ9ajqBSiQ7LI8mCylFFHuFftcFI5cm?= =?us-ascii?Q?kR7I4VZdCq8HemJX0Mq5zXm2EfZTDws9XnkeF8S0fEwl9xrpc7K51BCLaF1I?= =?us-ascii?Q?zKMGJSZJfKp8la+RtR2OnOLUHAndCl9ArdP65o7aE4Cbahwrk4Nplc+VzZrO?= =?us-ascii?Q?cN0eZO5IK+P8WDHj7CyqMuviNib6cJGUTlTcXS2/KN2aOGtsJOezZvkLZvAP?= =?us-ascii?Q?wEWgW70AxcO0uKwoUlEEG7ineC44IMNhKMcqMEgjiZdCKOPCG5KnkZGg1tPN?= =?us-ascii?Q?JRbM+V4rmTG9JXxir6hHexr1RP6hZnN7nw1BPiotB1kQsu+sxZb6RXI150rI?= =?us-ascii?Q?4SE0MPNS+AhdWgGbHYnc01XLqw8nzSSlB/TuwSj8VGE9PrGQIeH6X1Xup/fY?= =?us-ascii?Q?CPTs/bgyuK9FXVEfvbyGmKs/BV+Rj+En5FjapJehPpqlFFYJQcGPzzT+AcD0?= =?us-ascii?Q?L0PKK069uikaDGjQahmZhsdHTZVBVm4pY56s0IzmWd+mVBcYdOakpMwp2L/P?= =?us-ascii?Q?as0LLkUCUMCYUx+M6p20To/02q43CyV+2ASmdg8EfrfGo935wUCi6S8usVr8?= =?us-ascii?Q?UJbsDvM+4g7/3skQNXHLZoxqhhlLO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50.189;CTRY:DE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:Diagnostix.phytec.de;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(36860700013)(1800799024)(82310400026)(376014);DIR:OUT;SFP:1102; X-OriginatorOrg: phytec.fr X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jul 2025 15:10:21.0490 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 478bc73b-4b22-4000-a9cf-08ddbefab8fd X-MS-Exchange-CrossTenant-Id: e609157c-80e2-446d-9be3-9c99c2399d29 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=e609157c-80e2-446d-9be3-9c99c2399d29;Ip=[91.26.50.189];Helo=[Diagnostix.phytec.de] X-MS-Exchange-CrossTenant-AuthSource: DB1PEPF000509ED.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4P195MB2018 Following peripherals are optional on phyCORE-STM32MP15x following PHYTEC standard SoM variants: external RTC, EEPROM, SPI NOR. Also NAND (fmc) can be populated instead of eMMC (sdmmc2). So disable those peripherals on SoM dtsi file and enable them on board dts file. Additionally, enable by default the "DTS" SoC IP on common SoM dtsi file as it is not an optional IP in STM32MP15x SoC. Signed-off-by: Christophe Parant --- arch/arm/boot/dts/st/stm32mp157c-phyboard-sargas-rdk.dts | 8 -------- arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi | 9 ++++++++- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/st/stm32mp157c-phyboard-sargas-rdk.dts b/arc= h/arm/boot/dts/st/stm32mp157c-phyboard-sargas-rdk.dts index f7c02a381304..c90b12a479c9 100644 --- a/arch/arm/boot/dts/st/stm32mp157c-phyboard-sargas-rdk.dts +++ b/arch/arm/boot/dts/st/stm32mp157c-phyboard-sargas-rdk.dts @@ -22,14 +22,6 @@ &cryp1 { status =3D "okay"; }; =20 -&dts { - status =3D "okay"; -}; - -&fmc { - status =3D "disabled"; -}; - &gpu { status =3D "okay"; }; diff --git a/arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi b/arch/arm/b= oot/dts/st/stm32mp15xx-phycore-som.dtsi index ce859b94ae26..3f60f184978c 100644 --- a/arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi +++ b/arch/arm/boot/dts/st/stm32mp15xx-phycore-som.dtsi @@ -265,11 +265,13 @@ i2c4=5Feeprom: eeprom@50 { compatible =3D "microchip,24c32", "atmel,24c32"; reg =3D <0x50>; + status =3D "disabled"; }; =20 i2c4=5Frtc: rtc@52 { compatible =3D "microcrystal,rv3028"; reg =3D <0x52>; + status =3D "disabled"; }; }; =20 @@ -307,7 +309,7 @@ &qspi=5Fbk1=5Fsleep=5Fpins=5Fa &qspi=5Fcs1=5Fsleep=5Fpins=5Fa>; reg =3D <0x58003000 0x1000>, <0x70000000 0x1000000>; - status =3D "okay"; + status =3D "disabled"; =20 flash0: flash@0 { compatible =3D "winbond,w25q128", "jedec,spi-nor"; @@ -328,6 +330,10 @@ &rtc { status =3D "okay"; }; =20 +&dts { + status =3D "okay"; +}; + &sdmmc2 { pinctrl-names =3D "default", "opendrain", "sleep"; pinctrl-0 =3D <&sdmmc2=5Fb4=5Fpins=5Fa &sdmmc2=5Fd47=5Fpins=5Fe>; @@ -341,4 +347,5 @@ &sdmmc2 { vmmc-supply =3D <&v3v3>; vqmmc-supply =3D <&v3v3>; mmc-ddr-3=5F3v; + status =3D "disabled"; }; --=20 2.34.1