Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp3060631rwl; Mon, 27 Mar 2023 08:44:09 -0700 (PDT) X-Google-Smtp-Source: AKy350a0KQBSvRNnncV/jqzITnmfB4NtWrDR1hhQZOQIh02SNGauKUdFDNrWfzkGusbem4uPsRcs X-Received: by 2002:aa7:c659:0:b0:502:4c82:6cc0 with SMTP id z25-20020aa7c659000000b005024c826cc0mr536801edr.40.1679931849616; Mon, 27 Mar 2023 08:44:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679931849; cv=none; d=google.com; s=arc-20160816; b=KgSeHMxqQF19MOzda0O3zjazTAOcMqP4LPhXVFbzgqPItKkFMYXrHavep6EEWGGlFY PBDbDGAuYU6GU2eklCO7lf8SnAdXKkASzJCjdWHagfZ8nM2krANS9P5HXfS7Nq/rTO+I ddf1Je+K8xbhMlBMqM3CHW9FPoNA66HyZdztoU+mwNWXXwA/Jw2xbaERf5ZkK1qD1/hn /g7v+pwe3ltm0cscnF43KLWuofrg4r90cDEHxQcEija/K1plS9vDi9nHRxQQsof0OiJQ Vl6DfgXL4BU25qzB55Xrgi/J6FIWWZz6MeTRYQQHK8ZErqGtncuppDNTxOybuFNd9iTW 9czw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=eQMMwdgtbCFYg6RdDX7MRzsB4HskdJ9yFYqsMjdrGSM=; b=tmPDTHjcuolLlCE8kPLhQyYCHcBkSPbq2Mb1E1RGIxvOk+uEc7Hxee2fiTqP/Karob ay2hJyQjVPiGJqfZv1B58YY0Oa3KR6hWeqNm6AQoqKB2Xv7w3kAqf8eHClm1VQ9VbRck ZxVhHO3Jf5xjg3BLXsa12a1NXd1blp+iprL/3WOrUuTaD1pWA1/k3M/7SUjwZJe6Pp3g 6VsQzYgV8dVPMZGRsh3FiNphkjlJBIDuiwONnsHbHe1BpfrDU51JVRaG8fqHDNbV63CC Rs5lE/+lr6s8I0ZDmo4LB9Yn/fX1KcoNXFydsYb71iHcI17Chx5vaCCPjrpdyckhiBrA jLVQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="4gddKhK/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a056402054100b004acc613462fsi26984908edx.525.2023.03.27.08.43.44; Mon, 27 Mar 2023 08:44:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@foss.st.com header.s=selector1 header.b="4gddKhK/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foss.st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233020AbjC0PlA (ORCPT + 99 others); Mon, 27 Mar 2023 11:41:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232952AbjC0Pku (ORCPT ); Mon, 27 Mar 2023 11:40:50 -0400 Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 409F24686; Mon, 27 Mar 2023 08:40:43 -0700 (PDT) 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 32RCcFPi009189; Mon, 27 Mar 2023 17:40:34 +0200 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=eQMMwdgtbCFYg6RdDX7MRzsB4HskdJ9yFYqsMjdrGSM=; b=4gddKhK/Ushg19Oov+goscL0U1Bu2VuRvZI41bfKI4PTWCNWzmzen8arOTPVcZXliDFg GPnSj2ckDqDdIABza3oW1OAIT15iH+mBTe57gPiSgJQi2HKgUxL+A3q9mK0iPyrxQNgm sGbYn/VFpM2iK448R/SNtjKulBQEMDNeZ/332WWmOy3XuEku4qWbWv/yMMVEfwBccxCU OLOlrOfES0mBeyzNleNxewOWM9QEz4NmXIQuiTUwXB+mItfu6wsCDCq9etFT8SN03621 +D90w/CzciuVdfGqtwrFDRkUrf5QNsG7b1z7Nh/uYBZekKpYrn1QvxHqFdGPEQTwxPUJ IQ== 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 3pk5xkbnu4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 27 Mar 2023 17:40:34 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 09AF610003A; Mon, 27 Mar 2023 17:40:34 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 02DCC2194ED; Mon, 27 Mar 2023 17:40:34 +0200 (CEST) Received: from localhost (10.201.20.168) 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.17; Mon, 27 Mar 2023 17:40:33 +0200 From: Valentin Caron To: Alexandre Torgue CC: Rob Herring , Krzysztof Kozlowski , Maxime Coquelin , , , , Subject: [PATCH 6/7] ARM: dts: stm32: add pins for usart2/1/4/8 in stm32mp13-pinctrl Date: Mon, 27 Mar 2023 17:39:42 +0200 Message-ID: <20230327153943.275124-5-valentin.caron@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230327152948.274743-1-valentin.caron@foss.st.com> References: <20230327152948.274743-1-valentin.caron@foss.st.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.201.20.168] X-ClientProxiedBy: EQNCAS1NODE3.st.com (10.75.129.80) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-24_11,2023-03-27_02,2023-02-09_01 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pins for uart4, uart8, usart1 and usart2 in stm32mp13-pinctrl.dtsi Theses pins have three states: default, sleep and idle. Signed-off-by: Valentin Caron --- arch/arm/boot/dts/stm32mp13-pinctrl.dtsi | 129 +++++++++++++++++++++++ 1 file changed, 129 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi index b2dce3a29f39..27e0c3826789 100644 --- a/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp13-pinctrl.dtsi @@ -258,4 +258,133 @@ pins2 { bias-disable; }; }; + + uart4_idle_pins_a: uart4-idle-0 { + pins1 { + pinmux = ; /* UART4_TX */ + }; + pins2 { + pinmux = ; /* UART4_RX */ + bias-disable; + }; + }; + + uart4_sleep_pins_a: uart4-sleep-0 { + pins { + pinmux = , /* UART4_TX */ + ; /* UART4_RX */ + }; + }; + + uart8_pins_a: uart8-0 { + pins1 { + pinmux = ; /* UART8_TX */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins2 { + pinmux = ; /* UART8_RX */ + bias-pull-up; + }; + }; + + uart8_idle_pins_a: uart8-idle-0 { + pins1 { + pinmux = ; /* UART8_TX */ + }; + pins2 { + pinmux = ; /* UART8_RX */ + bias-pull-up; + }; + }; + + uart8_sleep_pins_a: uart8-sleep-0 { + pins { + pinmux = , /* UART8_TX */ + ; /* UART8_RX */ + }; + }; + + usart1_pins_a: usart1-0 { + pins1 { + pinmux = , /* USART1_TX */ + ; /* USART1_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins2 { + pinmux = , /* USART1_RX */ + ; /* USART1_CTS_NSS */ + bias-pull-up; + }; + }; + + usart1_idle_pins_a: usart1-idle-0 { + pins1 { + pinmux = , /* USART1_TX */ + ; /* USART1_CTS_NSS */ + }; + pins2 { + pinmux = ; /* USART1_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins3 { + pinmux = ; /* USART1_RX */ + bias-pull-up; + }; + }; + + usart1_sleep_pins_a: usart1-sleep-0 { + pins { + pinmux = , /* USART1_TX */ + , /* USART1_RTS */ + , /* USART1_CTS_NSS */ + ; /* USART1_RX */ + }; + }; + + usart2_pins_a: usart2-0 { + pins1 { + pinmux = , /* USART2_TX */ + ; /* USART2_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins2 { + pinmux = , /* USART2_RX */ + ; /* USART2_CTS_NSS */ + bias-disable; + }; + }; + + usart2_idle_pins_a: usart2-idle-0 { + pins1 { + pinmux = , /* USART2_TX */ + ; /* USART2_CTS_NSS */ + }; + pins2 { + pinmux = ; /* USART2_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins3 { + pinmux = ; /* USART2_RX */ + bias-disable; + }; + }; + + usart2_sleep_pins_a: usart2-sleep-0 { + pins { + pinmux = , /* USART2_TX */ + , /* USART2_RTS */ + , /* USART2_RX */ + ; /* USART2_CTS_NSS */ + }; + }; }; -- 2.25.1