From nobody Mon Sep 15 21:41:10 2025 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 475F1C46467 for ; Tue, 10 Jan 2023 09:17:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238036AbjAJJRu (ORCPT ); Tue, 10 Jan 2023 04:17:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33944 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231489AbjAJJRk (ORCPT ); Tue, 10 Jan 2023 04:17:40 -0500 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0109113E; Tue, 10 Jan 2023 01:17:39 -0800 (PST) Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30A74j28023704; Tue, 10 Jan 2023 10:17:24 +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-transfer-encoding : content-type; s=selector1; bh=7DNtAn5FSvBFs58HAuiuLotVK7ADNTWKpKT1zToNgew=; b=t96RqXHJl7RMV+lEgd8fVW+JeQSU6CFpaGBRP2uEBteRxbSA+7hWt126fUlPPwbfSTkz YAlmK+bGgFGOGGwKY7AORfVDeP/uprQi3vUjKzo4KrKRCiwFQtFWu1Rjj1beGvPjfZcv /67r/+sONytAe9phHk/qZAed3uu/L0I8wgsQENVLDa6RDnyLcjjx/MKREcXCgTznqyp8 kepdcsYygkwPTTWL3B6PnuJNY4JNbd2FxwvxsFgdL3mFaTJMj3qJFTutIgBI4b0UFNX2 blMmIYy71DT507fjUItbD5OwN95OYhAeUZgv2P3LyIG1aY9id/ctjtTpNsrfbuJEwMVm fA== 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 3my0y6y6ud-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 10:17:24 +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 4CB8E10002A; Tue, 10 Jan 2023 10:17:24 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 44AB920A8CB; Tue, 10 Jan 2023 10:17:24 +0100 (CET) Received: from localhost (10.201.20.178) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.13; Tue, 10 Jan 2023 10:17:24 +0100 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , , , , Subject: [PATCH v2 3/3] ARM: dts: stm32: add timers support on stm32mp135f-dk Date: Tue, 10 Jan 2023 10:17:12 +0100 Message-ID: <20230110091713.444395-4-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230110091713.444395-1-olivier.moysan@foss.st.com> References: <20230110091713.444395-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.201.20.178] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-10_02,2023-01-09_02,2022-06-22_01 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Configure timers support on stm32mp135f-dk. The timers TIM3, TIM4, TIM8 & TIM14 which can be used on expansion GPIO connector are disabled by default. Signed-off-by: Olivier Moysan --- arch/arm/boot/dts/stm32mp135f-dk.dts | 58 ++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp135f-dk.dts b/arch/arm/boot/dts/stm32= mp135f-dk.dts index 9ff5a3eaf55b..338b4f633ee3 100644 --- a/arch/arm/boot/dts/stm32mp135f-dk.dts +++ b/arch/arm/boot/dts/stm32mp135f-dk.dts @@ -208,6 +208,64 @@ &spi5 { status =3D "disabled"; }; =20 +&timers3 { + /delete-property/dmas; + /delete-property/dma-names; + status =3D "disabled"; + pwm { + pinctrl-0 =3D <&pwm3_pins_a>; + pinctrl-1 =3D <&pwm3_sleep_pins_a>; + pinctrl-names =3D "default", "sleep"; + status =3D "okay"; + }; + timer@2 { + status =3D "okay"; + }; +}; + +&timers4 { + /delete-property/dmas; + /delete-property/dma-names; + status =3D "disabled"; + pwm { + pinctrl-0 =3D <&pwm4_pins_a>; + pinctrl-1 =3D <&pwm4_sleep_pins_a>; + pinctrl-names =3D "default", "sleep"; + status =3D "okay"; + }; + timer@3 { + status =3D "okay"; + }; +}; + +&timers8 { + /delete-property/dmas; + /delete-property/dma-names; + status =3D "disabled"; + pwm { + pinctrl-0 =3D <&pwm8_pins_a>; + pinctrl-1 =3D <&pwm8_sleep_pins_a>; + pinctrl-names =3D "default", "sleep"; + status =3D "okay"; + }; + timer@7 { + status =3D "okay"; + }; +}; + +&timers14 { + status =3D "disabled"; + pwm { + pinctrl-0 =3D <&pwm14_pins_a>; + pinctrl-1 =3D <&pwm14_sleep_pins_a>; + pinctrl-names =3D "default", "sleep"; + status =3D "okay"; + }; + timer@13 { + status =3D "okay"; + }; +}; + &uart4 { pinctrl-names =3D "default"; pinctrl-0 =3D <&uart4_pins_a>; --=20 2.25.1