qemu-e2k/hw/timer
Philippe Mathieu-Daudé d05be883fc hw/timer/bcm2835: Add the BCM2835 SYS_timer
Add the 64-bit free running timer. Do not model the COMPARE register
(no IRQ generated).
This timer is used by Linux kernel and recently U-Boot:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/clocksource/bcm2835_timer.c?h=v3.7
https://github.com/u-boot/u-boot/blob/v2019.07/include/configs/rpi.h#L19

Datasheet used:
https://www.raspberrypi.org/app/uploads/2012/02/BCM2835-ARM-Peripherals.pdf

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20191019234715.25750-4-f4bug@amsat.org
[PMM: squashed in switch to using memset in reset]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-10-25 13:09:27 +01:00
..
a9gtimer.c
allwinner-a10-pit.c hw/timer/allwinner-a10-pit.c: Switch to transaction-based ptimer API 2019-10-15 18:09:02 +01:00
altera_timer.c hw/timer/altera_timer.c: Switch to transaction-based ptimer API 2019-10-22 17:44:00 +01:00
arm_mptimer.c hw/timer/arm_mptimer.c: Undo accidental rename of arm_mptimer_init() 2019-10-22 17:44:00 +01:00
arm_timer.c hw/timer/arm_timer.c: Switch to transaction-based ptimer API 2019-10-15 18:09:02 +01:00
armv7m_systick.c
aspeed_rtc.c
aspeed_timer.c aspeed/timer: Add support for IRQ status register on the AST2600 2019-10-15 18:09:04 +01:00
bcm2835_systmr.c hw/timer/bcm2835: Add the BCM2835 SYS_timer 2019-10-25 13:09:27 +01:00
cadence_ttc.c
cmsdk-apb-dualtimer.c hw/timer/cmsdk-apb-dualtimer.c: Switch to transaction-based ptimer API 2019-10-15 18:09:02 +01:00
cmsdk-apb-timer.c hw/timer/cmsdk-apb-timer.c: Switch to transaction-based ptimer API 2019-10-15 18:09:02 +01:00
digic-timer.c hw/timer/digic-timer.c: Switch to transaction-based ptimer API 2019-10-15 18:09:02 +01:00
ds1338.c
etraxfs_timer.c hw/watchdog/etraxfs_timer.c: Switch to transaction-based ptimer API 2019-10-22 17:44:00 +01:00
exynos4210_mct.c hw/timer/exynos4210_mct: Initialize ptimer before starting it 2019-10-22 17:44:00 +01:00
exynos4210_pwm.c hw/timer/exynos4210_pwm.c: Switch to transaction-based ptimer API 2019-10-15 18:09:02 +01:00
exynos4210_rtc.c hw/timer/exynos4210_rtc.c: Switch main ptimer to transaction-based API 2019-10-15 18:09:03 +01:00
grlib_gptimer.c hw/timer/grlib_gptimer.c: Switch to transaction-based ptimer API 2019-10-25 13:09:12 +01:00
hpet.c
i8254_common.c
i8254.c
imx_epit.c hw/timer/imx_epit.c: Switch to transaction-based ptimer API 2019-10-15 18:09:03 +01:00
imx_gpt.c hw/timer/imx_gpt.c: Switch to transaction-based ptimer API 2019-10-15 18:09:03 +01:00
Kconfig
lm32_timer.c hw/timer/lm32_timer: Switch to transaction-based ptimer API 2019-10-22 17:44:00 +01:00
m41t80.c
m48t59-internal.h
m48t59-isa.c
m48t59.c
Makefile.objs hw/timer/bcm2835: Add the BCM2835 SYS_timer 2019-10-25 13:09:27 +01:00
mc146818rtc.c
milkymist-sysctl.c hw/watchdog/milkymist-sysctl.c: Switch to transaction-based ptimer API 2019-10-25 13:09:27 +01:00
mips_gictimer.c
mss-timer.c hw/timer/mss-timerc: Switch to transaction-based ptimer API 2019-10-15 18:09:03 +01:00
nrf51_timer.c
omap_gptimer.c
omap_synctimer.c
pl031.c
puv3_ost.c hw/timer/puv3_ost.c: Switch to transaction-based ptimer API 2019-10-22 17:44:00 +01:00
pxa2xx_timer.c
sh_timer.c hw/timer/sh_timer: Switch to transaction-based ptimer API 2019-10-22 17:44:00 +01:00
slavio_timer.c hw/timer/slavio_timer.c: Switch to transaction-based ptimer API 2019-10-25 13:08:37 +01:00
stm32f2xx_timer.c
sun4v-rtc.c
trace-events hw/timer/bcm2835: Add the BCM2835 SYS_timer 2019-10-25 13:09:27 +01:00
twl92230.c
xilinx_timer.c hw/timer/xilinx_timer.c: Switch to transaction-based ptimer API 2019-10-24 17:16:28 +01:00
xlnx-zynqmp-rtc.c