cpufreq: imx6q: Fixes unwanted cpu overclocking on i.MX6ULL
[linux-2.6-microblaze.git] / drivers / cpufreq / imx6q-cpufreq.c
index 648a09a..1fcbbd5 100644 (file)
@@ -280,6 +280,9 @@ static int imx6ul_opp_check_speed_grading(struct device *dev)
                void __iomem *base;
 
                np = of_find_compatible_node(NULL, NULL, "fsl,imx6ul-ocotp");
+               if (!np)
+                       np = of_find_compatible_node(NULL, NULL,
+                                                    "fsl,imx6ull-ocotp");
                if (!np)
                        return -ENOENT;