};
static const struct mtk_clk_tree mt8188_apmixedsys_clk_tree = {
- .xtal_rate = 26 * MHZ,
.pll_parent = EXT_PARENT(CLK_PAD_CLK26M),
.ext_clk_rates = ext_clock_rates,
.num_ext_clks = ARRAY_SIZE(ext_clock_rates),
};
#define FIXED_CLK0(_id, _rate) \
- FIXED_CLK(_id, CLK_XTAL, CLK_PARENT_XTAL, _rate)
+ FIXED_CLK(_id, CLK_PAD_CLK26M, CLK_PARENT_EXT, _rate)
static const struct mtk_fixed_clk top_fixed_clks[] = {
FIXED_CLK0(CLK_TOP_ULPOSC1, 260000000),
};
static const struct mtk_clk_tree mt8188_topckgen_clk_tree = {
- .xtal_rate = 26 * MHZ,
.ext_clk_rates = ext_clock_rates,
.num_ext_clks = ARRAY_SIZE(ext_clock_rates),
.id_offs_map = mt8188_id_top_offs_map,
};
static const struct mtk_clk_tree mt8188_infracfg_ao_clk_tree = {
- .xtal_rate = 26 * MHZ,
.ext_clk_rates = ext_clock_rates,
.num_ext_clks = ARRAY_SIZE(ext_clock_rates),
};
};
static const struct mtk_clk_tree mt8188_pericfg_ao_clk_tree = {
- .xtal_rate = 26 * MHZ,
.ext_clk_rates = ext_clock_rates,
.num_ext_clks = ARRAY_SIZE(ext_clock_rates),
};
};
const struct mtk_clk_tree mt8188_imp_iic_wrap_c_clk_tree = {
- .xtal_rate = 26 * MHZ,
.ext_clk_rates = ext_clock_rates,
.num_ext_clks = ARRAY_SIZE(ext_clock_rates),
};
const struct mtk_clk_tree mt8188_imp_iic_wrap_w_clk_tree = {
- .xtal_rate = 26 * MHZ,
.ext_clk_rates = ext_clock_rates,
.num_ext_clks = ARRAY_SIZE(ext_clock_rates),
};
const struct mtk_clk_tree mt8188_imp_iic_wrap_en_clk_tree = {
- .xtal_rate = 26 * MHZ,
.ext_clk_rates = ext_clock_rates,
.num_ext_clks = ARRAY_SIZE(ext_clock_rates),
};