[PATCH 1/3] ARM: i.MX6 dtsi: add enet_out clock

Marco Felsch m.felsch at pengutronix.de
Thu Aug 6 05:29:17 EDT 2020


The barebox fec driver supports enet_clk out since commit 2de277264c
("i.MX: fec: Enable all clocks specified for FEC") but unfortunately
this clock is not specified upstream. Enable it here till we can use it
from upstream to make it clear that IMX6QDL_CLK_ENET_REF should be used
as enet_out clock.

Signed-off-by: Marco Felsch <m.felsch at pengutronix.de>
---
 arch/arm/dts/imx6qdl.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi
index 828be9ce0d..9d37133bbf 100644
--- a/arch/arm/dts/imx6qdl.dtsi
+++ b/arch/arm/dts/imx6qdl.dtsi
@@ -8,3 +8,11 @@
 		ipu0 = &ipu1;
 	};
 };
+
+&fec {
+	clocks = <&clks IMX6QDL_CLK_ENET>,
+		 <&clks IMX6QDL_CLK_ENET>,
+		 <&clks IMX6QDL_CLK_ENET_REF>;
+		 <&clks IMX6QDL_CLK_ENET_REF>;
+	clock-names = "ipg", "ahb", "ptp", "enet_out";
+};
-- 
2.20.1




More information about the barebox mailing list