Add i.MX8QM cpufreq support for A53 cluster.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
        struct arm_smccc_res res;
        unsigned long cluster_id;
 
-       if (clk->rsrc_id == IMX_SC_R_A35)
+       if (clk->rsrc_id == IMX_SC_R_A35 || clk->rsrc_id == IMX_SC_R_A53)
                cluster_id = 0;
        else
                return -EINVAL;
 
        init.name = name;
        init.ops = &clk_scu_ops;
-       if (rsrc_id == IMX_SC_R_A35)
+       if (rsrc_id == IMX_SC_R_A35 || rsrc_id == IMX_SC_R_A53)
                init.ops = &clk_scu_cpu_ops;
        else if (rsrc_id == IMX_SC_R_PI_0_PLL)
                init.ops = &clk_scu_pi_ops;