AST2600's HPLL register offset and bit definition are different from AST2500. The patch series adds a hpll calculation function for ast2600 and modify apb frequency calculation function based on SCU200 register description and note in ast2600v11.pdf.
Changes since v1: - introduce ast2400 and ast2600 get_apb_freq class handlers. - introduce clkin_25Mhz attribute. Please help to review. Thanks, Steven Steven Lee (2): hw: aspeed_scu: Add AST2600 apb_freq and hpll calculation function hw: aspeed_scu: Introduce clkin_25Mhz attribute hw/misc/aspeed_scu.c | 45 ++++++++++++++++++++++++++++++++++-- include/hw/misc/aspeed_scu.h | 19 +++++++++++++++ 2 files changed, 62 insertions(+), 2 deletions(-) -- 2.17.1