sh: provide some clock lookup aliases for legacy CPG parts.
[pandora-kernel.git] / arch / sh / kernel / cpu / clock-cpg.c
index eed5eaf..17a73ad 100644 (file)
@@ -338,6 +338,11 @@ int __init __deprecated cpg_clk_init(void)
                        ret |= clk_register(clk);
        }
 
+       clk_add_alias("tmu_fck", NULL, "peripheral_clk", NULL);
+       clk_add_alias("mtu2_fck", NULL, "peripheral_clk", NULL);
+       clk_add_alias("cmt_fck", NULL, "peripheral_clk", NULL);
+       clk_add_alias("sci_ick", NULL, "peripheral_clk", NULL);
+
        return ret;
 }