diff options
-rw-r--r-- | arch/arm/mach-imx/clk-imx6q.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c index 563de726ee23..0bc3ea20cec7 100644 --- a/arch/arm/mach-imx/clk-imx6q.c +++ b/arch/arm/mach-imx/clk-imx6q.c | |||
@@ -505,7 +505,14 @@ int __init mx6q_clocks_init(void) | |||
505 | clk[ldb_di1] = imx_clk_gate2("ldb_di1", "ldb_di1_podf", base + 0x74, 14); | 505 | clk[ldb_di1] = imx_clk_gate2("ldb_di1", "ldb_di1_podf", base + 0x74, 14); |
506 | clk[ipu2_di1] = imx_clk_gate2("ipu2_di1", "ipu2_di1_sel", base + 0x74, 10); | 506 | clk[ipu2_di1] = imx_clk_gate2("ipu2_di1", "ipu2_di1_sel", base + 0x74, 10); |
507 | clk[hsi_tx] = imx_clk_gate2("hsi_tx", "hsi_tx_podf", base + 0x74, 16); | 507 | clk[hsi_tx] = imx_clk_gate2("hsi_tx", "hsi_tx_podf", base + 0x74, 16); |
508 | clk[mlb] = imx_clk_gate2("mlb", "axi", base + 0x74, 18); | 508 | if (cpu_is_imx6dl()) |
509 | /* | ||
510 | * The multiplexer and divider of the imx6q clock gpu2d get | ||
511 | * redefined/reused as mlb_sys_sel and mlb_sys_clk_podf on imx6dl. | ||
512 | */ | ||
513 | clk[mlb] = imx_clk_gate2("mlb", "gpu2d_core_podf", base + 0x74, 18); | ||
514 | else | ||
515 | clk[mlb] = imx_clk_gate2("mlb", "axi", base + 0x74, 18); | ||
509 | clk[mmdc_ch0_axi] = imx_clk_gate2("mmdc_ch0_axi", "mmdc_ch0_axi_podf", base + 0x74, 20); | 516 | clk[mmdc_ch0_axi] = imx_clk_gate2("mmdc_ch0_axi", "mmdc_ch0_axi_podf", base + 0x74, 20); |
510 | clk[mmdc_ch1_axi] = imx_clk_gate2("mmdc_ch1_axi", "mmdc_ch1_axi_podf", base + 0x74, 22); | 517 | clk[mmdc_ch1_axi] = imx_clk_gate2("mmdc_ch1_axi", "mmdc_ch1_axi_podf", base + 0x74, 22); |
511 | clk[ocram] = imx_clk_gate2("ocram", "ahb", base + 0x74, 28); | 518 | clk[ocram] = imx_clk_gate2("ocram", "ahb", base + 0x74, 28); |