Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4233196pxt; Wed, 11 Aug 2021 00:43:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYHAXrBpVVIcwok3FqE29ccGczeJvkKLvFQfwYNo7OUs62fiVMJyzUoGPBoj7tGWicIiXl X-Received: by 2002:a17:906:491a:: with SMTP id b26mr2389352ejq.25.1628667781836; Wed, 11 Aug 2021 00:43:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628667781; cv=none; d=google.com; s=arc-20160816; b=hz9QwTOWcTbn/t2ZN6AgYsQpvaaHvDOkt3U4uAHvTkECvkE2lITS1IVFPZjwgDKU5c 6FE4hBS7MrI4yJTXwq6weGfaDpJRU9KLKedr5+r2En3bXUebTYtF4iRy+nzJIsaTcSpB 55ytda4xxiUHcTT1GwVBNlpiODY9mFtLsq2Crwq4dECd1bKzPvd5IzmpHjCZ46DvsTgv qJ5mHurGu4bP9wyfaWEYeRhNxH8quT5dgAkZpTUTo1SywmiL0z9U0BOHTsRp1XtFvSM0 hBBlMpuR3FgderKEa1Ny02ggDdTcRpIwMhCHJwBv7fc1JiVe0JnPD0ge+hMAPDkjvpJV DdOA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=psW1d3uHbaADS09xEMUwH6htoE+MWc9OaR3CU0Ser44=; b=CRgYIsdwxleGddnMwhBnZPk+2tqSsdSfKV4U/pZjOOx8PuXFS/045FuciaOskbDdx9 EfqGGVEMX2PkTg89jc6kMS6g2vhWdCutq84eKP2aLLiJYQJTDSjZNYnSH+kpjvvti/cK doA3L36H6/mknVdZqXqGK0nWGYZ6HdJ4o7n2l83QEFKm4bPzDQEMQyVIEeoBE0IS729D qKaCemSzNuGoRZ02/+8wkHNQk/ngFSJp3NAV5tAdb34jQfuhzLW9OevJk+E4YVaNdrVR /MSpnHzzTAj14T3b8R6OWCcF50DU7wX+g+IJfsI6eAUZGz8TJtJ0XWMGH+NoGVAmP2Ps pyfQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q1si2207819ejr.43.2021.08.11.00.42.38; Wed, 11 Aug 2021 00:43:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235699AbhHKHjN (ORCPT + 99 others); Wed, 11 Aug 2021 03:39:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235721AbhHKHjH (ORCPT ); Wed, 11 Aug 2021 03:39:07 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5981C0613D3 for ; Wed, 11 Aug 2021 00:38:44 -0700 (PDT) Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDiov-00062w-6P; Wed, 11 Aug 2021 09:38:37 +0200 Received: from ore by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mDiou-0008MK-6T; Wed, 11 Aug 2021 09:38:36 +0200 From: Oleksij Rempel To: Rob Herring , Sascha Hauer , Shawn Guo Cc: Oleksij Rempel , devicetree@vger.kernel.org, Fabio Estevam , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, NXP Linux Team , Pengutronix Kernel Team , David Jander Subject: [PATCH v1] ARM: dts: imx6qp-prtwd3: configure ENET_REF clock to 125MHz Date: Wed, 11 Aug 2021 09:38:35 +0200 Message-Id: <20210811073835.32082-1-o.rempel@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2001:67c:670:100:1d::7 X-SA-Exim-Mail-From: ore@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org By default ENET_REF is configured to 50MHz, which is usable for the RMII link. In case RGMII is used, we need 125MHz clock. Signed-off-by: Oleksij Rempel --- arch/arm/boot/dts/imx6qp-prtwd3.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/imx6qp-prtwd3.dts b/arch/arm/boot/dts/imx6qp-prtwd3.dts index 9cbe3386c51a..effe032273f7 100644 --- a/arch/arm/boot/dts/imx6qp-prtwd3.dts +++ b/arch/arm/boot/dts/imx6qp-prtwd3.dts @@ -256,6 +256,8 @@ can@0 { &fec { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_enet>; + assigned-clocks = <&clks IMX6QDL_CLK_ENET_REF>; + assigned-clock-rates = <125000000>; status = "okay"; phy-mode = "rgmii"; -- 2.30.2