From patchwork Sun Sep 1 15:57:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13786546 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 11D31CD3420 for ; Sun, 1 Sep 2024 16:07:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=C7ZOumTw1p40Es14ioXFW4jyqIiwFLtpXfMrrFijnPs=; b=NJqaFCeZXbCXWGnpg4e77Peq/Y WYq95mJot7fxz6n/ilEdn8M6rIleCAPUK/Duarhea3X+TjdWqqzrAtLVhqjPK/aBbUCQAzLP9s6Z1 RwXI7jg5oKjFcb1whJ4ccC2qckxEOkbi0qfWHYTW11ab0Gf5ctszsi5UJ6N/LxWzljPVjYsWMcsP+ 6igk9hW6dwhxtl4V2aZeU3GIAk+XwbdsWMzBZpVXqBKVQ7iQNyBA7zXyPf0IzPwMj6bbVvrYACPh5 s8Pu9d1xKUTd/gzHemgbszX2nzWtGfaIuFFoBta415hhtYBjY8qpzRdzbFLsIrAEJr2MCyDq3TWzT WUo1n49g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1skn6p-0000000BuVs-1Jq7; Sun, 01 Sep 2024 16:07:23 +0000 Received: from mail11.truemail.it ([2001:4b7e:0:8::81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1skmxX-0000000BslC-1VJa for linux-arm-kernel@lists.infradead.org; Sun, 01 Sep 2024 15:57:50 +0000 Received: from francesco-nb.pivistrello.it (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id D603A1FB21; Sun, 1 Sep 2024 17:57:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1725206261; bh=C7ZOumTw1p40Es14ioXFW4jyqIiwFLtpXfMrrFijnPs=; h=From:To:Subject; b=KtH+u+p0NeBh2WQFw1lhOvD0/G5ZQD9etbivqCMe+l2DVt/PNHQFP0OmfEoXJUENk CdXqfVMPaocsWBpAza/YETOM93tXRDKmDKGOmwneHLC/sUnKUqHCcjbaXMwQjqTaE/ ox2yBaW2y97nyLgFunR1+L5SQPXb9jQv0bTbAUN90naBrR8+p7p9l4+EDK9+k4WW/K kjagGEhOtUxJ9mQDWbOoMD4UOfLOrO2y5B+Jmj/VHAcPXTrJOzhBUCbq0cGM4Jl5P4 AjXJSAESAUEV5B0Ox5EFAxmcA9DFPsyzTsw4gY83/Ju1qkJ0sJ80y5kuQnyeiNE3Il z9dr1kJWXRlYg== From: Francesco Dolcini To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Philippe Schenker , devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Francesco Dolcini Subject: [PATCH v2 09/10] arm64: dts: colibri-imx8x: Add 50mhz clock for eth Date: Sun, 1 Sep 2024 17:57:20 +0200 Message-Id: <20240901155721.7912-10-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240901155721.7912-1-francesco@dolcini.it> References: <20240901155721.7912-1-francesco@dolcini.it> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240901_085747_600192_AD9875BC X-CRM114-Status: UNSURE ( 9.08 ) 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 From: Philippe Schenker Change enet0_lpcg to get the clock value needed in Colibri-iMX8X for 100mbps ethernet. Signed-off-by: Philippe Schenker Signed-off-by: Francesco Dolcini --- v2: no changes --- arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi index 7a40a827ef75..cf689904c166 100644 --- a/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8x-colibri.dtsi @@ -106,6 +106,21 @@ &cpu_crit0 { type = "critical"; }; +&enet0_lpcg { + clocks = <&clk IMX_SC_R_ENET_0 IMX_SC_PM_CLK_PER>, + <&clk IMX_SC_R_ENET_0 IMX_SC_PM_CLK_PER>, + <&conn_axi_clk>, + <&clk IMX_SC_R_ENET_0 IMX_SC_C_DISABLE_50>, + <&conn_ipg_clk>, + <&conn_ipg_clk>; + clock-output-names = "enet0_lpcg_timer_clk", + "enet0_lpcg_txc_sampling_clk", + "enet0_lpcg_ahb_clk", + "enet0_lpcg_ref_50mhz_clk", + "enet0_lpcg_ipg_clk", + "enet0_lpcg_ipg_s_clk"; +}; + /* TODO flexcan1 - 3 */ /* TODO GPU */