clk: imx6: Add definition for IMX6QDL_CLK_ENET clock
authorLukasz Majewski <lukma@denx.de>
Mon, 24 Feb 2020 13:55:24 +0000 (14:55 +0100)
committerLukasz Majewski <lukma@denx.de>
Mon, 24 Aug 2020 09:03:26 +0000 (11:03 +0200)
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>
drivers/clk/imx/clk-imx6q.c

index 11d1943..d954af9 100644 (file)
@@ -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;
 }