summaryrefslogtreecommitdiff
path: root/drivers/clk/imx/clk-imx6q.c
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2020-02-24 14:55:24 +0100
committerLukasz Majewski <lukma@denx.de>2020-08-24 11:03:26 +0200
commitd71fac847904af35ebf8c47c42ccf9ee442190b3 (patch)
tree5e242c35e86d449472fc11983495fdf2e26a4f0b /drivers/clk/imx/clk-imx6q.c
parent6befc1f900db638ae54ea1bbab51a42cd1d5a153 (diff)
clk: imx6: Add definition for IMX6QDL_CLK_ENET clock
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@denx.de>
Diffstat (limited to 'drivers/clk/imx/clk-imx6q.c')
-rw-r--r--drivers/clk/imx/clk-imx6q.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/imx/clk-imx6q.c b/drivers/clk/imx/clk-imx6q.c
index 11d194363d..d954af9a07 100644
--- a/drivers/clk/imx/clk-imx6q.c
+++ b/drivers/clk/imx/clk-imx6q.c
@@ -183,6 +183,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;
}