From patchwork Fri Mar 14 15:35:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Frattaroli X-Patchwork-Id: 14017076 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 C4829C35FF1 for ; Fri, 14 Mar 2025 15:37:45 +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:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:To:Message-Id:MIME-Version:Subject:Date :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=ho8UmY6HxkUjJrRJTY2CtqKAynqNllDpAKlps0zTVTo=; b=ByVnt2fTu74WsA j4Y9rn6G+rT9z+X6qejwVFEPc3HiJ0G1lrtnnqnXy0zAp/PgmpU3EAQkDY57ZL5kacp/q1ERHae+Q gThNi4m427Vp/3IZBt7RhsBMsFSSoVHLk4MhMD+p/8TFIKEiTNAUCuArAsXVsqO/K+YGx+8roW7Zg FcLXDlatDgJr96NRbWbKRJ/D1sa/sZyXc/48v4gafou/QKWb+tXA4CtkagufwO0s98+5xwZwAzzY5 5gktWaBlGq0OBO87c/+pZccPmrWGc+Lt/jOsvoFp0u0D1kmz30I+gvUu0jxEyozkCc6th3k+8W2mT 0UALCNxK9fiwBm08z5FQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tt76N-0000000EaoE-20tF; Fri, 14 Mar 2025 15:37:35 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tt758-0000000EacN-413N; Fri, 14 Mar 2025 15:36:20 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1741966565; cv=none; d=zohomail.com; s=zohoarc; b=PH0peLsQ4tiFcVGS74DvmopCRtbGLfiedDR3mEUFVsIwmAl6NFJb/3GXqmc+LPcdInqS9Ry/Oahq1EkdK0asI1sn7uSIlTCSL6DLypuT+H5bWUrAOK60djkTEWDJL9CD1AiQV3u3LBLF+08Gf3j+mOTn17ZAa89fzFTJKUv5kCY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1741966565; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To; bh=eNFlSyQCkPuL0ajw/pLDK4UmjuztRI2TDMkUK/3j3oY=; b=SryHhGeBYSOe849kXQn2PFWJIyrWBQYBD0hx958FvuHVr0Nii7ECR8b2SEiKokwa6jN9QgUegg+4xlvuEUOQRw/7W8ioz48DQmjOl8OZmsLgDfO7OQvXaolrPKD6Wi5q2pue/7c9PGizzbt1rFn+x3gF/5ZWGG4x3eVLehDQ1nM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=nicolas.frattaroli@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1741966565; s=zohomail; d=collabora.com; i=nicolas.frattaroli@collabora.com; h=From:From:Date:Date:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Message-Id:To:To:Cc:Cc:Reply-To; bh=eNFlSyQCkPuL0ajw/pLDK4UmjuztRI2TDMkUK/3j3oY=; b=eQVWLrCZK2/8GkddSXPLqkBegW219WZnCOtTiV+S/RP9YbH1OqpotbmdNqZoPBPX ilzcXGSiCCdwUfZAE9SCCWRXbvsLqqgQl7QUNr8es8CKLd/8fi7/F3VRJl66/3trg8K GEEDLPwJeQaVhVTITxwiyiTq+HUYORYNvzBvk8ks= Received: by mx.zohomail.com with SMTPS id 1741966563898497.5207724506298; Fri, 14 Mar 2025 08:36:03 -0700 (PDT) From: Nicolas Frattaroli Date: Fri, 14 Mar 2025 16:35:50 +0100 Subject: [PATCH] arm64: dts: rockchip: remove ethm0_clk0_25m_out from Sige5 gmac0 MIME-Version: 1.0 Message-Id: <20250314-rk3576-sige5-eth-clk-begone-v1-1-2858338fc555@collabora.com> X-B4-Tracking: v=1; b=H4sIANVM1GcC/zWNQQ6CMBQFr0L+2p9QsKBcxbCA8iw/SNG2GhLC3 W0kLmcWMxsFeEGgJtvI4yNBFpdAnTIyY+csWIbEVOSFzkt1Zj+Vuq44iIVmxJHNY+IednHgUg3 q2tVGobpQKjw97rL+6rf2YI/XO03iIanvAtgs8yyxyRzWyP8Rtfv+BbfMeRKeAAAA X-Change-ID: 20250314-rk3576-sige5-eth-clk-begone-31d19a7c1e68 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Detlev Casanova , Sebastian Reichel X-Mailer: b4 0.14.2 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250314_083619_075365_849CCC1D X-CRM114-Status: GOOD ( 13.54 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, kernel@collabora.com, linux-arm-kernel@lists.infradead.org Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org The GPIO3 A4 pin on the ArmSoM Sige5 is routed to the 40-pin GPIO header. This pin can serve a variety of functions, including ones of questionable use to us on a GPIO header such as the 25MHz clock of the ethernet controller. Unfortunately, this is the precise function that it is being claimed for by the gmac0 node in the Sige5 board dts, meaning it can't be used for anything else despite serving no useful function in this role. Since it goes through a RS0108 bidirectional voltage level translator with a maximum data rate of 24Mbit/s in push-pull mode and 2Mbit/s data rate in open-drain mode, it's doubtful as to whether the 25MHz clock signal would even survive to the actual user-accessible pin it terminates in. Remove it to leave the pin for users to play with. It's infinitely more useful as a GPIO or even as a PWM. Fixes: 40f742b07ab2 ("arm64: dts: rockchip: Add rk3576-armsom-sige5 board") Signed-off-by: Nicolas Frattaroli --- While working on a PWM driver for RK3576 and needing a PWM pin to test with, I noticed this questionable pinctrl assignment. --- arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- base-commit: 40a111d0a777f60b71369d835cfe46308a212235 change-id: 20250314-rk3576-sige5-eth-clk-begone-31d19a7c1e68 Best regards, diff --git a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts index 78798b0722a3f36831b1d2c9f29acb83910631cf..828bde7fab68dc6bcbd13d75c8a72540b3666071 100644 --- a/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts +++ b/arch/arm64/boot/dts/rockchip/rk3576-armsom-sige5.dts @@ -194,8 +194,7 @@ &gmac0 { ð0m0_tx_bus2 ð0m0_rx_bus2 ð0m0_rgmii_clk - ð0m0_rgmii_bus - ðm0_clk0_25m_out>; + ð0m0_rgmii_bus>; phy-handle = <&rgmii_phy0>; status = "okay";