2021-08-11 07:43:02

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH v1] ARM: dts: imx6qp-prtwd3: configure ENET_REF clock to 125MHz

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 <[email protected]>
---
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


2021-08-14 05:55:53

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH v1] ARM: dts: imx6qp-prtwd3: configure ENET_REF clock to 125MHz

On Wed, Aug 11, 2021 at 09:38:35AM +0200, Oleksij Rempel wrote:
> 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 <[email protected]>

Applied, thanks!