SiFive RISC-V GPIO Device
authorFabien Chouteau <chouteau@adacore.com>
Tue, 12 Feb 2019 17:38:39 +0000 (18:38 +0100)
committerPalmer Dabbelt <palmer@sifive.com>
Fri, 24 May 2019 18:58:30 +0000 (11:58 -0700)
commit30efbf330a45fc5b83457037927151adafc397ed
tree89111532c51d904f467ed1d879c239a775d5a43c
parenta7b21f6762a2d6ec08106d8a7ccb11829914523f
SiFive RISC-V GPIO Device

QEMU model of the GPIO device on the SiFive E300 series SOCs.

The pins are not used by a board definition yet, however this
implementation can already be used to trigger GPIO interrupts from the
software by configuring a pin as both output and input.

Signed-off-by: Fabien Chouteau <chouteau@adacore.com>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Makefile.objs
hw/riscv/Makefile.objs
hw/riscv/sifive_e.c
hw/riscv/sifive_gpio.c [new file with mode: 0644]
hw/riscv/trace-events [new file with mode: 0644]
include/hw/riscv/sifive_e.h
include/hw/riscv/sifive_gpio.h [new file with mode: 0644]