From patchwork Mon May 20 14:00:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Caron X-Patchwork-Id: 13668346 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 397B7C04FFE for ; Mon, 20 May 2024 14:02:04 +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=wW+mWQHupThHP2coZzqmYJHSsE4OSFWytFsYaQzjc/o=; b=wHQyIZnjWFqWy8 qWDpXL3wWQWFDNocHaORffaZMtX9POPpS3Ld/w55GWu23IJjJhuVUXGZQze1ztBbxPbbujBepiEWj KCL3v+drpXMpfRyNscHb5sLQR9UPpSypcxAESa38Rj8rH8scZqDFsyBRH3ockI5UBbX2fyp55wfZ4 YUfZvXKLygSe0HHYJg2N8HNZ1FzJIvtYpIKWfaWcVGPJcQFcTfAIj98rQfTCJmzFztwuLesL0DSEc FIMEBVHspJTffCVLxcWr0NHY/hSxS7dXnxv3t9bqj4zHC+fHoOzryXfL24Zozs0j2JTJ4sRnq12QN IlXKYqFQg6mVOXNWIcfg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s93aF-0000000EeYg-1fBl; Mon, 20 May 2024 14:01:47 +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 1s93aC-0000000EeXV-1m9U for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2024 14:01:46 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44KDtKnQ018364; Mon, 20 May 2024 16:01:30 +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=QWCIxA9lCG4qboAz9wBvUd0tdgL05MyE0JN6AVl1/YU=; b=GS eyGr3vVPDy9kCyCZWd5o9sN9BtMeWbnvSezK9QlhQDa3htw+cuzfRf34erC2XH+V 5Epi2U6WLD/mBariAsg/k/wqEVvY+IhRbKEu+YuJaziwJXNv/gGhJUdgmilMuuMA 7aDgbOPaRkzJQ1r/QsghxXViVgSQrj79vpq4dp0o2y023Htx7rOfLoHrI0uprc9/ JaBEARxRz1LSpKco26OFHDK+tFrbhlvXMMvqL/65fBBllmouw9uokOsD0d+4ATu9 rlY1zsjLGWbjkr6apPfw232R/DeI0W74JCyAaVWAN6iSKuKOnFUFTAUT/9y0eVt4 wfDUoReVEW+wniI3dE8Q== 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 3y6n337bnj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 16:01:30 +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 9E5454004D; Mon, 20 May 2024 16:01:06 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id C1B29222C87; Mon, 20 May 2024 16:00:36 +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:36 +0200 From: Valentin Caron To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue CC: , , , , Valentin Caron Subject: [PATCH 1/3] arm64: dts: st: add usart nodes on stm32mp25 Date: Mon, 20 May 2024 16:00:22 +0200 Message-ID: <20240520140024.3711080-2-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_070144_765599_04AB45DE X-CRM114-Status: UNSURE ( 9.06 ) X-CRM114-Notice: Please train this message. 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 Update device-tree stm32mp251.dtsi to add some USART features. Add u(s)art 1, 3, 4, 5, 6, 7, 8, 9 nodes and compatible, interrupts, clocks, access-controllers properties. Signed-off-by: Valentin Caron --- arch/arm64/boot/dts/st/stm32mp251.dtsi | 72 ++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi index 4b48e4ed2d284..ca60b6bc7834c 100644 --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi @@ -148,6 +148,33 @@ usart2: serial@400e0000 { status = "disabled"; }; + usart3: serial@400f0000 { + compatible = "st,stm32h7-uart"; + reg = <0x400f0000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_USART3>; + access-controllers = <&rifsc 33>; + status = "disabled"; + }; + + uart4: serial@40100000 { + compatible = "st,stm32h7-uart"; + reg = <0x40100000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_UART4>; + access-controllers = <&rifsc 34>; + status = "disabled"; + }; + + uart5: serial@40110000 { + compatible = "st,stm32h7-uart"; + reg = <0x40110000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_UART5>; + access-controllers = <&rifsc 35>; + status = "disabled"; + }; + i2c1: i2c@40120000 { compatible = "st,stm32mp25-i2c"; reg = <0x40120000 0x400>; @@ -239,6 +266,15 @@ i2c7: i2c@40180000 { status = "disabled"; }; + usart6: serial@40220000 { + compatible = "st,stm32h7-uart"; + reg = <0x40220000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_USART6>; + access-controllers = <&rifsc 36>; + status = "disabled"; + }; + spi1: spi@40230000 { #address-cells = <1>; #size-cells = <0>; @@ -275,6 +311,24 @@ spi5: spi@40280000 { status = "disabled"; }; + uart9: serial@402c0000 { + compatible = "st,stm32h7-uart"; + reg = <0x402c0000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_UART9>; + access-controllers = <&rifsc 39>; + status = "disabled"; + }; + + usart1: serial@40330000 { + compatible = "st,stm32h7-uart"; + reg = <0x40330000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_USART1>; + access-controllers = <&rifsc 31>; + status = "disabled"; + }; + spi6: spi@40350000 { #address-cells = <1>; #size-cells = <0>; @@ -299,6 +353,24 @@ spi7: spi@40360000 { status = "disabled"; }; + uart7: serial@40370000 { + compatible = "st,stm32h7-uart"; + reg = <0x40370000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_UART7>; + access-controllers = <&rifsc 37>; + status = "disabled"; + }; + + uart8: serial@40380000 { + compatible = "st,stm32h7-uart"; + reg = <0x40380000 0x400>; + interrupts = ; + clocks = <&rcc CK_KER_UART8>; + access-controllers = <&rifsc 38>; + status = "disabled"; + }; + spi8: spi@46020000 { #address-cells = <1>; #size-cells = <0>; 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 { From patchwork Mon May 20 14:00:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Valentin Caron X-Patchwork-Id: 13668344 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 D4E69C04FFE for ; Mon, 20 May 2024 14:01:40 +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=TorPyWupg+oHZQKym3ry6VyrxiuG4wLOtNMhMhOpZ6U=; b=riSCIWa+YQ36aW iPcxDs0/AaN7Ha5IraOKQQNUvXt58WUQ3Fae69giOUie6PRZ+2teng58+JIe3xxIEukwTis7goIZO obVcoXKii+UADLiQCEE+lFMBeI8DZfF/HwcCYcrRUvtbnN3Xq3m2398ToH9w6ctA7GyMznhT/wM+O RGoab1LrbL6utgXzuDcPMcTc44IpqBXLvXWM0CvWLZEQoPZ88WgeZia2OhLQLgDVToTTDd4gO5WNJ BBEIjjRuf2R+18+zp2LqtTvCfIkVHy5BivSQoe1HiHJ8ry6EQEbqDalMyYRzHEKB6dv+Y/bM7f/W0 WJsaZHAhOlvtdS6cRUdg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s93Zu-0000000EeVF-421o; Mon, 20 May 2024 14:01:26 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s93Zr-0000000EeUS-0o4R for linux-arm-kernel@lists.infradead.org; Mon, 20 May 2024 14:01:25 +0000 Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 44KBMT05021385; Mon, 20 May 2024 16:01:11 +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=ZgsE3xWv3XDME8Xvz+S9s6R3DQC6mEdB9EsMvdI4S4s=; b=1o E7Otpp6d79XNB/2IazpsVg28JQpX5aqqehm+H8sgpMP7kUUaTFxouySUstnwqm3k 8KJiTjNyplYl4Xd/9d6vP57EOTkdiM3MKqPwMt5VttB4GjVOpNKJCatplLqRnBBT bhJVNgz6IZ3s0hLIEtBTKm34ttR0aKUBG+ZGD4jnZRVj4BZcX+OXKRChUbZMNNjT Qr6FHqMWQp0p354LtkuSyrnbtouTbtg9QhyFwT+T6kV2FOsm36wb0J4SROiYUu0e pwbJGMYMW2eXpEYPOErlCcMNPqUfox+yWMOQJ9xkxNLtjAjOwHoo8/OMUesXzNlx 0+7zC7Q1IlOhKrqwvUtA== 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 3y75w05m43-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 16:01:11 +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 2AF044004F; 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 578D4222C89; Mon, 20 May 2024 16:00:38 +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:38 +0200 From: Valentin Caron To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alexandre Torgue CC: , , , , Valentin Caron Subject: [PATCH 3/3] arm64: dts: st: add usart6 on stm32mp257f-ev1 board Date: Mon, 20 May 2024 16:00:24 +0200 Message-ID: <20240520140024.3711080-4-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_070123_630785_17CAAAE8 X-CRM114-Status: GOOD ( 10.32 ) 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 node for USART6 on stm32mp257f-ev1 board. Signed-off-by: Valentin Caron --- arch/arm64/boot/dts/st/stm32mp257f-ev1.dts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts index 27b7360e5dbaf..18c6266532b29 100644 --- a/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts +++ b/arch/arm64/boot/dts/st/stm32mp257f-ev1.dts @@ -18,6 +18,7 @@ / { aliases { serial0 = &usart2; + serial1 = &usart6; }; chosen { @@ -109,3 +110,12 @@ &usart2 { pinctrl-2 = <&usart2_sleep_pins_a>; status = "okay"; }; + +&usart6 { + pinctrl-names = "default", "idle", "sleep"; + pinctrl-0 = <&usart6_pins_a>; + pinctrl-1 = <&usart6_idle_pins_a>; + pinctrl-2 = <&usart6_sleep_pins_a>; + uart-has-rtscts; + status = "disabled"; +};