dev-arm: Instantiate Generic Watchdog in Foundation platform

Change-Id: I75496eeabeabb81804d4055f8257309324d6476a
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39700
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Giacomo Travaglini
2020-07-14 12:47:08 +01:00
parent 4a4f994ff1
commit 40514908f6

View File

@@ -1085,6 +1085,11 @@ Interrupts:
### On-chip devices ###
el2_watchdog = GenericWatchdog(
control_start=0x2a440000,
refresh_start=0x2a450000,
ws0=ArmSPI(num=59), ws1=ArmSPI(num=60))
# Trusted Watchdog, SP805
trusted_watchdog = Sp805(pio_addr=0x2a490000, interrupt=ArmSPI(num=56))
@@ -1109,6 +1114,7 @@ Interrupts:
def _on_chip_devices(self):
return [
self.generic_timer_mem,
self.el2_watchdog,
self.trusted_watchdog,
self.system_watchdog
] + self.generic_timer_mem.frames