summaryrefslogtreecommitdiff
path: root/drivers/soc/imx/soc-imx8.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soc/imx/soc-imx8.c')
-rw-r--r--drivers/soc/imx/soc-imx8.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/soc/imx/soc-imx8.c b/drivers/soc/imx/soc-imx8.c
index fc6429f9170a..b1bd8e2543ac 100644
--- a/drivers/soc/imx/soc-imx8.c
+++ b/drivers/soc/imx/soc-imx8.c
@@ -103,6 +103,9 @@ static int __init imx8_soc_init(void)
if (IS_ERR(soc_dev))
goto free_rev;
+ if (IS_ENABLED(CONFIG_ARM_IMX_CPUFREQ_DT))
+ platform_device_register_simple("imx-cpufreq-dt", -1, NULL, 0);
+
return 0;
free_rev: