hw/riscv: OpenTitan: Connect the mtime and mtimecmp timer
commit3ef6434409c575e11faf537ce50ca05426c78940
authorAlistair Francis <alistair.francis@wdc.com>
Fri, 18 Jun 2021 07:28:01 +0000 (18 17:28 +1000)
committerAlistair Francis <alistair.francis@wdc.com>
Thu, 24 Jun 2021 12:00:13 +0000 (24 05:00 -0700)
tree7ba7965bfd874cbbf235135e959f2f54f2880201
parentdf41cbd6bfa55dc3e69834f4402dbf776062c26e
hw/riscv: OpenTitan: Connect the mtime and mtimecmp timer

Connect the Ibex timer to the OpenTitan machine. The timer can trigger
the RISC-V MIE interrupt as well as a custom device interrupt.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Message-id: 5e7f4e9b4537f863bcb8db1264b840b56ef2a929.1624001156.git.alistair.francis@wdc.com
hw/riscv/opentitan.c
include/hw/riscv/opentitan.h