From patchwork Sun Jun 26 00:21:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12895539 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 54721C43334 for ; Sun, 26 Jun 2022 00:22:44 +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=QfF9iZrV+zbI2T3QDASTm1oqf4JVZmGnacOB5B5O4LQ=; b=0ltbaem+Qjagx8 G6+sTHHEViNZi5T4tUGxjEpoXDDLW4h43v2OnhLN8qjgwo7CrLmG/IX/IF1T0mWdZCeK5E/uH9/5V wNczFmKKniBn+Qy4tux1Q1PJGqG4W1NoJYdwbT+aynymbiwISDb8R2ZA8uMgh5UFlNxlhWhk5rZDg JkxqntR2fN6ANlAO8USxSos0M1Qc/+Nu1BHDaMgvlbeE7fu2oTkhpM/2R0Ir20MrgpvoVeAOXZFdx 6MQQyuqcIfPrAbv0jT3Pe6TArQY7TUfDzJT6vBjZ/SFEJotB1HNMioayrxz4Tw4TGq3x1GYFPgAwT /E/L6ZkOWsDUEMfeko/Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5G23-008cSU-Fk; Sun, 26 Jun 2022 00:21:43 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5G1i-008cKo-Ao for linux-arm-kernel@lists.infradead.org; Sun, 26 Jun 2022 00:21:24 +0000 Received: from tr.lan (ip-86-49-12-201.net.upcbroadband.cz [86.49.12.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id AAC5C84476; Sun, 26 Jun 2022 02:21:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1656202880; bh=aLG76o4NPaTB6dv0s8UmBCPpE7BT52bJcDFpgnAtK1s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rvvro+bM1GHzJSO/8y2ndHuIorY8CRV57qJDx3e78Zc8uPwozWKcrK7GHvolQ/zLI LgS+CZboytTlq016bL3kqBTFxTUD4+U5Lwzb/Ys9P3hqZA+pGKt1wJ2s9HZddOqyyZ az0DH5m+j1nACXa3kV6pBHH8ADpUOBAyy8Rr9o5BBO1vaaneUfbw5nBHcXW/R4BLE9 /4IsVy+x2tVsCfCvLmlP6yTt/bkf1Bugjt0vNhtqCCcGjfYHxmowZufXmVX2BTKbdz 3OsT9kuU+Ci71r+8ZDYB/ShaKfc1jP5d7WCOIxZTh2xmII3KatjHpQvHB2B7K+fNQI pKgwZq3qnYEpA== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Alexandre Torgue , linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH v3 5/7] ARM: dts: stm32: Add alternate pinmux for UART4 pins Date: Sun, 26 Jun 2022 02:21:03 +0200 Message-Id: <20220626002105.198854-5-marex@denx.de> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220626002105.198854-1-marex@denx.de> References: <20220626002105.198854-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220625_172122_564810_E4A0C57C X-CRM114-Status: UNSURE ( 9.50 ) 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 Add another mux option for UART4 pins, this is used on DRC Compact board. Signed-off-by: Marek Vasut Cc: Alexandre Torgue Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org --- V2: No change V3: No change --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 30 ++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index ebc3ddcf88867..77b0ecc9d7fd3 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -1971,6 +1971,36 @@ pins2 { }; }; + uart4_pins_d: uart4-3 { + pins1 { + pinmux = ; /* UART4_TX */ + bias-disable; + drive-push-pull; + slew-rate = <0>; + }; + pins2 { + pinmux = ; /* UART4_RX */ + bias-disable; + }; + }; + + uart4_idle_pins_d: uart4-idle-3 { + pins1 { + pinmux = ; /* UART4_TX */ + }; + pins2 { + pinmux = ; /* UART4_RX */ + bias-disable; + }; + }; + + uart4_sleep_pins_d: uart4-sleep-3 { + pins { + pinmux = , /* UART4_TX */ + ; /* UART4_RX */ + }; + }; + uart7_pins_a: uart7-0 { pins1 { pinmux = ; /* UART7_TX */