summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2020-01-13 16:13:54 +0800
committerPeng Fan <peng.fan@nxp.com>2020-01-13 18:40:33 +0800
commit414748562d097a8c58781753734cb722fec40c29 (patch)
tree86dd656f8a2e40dbac8f3219f9b2e0d8f57b500e /include/dt-bindings
parenta5a750b51272a225ac27e0760d1dc5287c1532ee (diff)
MLK-23228-3 clk: imx: imx8mn: fix a53 cpu clock
A53 CCM clk root only accepts input up to 1GHz, however the A53 core could run above 1GHz which voliates the CCM limitation. There is a CORE_SEL slice before A53 core, we need configure the CORE_SEL slice source from ARM PLL, not A53 CCM clk root. The A53 CCM clk root should only be used when need to change ARM PLL frequency. Add arm_a53_core clk that could source from arm_a53_div and arm_pll_out. Configure a53 ccm root sources from 800MHz sys pll Configure a53 core sources from arm_pll_out Enable arm_pll_out to avoid disable the clock when set a53 core parent. Fixes: 96d6392b54db ("clk: imx: Add support for i.MX8MN clock driver") Reviewed-by: Jacky Bai <ping.bai@nxp.com> Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/clock/imx8mn-clock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/dt-bindings/clock/imx8mn-clock.h b/include/dt-bindings/clock/imx8mn-clock.h
index 0c7c750fc2c4..9e55f30d9c83 100644
--- a/include/dt-bindings/clock/imx8mn-clock.h
+++ b/include/dt-bindings/clock/imx8mn-clock.h
@@ -210,7 +210,8 @@
#define IMX8MN_CLK_NAND_USDHC_BUS_RAWNAND_CLK 192
#define IMX8MN_CLK_GPU_CORE_ROOT 193
#define IMX8MN_CLK_GIC 194
+#define IMX8MN_CLK_A53_CORE 195
-#define IMX8MN_CLK_END 195
+#define IMX8MN_CLK_END 196
#endif