From patchwork Mon Aug 26 21:59:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Francesco Dolcini X-Patchwork-Id: 13778569 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 46E3EC5472C for ; Mon, 26 Aug 2024 22:07:49 +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=SDG2/Gs74zsbXlc1LkgedRkmMLU/OqYN0TCFF8ojvrI=; b=xVoetIIMyJSEnpnLA8+p4zD32G dkxdxCXdsDbbWP3+W5H12Bp/lVX8nlcd1mkgO+XfDK8BhB1fx5jUFR+AShVLzzPg6kPD35NcB5E8g f0VQthby1MgWkYe07IYnCD2tKoqql4riCTtzRDKPFqgjGsEzCHtTRxIwsqSIJGqYGsF9hO3iGkEch qMQ7L7gs3bf2kzuQx3DbiW63mTeTZaapKDNxfq9BmJkFLzYRJHa8Qk5KpQZ08Huv3bqNZEguP3XEF 7e5jGkb9me+WXkBtivYMwuN1eABMY+XgBOCcU1fIx3frXcfwdz3b/enaiTzsHmz8T//KP1XpMpwXw VE7jsjdQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sihsB-00000008wMU-0wku; Mon, 26 Aug 2024 22:07:39 +0000 Received: from mail11.truemail.it ([217.194.8.81]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sihka-00000008uc4-0Izj for linux-arm-kernel@lists.infradead.org; Mon, 26 Aug 2024 21:59: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 A5C0D2507A; Mon, 26 Aug 2024 23:59:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1724709582; bh=SDG2/Gs74zsbXlc1LkgedRkmMLU/OqYN0TCFF8ojvrI=; h=From:To:Subject; b=XDJ3HRc7pisfH/tnnEYXxfghttI3aMlXzuqKns38q+C769ZWj/kkSQjYMY682ewav u3hT1Zizs5kdEozgCGUZYMLxgRtOwBgD7JluWGGWcruJQF7FYMpFPAgEKQJtRbvilj ShYHfKYXo+ZAj1zilp2o/v/KJ0KQrR1/VdqIIZm7FlO0HMdPDcpsaD2wHraq8iSCVf izQLrUoAQ28x+xKJ9tgts1FrOx58zzFceb0HS89dvwkxQwlvs6dKKlLK0wzTwA7DY4 n9QF0v3c2sc8OMpWMsUr8OcczvhpnafYz+k4AyyghE0FgiiqM+zZUnUUuMGQaXv6oB mwhlNogXYJu+g== 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 v1 09/10] arm64: dts: colibri-imx8x: Add 50mhz clock for eth Date: Mon, 26 Aug 2024 23:59:21 +0200 Message-Id: <20240826215922.13225-10-francesco@dolcini.it> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240826215922.13225-1-francesco@dolcini.it> References: <20240826215922.13225-1-francesco@dolcini.it> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240826_145948_365888_48CAC493 X-CRM114-Status: UNSURE ( 8.37 ) 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 --- 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 9cd4383e9298..75259e8d48a9 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 */