summary refs log tree commit diff stats
path: root/hw/intc/aspeed_intc.c
diff options
context:
space:
mode:
authorJamin Lin <jamin_lin@aspeedtech.com>2024-06-04 13:44:32 +0800
committerCédric Le Goater <clg@redhat.com>2024-06-16 21:08:54 +0200
commite7c8106d48b8f3719415c9fedbcf2d2b1897c608 (patch)
tree98e7345c1ddbefc20e6dc798e3f5822847af0967 /hw/intc/aspeed_intc.c
parentbdb3748dba309cba0bf71ca6ea4521911953b825 (diff)
downloadfocaccia-qemu-e7c8106d48b8f3719415c9fedbcf2d2b1897c608.tar.gz
focaccia-qemu-e7c8106d48b8f3719415c9fedbcf2d2b1897c608.zip
aspeed/scu: Add AST2700 support
AST2700 have two SCU controllers which are SCU and SCUIO.
Both SCU and SCUIO registers are not compatible previous SOCs
, introduces new registers and adds ast2700 scu, sucio class init handler.

The pclk divider selection of SCUIO is defined in SCUIO280[20:18] and
the pclk divider selection of SCU is defined in SCU280[25:23].
Both of them are not compatible AST2600 SOCs, adds a get_apb_freq function
and trace-event for AST2700 SCU and SCUIO.

Signed-off-by: Troy Lee <troy_lee@aspeedtech.com>
Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
[clg: Fixed spelling : Unhandeled -> Unhandled ]
Diffstat (limited to 'hw/intc/aspeed_intc.c')
0 files changed, 0 insertions, 0 deletions