hw/timer: Add ASPEED timer device model
commitc04bd47db6b95afa72528c9d3fb03b979dd7d426
authorAndrew Jeffery <andrew@aj.id.au>
Wed, 16 Mar 2016 17:06:00 +0000 (16 17:06 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 16 Mar 2016 17:42:18 +0000 (16 17:42 +0000)
treec7846ead25af23af3721e8f36e3fb5743fa58c47
parenteccfa35e9f295277dc7adad11894645ebe576dcf
hw/timer: Add ASPEED timer device model

Implement basic ASPEED timer functionality for the AST2400 SoC[1]: Up to
8 timers can independently be configured, enabled, reset and disabled.
Some hardware features are not implemented, namely clock value matching
and pulse generation, but the implementation is enough to boot the Linux
kernel configured with aspeed_defconfig.

[1] http://www.aspeedtech.com/products.php?fPath=20&rId=376

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Message-id: 1458096317-25223-2-git-send-email-andrew@aj.id.au
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
default-configs/arm-softmmu.mak
hw/timer/Makefile.objs
hw/timer/aspeed_timer.c [new file with mode: 0644]
include/hw/timer/aspeed_timer.h [new file with mode: 0644]
trace-events