From patchwork Mon May 20 14:00:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Caron X-Patchwork-Id: 13668347 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 DF2F3C04FFE for ; Mon, 20 May 2024 14:02:08 +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=tiieEkDlMF9a+d1JZ2kwlTUZCmtMsmlvJAQdcpbYyY4=; b=cLJVlzdLzlmImJ xEU+Lm1KQTMHDsXSm0bBjD7lnRnht+HlZmAPWluzmgtW2met5mI1XhVvFg47mdCRWuW8to9xhmgQf RwN4zjGMyPZKcRnEYoaM/PTdD/ewiqOgisR9JeXEBciwRUg5xl3OcbH8rl5gapv4tSS/nfrgSPqBP XpIy4AFyUiBqm3EcMBTRZZVOX5UCQ++PudRP5ADxRCZaIOIFEoQLnlLdvfIXB4YgblxmRbb6xGmvE iSe0jUWLW+ymv/9vFKzJG32+lYl7jhTNpgloxfPmsHTB68UQPUoh3M65PqQ2nIeqKekqMKLR7Oui7 tMyKs8vJXuMsuMQe00Sw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s93aO-0000000Eedm-1H2p; Mon, 20 May 2024 14:01:56 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s93aL-0000000Eeb8-160t for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2024 14:01:54 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44KDxAV5023047; Mon, 20 May 2024 16:01:46 +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=f9k8KFpeNIYsTHqtNNW8OjMXp6vJaNWX8ngMl7er10Q=; b=Ms vF/ukIiO2cgJEkMvHkMWN19QNEFT0y7Da0DRZVWihQyh6wiYrIFjRHi+ng4uHo6N FhWsPuchvsGkGSeGgV8DgR+V3aVwz8AFsI0eacXBrcJMkWhftpNtazted6nD+jsh pWavvIIlwgkfVKqBOisHK+DOmGTCXkdIAEAeqJicPTGSKSVv4iIRyGD3ROgGyD2k jZ4xfuHbrjF7igN0LtqxXr4Jf5gSebZoVOmYGGH5qQjpjqm57OcyKc9+AGBzbHz0 Fmam+tNUwZ5hFR5yswh+y1Usimw/iToKPW9N1HRUgBYyir1Wk9La3mR+EqqXjMHA kH8/CEh6clisWo/Fkmww== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3y6n6hfb1j-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 16:01:45 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 2C8D540050; Mon, 20 May 2024 16:01:07 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 8BE01222C88; Mon, 20 May 2024 16:00:37 +0200 (CEST) Received: from localhost (10.48.86.111) 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.35; Mon, 20 May 2024 16:00:37 +0200 From: Valentin Caron To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue CC: , , , , Valentin Caron Subject: [PATCH 2/3] arm64: dts: st: add usart6 pinctrl used on stm32mp257f-ev1 board Date: Mon, 20 May 2024 16:00:23 +0200 Message-ID: <20240520140024.3711080-3-valentin.caron@foss.st.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240520140024.3711080-1-valentin.caron@foss.st.com> References: <20240520140024.3711080-1-valentin.caron@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.48.86.111] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-20_05,2024-05-17_03,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240520_070153_637795_AEC66248 X-CRM114-Status: GOOD ( 10.40 ) 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 Add pins for USART6 on GPIO connector on stm32mp257f-ev1 board. Signed-off-by: Valentin Caron --- arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi | 41 +++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi b/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi index 7a82896dcbf60..4e677e64c406f 100644 --- a/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp25-pinctrl.dtsi @@ -128,6 +128,47 @@ pins { ; /* USART2_RX */ }; }; + + usart6_pins_a: usart6-0 { + pins1 { + pinmux = , /* USART6_TX */ + ; /* USART6_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins2 { + pinmux = , /* USART6_RX */ + ; /* USART6_CTS_NSS */ + bias-pull-up; + }; + }; + + usart6_idle_pins_a: usart6-idle-0 { + pins1 { + pinmux = , /* USART6_TX */ + ; /* USART6_CTS_NSS */ + }; + pins2 { + pinmux = ; /* USART6_RTS */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins3 { + pinmux = ; /* USART6_RX */ + bias-pull-up; + }; + }; + + usart6_sleep_pins_a: usart6-sleep-0 { + pins { + pinmux = , /* USART6_TX */ + , /* USART6_RTS */ + , /* USART6_CTS_NSS */ + ; /* USART6_RX */ + }; + }; }; &pinctrl_z {