MLK-16686-1 clk: imx8mq: add the mu clk
authorRichard Zhu <hongxing.zhu@nxp.com>
Fri, 20 Oct 2017 06:01:55 +0000 (14:01 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:39:05 +0000 (15:39 -0500)
add the mu clock

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
drivers/clk/imx/clk-imx8mq.c
include/dt-bindings/clock/imx8mq-clock.h

index d163252..33fdd5e 100644 (file)
@@ -763,6 +763,7 @@ static void __init imx8mq_clocks_init(struct device_node *ccm_node)
        clks[IMX8MQ_CLK_I2C2_ROOT] = imx_clk_gate4("i2c2_root_clk", "i2c2_div", base + 0x4180, 0);
        clks[IMX8MQ_CLK_I2C3_ROOT] = imx_clk_gate4("i2c3_root_clk", "i2c3_div", base + 0x4190, 0);
        clks[IMX8MQ_CLK_I2C4_ROOT] = imx_clk_gate4("i2c4_root_clk", "i2c4_div", base + 0x41a0, 0);
+       clks[IMX8MQ_CLK_MU_ROOT] = imx_clk_gate4("mu_root_clk", "ipg_root", base + 0x4210, 0);
        clks[IMX8MQ_CLK_OCOTP_ROOT] = imx_clk_gate4("ocotp_root_clk", "ipg_root", base + 0x4220, 0);
        clks[IMX8MQ_CLK_PCIE1_ROOT] = imx_clk_gate4("pcie1_root_clk", "pcie1_ctrl_div", base + 0x4250, 0);
        clks[IMX8MQ_CLK_PCIE2_ROOT] = imx_clk_gate4("pcie2_root_clk", "pcie2_ctrl_div", base + 0x4640, 0);
index 0af6808..68b8e8f 100644 (file)
 #define IMX8MQ_CLK_DRAM_ALT_ROOT               480
 #define IMX8MQ_CLK_DRAM_CORE                   481
 
-#define IMX8MQ_CLK_END                         482
+#define IMX8MQ_CLK_MU_ROOT                     482
+
+#define IMX8MQ_CLK_END                         483
 #endif /* __DT_BINDINGS_CLOCK_IMX8MQ_H */