From patchwork Sun Jun 26 00:21:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12895537 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 16F6BC43334 for ; Sun, 26 Jun 2022 00:22:28 +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=OE2TPIVSblzsW0Fsv/GO3Y7UQUTYx5ReYrO+YLJkEaA=; b=QktxirFYStfCQf L6Gm1lcKypJ+EtH8pDox8mbBSv7xPdwZjJfroheFGQFhj63J2JFWPcz7Av91OeABrTnsKZh1dhAo7 NQiFI1mXhv476yyCBlCU5e3V33aRm4OaEqmz2x/fNjA1h9hb7SXshxoRnm/f1rBSKQQUG+3iaA6og X1q4baHCwRgLoZei9l822Vm7YUgWJtiLF27CD8pIHnYode6uUURcq61jA48mPMChEkkIxEN71IbgM xCqhAdSooCSezQOd+dbDchcssB9eUIqDdB+fYohDHbMDokwrVt5HFDa1ZXYBv1R3APnrmLWxbhhZC 9t++6WPdi6hJT+aHVttg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5G1l-008cMX-Pb; Sun, 26 Jun 2022 00:21:25 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1o5G1h-008cKf-IG for linux-arm-kernel@lists.infradead.org; Sun, 26 Jun 2022 00:21:23 +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 03FD883D9C; Sun, 26 Jun 2022 02:21:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1656202880; bh=Xjtf1ETt/1csbANbKEhaq/IqoWUQLWmt0OgiUCF4ork=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YbAltr2md4XfzpH+YN311/DYRs7KO32zcnfhLzBkVYlvPvPQWBE0Qf1ZLmNhixQeK EyosRW19XaxEfQIcCMdY7z6uLQ2tYWsXV3bL53Xponm6MiaRZwqKd0CTGy9yW6Z5AW iIMt+MnpzKkL5a5cANgUhPeS2kVbusYdfPLDZSeWOoMPaqntmWfbr/JzlW9EueXa2F tpo5AIwKPE8e5W78P1Cgnr+QvjcwDrSMwTxV6MSli7Je1vNs03thzP+zCpgH7Rqqlp FnYd+1SauiVQkg/LZ9g/Ehte6HHU6JUhGDnFbHWIqT44xb4+V21nb3Dw066dcopeTm 6xyGc6tXGTQoA== 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 2/7] ARM: dts: stm32: Add alternate pinmux for CAN1 pins Date: Sun, 26 Jun 2022 02:21:00 +0200 Message-Id: <20220626002105.198854-2-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_172121_812066_D8B998F0 X-CRM114-Status: UNSURE ( 9.15 ) 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 CAN1 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 | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index 3c77234b51ac3..b4cfa11fc9be9 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -1030,6 +1030,26 @@ pins { }; }; + m_can1_pins_c: m-can1-2 { + pins1 { + pinmux = ; /* CAN1_TX */ + slew-rate = <1>; + drive-push-pull; + bias-disable; + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-disable; + }; + }; + + m_can1_sleep_pins_c: m_can1-sleep-2 { + pins { + pinmux = , /* CAN1_TX */ + ; /* CAN1_RX */ + }; + }; + m_can2_pins_a: m-can2-0 { pins1 { pinmux = ; /* CAN2_TX */