diff mbox series

[1/3] clk: imx6: Add definition for IMX6QDL_CLK_ENET clock

Message ID 20200224135526.25534-2-lukma@denx.de
State Accepted
Commit d71fac847904af35ebf8c47c42ccf9ee442190b3
Headers show
Series clk: Fix ETH initialization on i.MX6Q boards using CCF | expand

Commit Message

Lukasz Majewski Feb. 24, 2020, 1:55 p.m. UTC
After commit 673f6597321d ("net: fec_mxc: support i.MX8M with CLK_CCF") all
NXP boards, which are not IMX8 and in the same time are supporting CCF
need to provide IMX6QDL_CLK_ENET.

This change defines the missing clock in i.MX6Q's CCF.

Signed-off-by: Lukasz Majewski <lukma at denx.de>
---

 drivers/clk/imx/clk-imx6q.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c
index bd0d3e4f47..ace60ecec6 100644
--- a/drivers/clk/imx/clk-imx6q.c
+++ b/drivers/clk/imx/clk-imx6q.c
@@ -182,6 +182,7 @@  static int imx6q_clk_probe(struct udevice *dev)
 	clk_dm(IMX6QDL_CLK_I2C2,
 	       imx_clk_gate2("i2c2", "ipg_per", base + 0x70, 8));
 
+	clk_dm(IMX6QDL_CLK_ENET, imx_clk_gate2("enet", "ipg", base + 0x6c, 10));
 	return 0;
 }