From patchwork Mon Apr 22 00:19:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13637568 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 D448EC07C79 for ; Mon, 22 Apr 2024 00:21:47 +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=skfdZXXN5E5opIzeiKUCLJ91CmuF6yA4JVSAyXmRzbA=; b=ezUf+faaFvRuvm qna++8cDKQ8AfdZmC3sZnXaPUcO+9lMQJwdYIemKWPSZOyk1FMyDJQ4DiUiZaIU05KFksgKpc4Uza yuDAGOUZcdj25MpkcW+GBMDbywbcunafp0TJUeChUfgfWtlc9I3EbqIbos5o466s0gRrNxB/mtbFc +WjPGD2ucDEx9SvvywTRctPzCvd5kW+ncXSj0hX9RniA/Gjhm2NpNEFIWa3n3mknMtPIodJbxRvB6 73yrdeIcbO4XAJGPOIsV9hSWt5Qfyj7UQ9XmKpn/HNgumc5Y0k92sZipWOt8Q/GoR083ucjt/Obxa wKVMTM2hMAYpyBnryamg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryhR8-0000000BZY6-3ga8; Mon, 22 Apr 2024 00:21:34 +0000 Received: from phobos.denx.de ([85.214.62.61]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ryhQI-0000000BZ5j-42Jw for linux-arm-kernel@lists.infradead.org; Mon, 22 Apr 2024 00:20:45 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (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 134298831B; Mon, 22 Apr 2024 02:20:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1713745239; bh=U6OXe3iOD5fZCqMs7QRYrZI9uKIZWCurYJkKsXMYTRc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GIVzd3RKZ0Jm3NZfso7t4PFqI4TVz9WoOr93OOt84ecNHw8QHvAvU+5NdcKdJLSfH c/VIJJysS8UiIzzqNW1If4vnXCZl/V+1FGC+C/XmSPlkirQnFAsx0O+S97lSesMRUE 7zuBhP3yW5ky4PEVvHEMr7zvK/gCEISqSlaZEVriFXCwFtYaqI33vDCEomSeTrMdwo 5o/TgDiFmoEkl5UUs3nw/ZHBu/bh1kyUd97j1ufLpRIEGu+EUjrOSRE+nmTcU+tuFs RCEutUEa0d+Kp/VGr6uYf8RdIk2C6LqlUwF7rmBCJPcRbq1CkzM0LHddqiwOa9ZJ+f S2/85eL1GDaMQ== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , =?utf-8?q?Leonard_G=C3=B6hrs?= , Ahmad Fatoum , Alexandre Torgue , Andre Przywara , Conor Dooley , Dario Binacchi , Krzysztof Kozlowski , Linus Walleij , Maxime Coquelin , Rob Herring , Sean Nyekjaer , Steffen Trumtrar , devicetree@vger.kernel.org, kernel@dh-electronics.com, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 07/20] ARM: dts: stm32: Add alternate pinmux for MP13 MCAN1 pins Date: Mon, 22 Apr 2024 02:19:21 +0200 Message-ID: <20240422002006.243687-7-marex@denx.de> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240422002006.243687-1-marex@denx.de> References: <20240422002006.243687-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240421_172043_223765_E18AF84E X-CRM114-Status: GOOD ( 11.19 ) 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 MCAN1 pins, this is used on DH electronics STM32MP13xx DHCOR DHSBC board. Signed-off-by: Marek Vasut --- Cc: "Leonard Göhrs" Cc: Ahmad Fatoum Cc: Alexandre Torgue Cc: Andre Przywara Cc: Conor Dooley Cc: Dario Binacchi Cc: Krzysztof Kozlowski Cc: Linus Walleij Cc: Maxime Coquelin Cc: Rob Herring Cc: Sean Nyekjaer Cc: Steffen Trumtrar Cc: devicetree@vger.kernel.org Cc: kernel@dh-electronics.com Cc: linux-arm-kernel@lists.infradead.org Cc: linux-stm32@st-md-mailman.stormreply.com --- arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi index cfbae71efc729..b38174504fffa 100644 --- a/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi +++ b/arch/arm/boot/dts/st/stm32mp13-pinctrl.dtsi @@ -168,6 +168,26 @@ pins { }; }; + m_can1_pins_a: m-can1-0 { + pins1 { + pinmux = ; /* CAN1_TX */ + slew-rate = <1>; + drive-push-pull; + bias-disable; + }; + pins2 { + pinmux = ; /* CAN1_RX */ + bias-disable; + }; + }; + + m_can1_sleep_pins_a: m_can1-sleep-0 { + pins { + pinmux = , /* CAN1_TX */ + ; /* CAN1_RX */ + }; + }; + mcp23017_pins_a: mcp23017-0 { pins { pinmux = ;