Hi, These two patches add a bunch of the functionality of the ast2400 and ast2500 gpio controllers.
This is based off upstream/master with two of Cédric's patches: - aspeed: add a per SoC mapping for the interrupt space - aspeed: add a per SoC mapping for the memory space Any feedback would be great! Rashmica Gupta (2): hw/gpio: Add basic Aspeed GPIO model aspeed: add a GPIO controller to the SoC hw/arm/aspeed_soc.c | 17 + hw/gpio/Makefile.objs | 1 + hw/gpio/aspeed_gpio.c | 869 ++++++++++++++++++++++++++++++++++ include/hw/arm/aspeed_soc.h | 3 + include/hw/gpio/aspeed_gpio.h | 76 +++ 5 files changed, 966 insertions(+) create mode 100644 hw/gpio/aspeed_gpio.c create mode 100644 include/hw/gpio/aspeed_gpio.h -- 2.17.2