OSDN Git Service

ARM: dts: imx6qp-prtwd3: configure ENET_REF clock to 125MHz
authorOleksij Rempel <o.rempel@pengutronix.de>
Wed, 11 Aug 2021 07:38:35 +0000 (09:38 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sat, 14 Aug 2021 05:45:58 +0000 (13:45 +0800)
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 <o.rempel@pengutronix.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6qp-prtwd3.dts

index c427239..b92e0f2 100644 (file)
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_enet>;
+       assigned-clocks = <&clks IMX6QDL_CLK_ENET_REF>;
+       assigned-clock-rates = <125000000>;
        status = "okay";
 
        phy-mode = "rgmii";