From patchwork Tue Jan 18 20:29:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 12716873 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B285C433FE for ; Tue, 18 Jan 2022 20:30:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349110AbiARUaU (ORCPT ); Tue, 18 Jan 2022 15:30:20 -0500 Received: from phobos.denx.de ([85.214.62.61]:50826 "EHLO phobos.denx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349064AbiARUaU (ORCPT ); Tue, 18 Jan 2022 15:30:20 -0500 Received: from tr.lan (ip-89-176-112-137.net.upcbroadband.cz [89.176.112.137]) (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 87D478386E; Tue, 18 Jan 2022 21:30:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1642537819; bh=W40qSM49y597v8Y85w39P/Zs0QIxrEyWNi7ZCDJfUAo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kfL2XV51OWkOPCBhhCQomG1qAvc8TnJNwC+sj8ADaei6HI8niCgBEu/p1L0OYjMJi M1XhRV0sznFMf1IlMwixJ/Ttngwt2njVQPonmPlKe0wO5qolWcatNzjyoaCdXQ+8j9 oBIWG4SNRJIZykT0Vr7HhbuflgCF437+8xOVWRo2ki3peHnVxpklkS14xDHFHMoOf3 CmAdJ9F2whvx+v4gH1E5MmvuhKQ92ZklYiA6UUHT1OFjDN4z4kqN8TpQ6f6ePdJ0uQ XztZUOcHC2C9G0j0NnKdwH593PdSdicc+m+vDlLfKESfNUQyE7MbkiORFJnGMlLMZq plIOlIHS5kTYQ== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: jneuhauser@dh-electronics.com, Marek Vasut , Alexandre Torgue , Christophe Roullier , Gabriel Fernandez , Patrice Chotard , Patrick Delaunay , Stephen Boyd , linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com Subject: [PATCH 4/5] ARM: dts: stm32: Add alternate pinmux for mco2 pins Date: Tue, 18 Jan 2022 21:29:57 +0100 Message-Id: <20220118202958.1840431-4-marex@denx.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220118202958.1840431-1-marex@denx.de> References: <20220118202958.1840431-1-marex@denx.de> MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Add pinmux option for MCO2 pin. This is used on DHCOM when the ethernet PHY 50 MHz clock is generated by the MCO2 on PG2 pin. Signed-off-by: Marek Vasut Cc: Alexandre Torgue Cc: Christophe Roullier Cc: Gabriel Fernandez Cc: Patrice Chotard Cc: Patrick Delaunay Cc: Stephen Boyd Cc: linux-clk@vger.kernel.org Cc: linux-stm32@st-md-mailman.stormreply.com To: linux-arm-kernel@lists.infradead.org --- arch/arm/boot/dts/stm32mp15-pinctrl.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi index 2cd2ac9beaf20..6da84e3f05ea3 100644 --- a/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi +++ b/arch/arm/boot/dts/stm32mp15-pinctrl.dtsi @@ -882,6 +882,21 @@ pins { }; }; + mco2_pins_a: mco2-0 { + pins { + pinmux = ; /* MCO2 */ + bias-disable; + drive-push-pull; + slew-rate = <2>; + }; + }; + + mco2_sleep_pins_a: mco2-sleep-0 { + pins { + pinmux = ; /* MCO2 */ + }; + }; + m_can1_pins_a: m-can1-0 { pins1 { pinmux = ; /* CAN1_TX */