ARM: dts: ci4x10: Adapt to changes in imx6qdl.dtsi regarding fec clocks
authorThorsten Scherer <t.scherer@eckelmann.de>
Wed, 6 Apr 2022 04:39:45 +0000 (06:39 +0200)
committerShawn Guo <shawnguo@kernel.org>
Mon, 11 Apr 2022 06:07:32 +0000 (14:07 +0800)
Commit f3e7dae323ab ("ARM: dts: imx6qdl: add enet_out clk
support") added another item to the list of clocks for the fec
device. As imx6dl-eckelmann-ci4x10.dts only overwrites clocks,
but not clock-names this resulted in an inconsistency with
clocks having one item more than clock-names.

Also overwrite clock-names with the same value as in
imx6qdl.dtsi. This is a no-op today, but prevents similar
inconsistencies if the soc file will be changed in a similar way
in the future.

Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fixes: f3e7dae323ab ("ARM: dts: imx6qdl: add enet_out clk support")
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx6dl-eckelmann-ci4x10.dts

index b4a9523..864dc50 100644 (file)
        phy-mode = "rmii";
        phy-reset-gpios = <&gpio1 18 GPIO_ACTIVE_LOW>;
        phy-handle = <&phy>;
-       clocks = <&clks IMX6QDL_CLK_ENET>, <&clks IMX6QDL_CLK_ENET>, <&rmii_clk>;
+       clocks = <&clks IMX6QDL_CLK_ENET>,
+                <&clks IMX6QDL_CLK_ENET>,
+                <&rmii_clk>,
+                <&clks IMX6QDL_CLK_ENET_REF>;
+       clock-names = "ipg", "ahb", "ptp", "enet_out";
        status = "okay";
 
        mdio {