ARM: EXYNOS: Enable mcpm for dual-cluster exynos5800 SoC
[deliverable/linux.git] / arch / arm / mach-exynos / mcpm-exynos.c
index 1ac618ce440be3ba02ae11adc5e88e8555cee3dc..20707bdfca6d2e93cae5424c932c0217ad6053aa 100644 (file)
@@ -290,13 +290,19 @@ static void __naked exynos_pm_power_up_setup(unsigned int affinity_level)
        "b      cci_enable_port_for_self");
 }
 
+static const struct of_device_id exynos_dt_mcpm_match[] = {
+       { .compatible = "samsung,exynos5420" },
+       { .compatible = "samsung,exynos5800" },
+       {},
+};
+
 static int __init exynos_mcpm_init(void)
 {
        struct device_node *node;
        void __iomem *ns_sram_base_addr;
        int ret;
 
-       node = of_find_compatible_node(NULL, NULL, "samsung,exynos5420");
+       node = of_find_matching_node(NULL, exynos_dt_mcpm_match);
        if (!node)
                return -ENODEV;
        of_node_put(node);
This page took 0.06408 seconds and 5 git commands to generate.