From patchwork Thu Jan 5 13:06:11 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olivier Moysan X-Patchwork-Id: 13090505 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id E5136C3DA7A for ; Thu, 5 Jan 2023 21:31:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xctuYEER3ayB0v0/MroPrKhhnhM3/tozxv4BmYbkaSs=; b=eGBAt4wb74BM6D kgOENREzax01V4ekQBIU0wHVdxVW7bM2NL1vHuYfePaJkK6A7rPY3EUMoNI683t/dFYecuczslr+c AlzodRlszQZijrpin2Rbzs/Y6Prz6BqGDmeObUHvOMFiQKYNySGvVPbD9UlVcZeeteZKsYgrQQiKr rJskE/1QWkTb4NoBuGm+Lwy6+6bOvnNjcuZOdpoWayoJ3Z19BcMMuoPhtVlMj5PHsMTEKH3aywS6O BqoJYt8i1L2T4yQMOs87PFk/hdjn2WL+2GbJI0vEEOmPIaVqdGu+pEuPtxBjaORP2sArlgo/JTxRo pJOES8kayYsryO0AkK4g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDXp4-00F7c9-82; Thu, 05 Jan 2023 21:30:50 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pDUxs-00DaBI-QX for linux-arm-kernel@bombadil.infradead.org; Thu, 05 Jan 2023 18:27:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Content-Type:Content-Transfer-Encoding :MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From: Sender:Reply-To:Content-ID:Content-Description; bh=7DNtAn5FSvBFs58HAuiuLotVK7ADNTWKpKT1zToNgew=; b=l9NU3bvT5Un6tlvv6qi9trzqBj cpm46dehu7/SJJ6Xazw17pLTA+Pvg0khL25uidDjbpdTTFNeeeR7N7n35ZJUZNqUif9rvIc6gtWe9 5ub34BE8bdSFY7i+A3IdPfWmWdQG0QOMT9bjsSnR/iRvBpBktxf7//Rk+MAHMS7L5l7Z873CqriaL f6jXnaD0J/R9LW6z50KtPnTB+6ifGcs6mMMPtQcrEfAKCLNxRnjUDBtMDFxeZbfzuHCnq1HZCBMYN M2oapFEeu6BSLaTZIomIbN43Jf0Vik4IgJcugQAl35b5qpB0LbD5tbkS1YhcXfCMaLahQxmp3ifCf 88WZuzxQ==; Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by desiato.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pDPxQ-001Kcc-2Z for linux-arm-kernel@lists.infradead.org; Thu, 05 Jan 2023 13:06:59 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3059sZMn024285; Thu, 5 Jan 2023 14:06:56 +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=ZJpbS+iahkEvgrcpHDig50rDuYhsS1Y+spb3eO5PF2K2favjTaARGhzIdp4CeNjUQ2Kc I8GD4MhOXfPDFsEtXCF7aeATs6cvmltBrZfP+H9QcaH6vDUX2rRqR+pmRJqC77xoFGzV Hy6Kxm7O7ItUXFGd4aDteYeci5r+f+s7mj1SRK07PC4H+y8cPwsPhlgmWBsJdFsymOnX FcQgtctb5P6IAuQ+gsQfwLWj0H0Tih7+ZVTJCScOd2NyDHXw/O/TxNnL3mPw09MU+iw5 YQG25eWJyk8JI29MlpTE2DWBBDMwN/7JNx35cHKHu7+k90Kzu1+LU0fKxPVu9QP8J5s9 ww== 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 3mwuw299ar-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Jan 2023 14:06:56 +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 B007010002A; Thu, 5 Jan 2023 14:06:55 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A9ABB23BDEB; Thu, 5 Jan 2023 14:06:55 +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; Thu, 5 Jan 2023 14:06:55 +0100 From: Olivier Moysan To: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , Alexandre Torgue CC: Olivier Moysan , , , , Subject: [PATCH 3/3] ARM: dts: stm32: add timers support on stm32mp135f-dk Date: Thu, 5 Jan 2023 14:06:11 +0100 Message-ID: <20230105130612.330155-4-olivier.moysan@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230105130612.330155-1-olivier.moysan@foss.st.com> References: <20230105130612.330155-1-olivier.moysan@foss.st.com> MIME-Version: 1.0 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-05_04,2023-01-04_02,2022-06-22_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230105_130657_006080_3CDC6561 X-CRM114-Status: GOOD ( 15.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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/stm32mp135f-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 = "disabled"; }; +&timers3 { + /delete-property/dmas; + /delete-property/dma-names; + status = "disabled"; + pwm { + pinctrl-0 = <&pwm3_pins_a>; + pinctrl-1 = <&pwm3_sleep_pins_a>; + pinctrl-names = "default", "sleep"; + status = "okay"; + }; + timer@2 { + status = "okay"; + }; +}; + +&timers4 { + /delete-property/dmas; + /delete-property/dma-names; + status = "disabled"; + pwm { + pinctrl-0 = <&pwm4_pins_a>; + pinctrl-1 = <&pwm4_sleep_pins_a>; + pinctrl-names = "default", "sleep"; + status = "okay"; + }; + timer@3 { + status = "okay"; + }; +}; + +&timers8 { + /delete-property/dmas; + /delete-property/dma-names; + status = "disabled"; + pwm { + pinctrl-0 = <&pwm8_pins_a>; + pinctrl-1 = <&pwm8_sleep_pins_a>; + pinctrl-names = "default", "sleep"; + status = "okay"; + }; + timer@7 { + status = "okay"; + }; +}; + +&timers14 { + status = "disabled"; + pwm { + pinctrl-0 = <&pwm14_pins_a>; + pinctrl-1 = <&pwm14_sleep_pins_a>; + pinctrl-names = "default", "sleep"; + status = "okay"; + }; + timer@13 { + status = "okay"; + }; +}; + &uart4 { pinctrl-names = "default"; pinctrl-0 = <&uart4_pins_a>;