From: Kane Chen Date: Wed, 4 Feb 2026 08:21:42 +0000 (+0000) Subject: hw/arm/aspeed: Enable AST1700 IO expander support X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7325aac19c8084aa3e410e60e840c7656dbc1b;p=thirdparty%2Fqemu.git hw/arm/aspeed: Enable AST1700 IO expander support Set ioexp_num to 2 to enable AST1700 IO expander support. Signed-off-by: Kane-Chen-AS Reviewed-by: Cédric Le Goater Reviewed-by: Nabih Estefan Tested-by: Nabih Estefan Link: https://lore.kernel.org/qemu-devel/20260204082113.3955407-20-kane_chen@aspeedtech.com Signed-off-by: Cédric Le Goater --- diff --git a/hw/arm/aspeed_ast27x0.c b/hw/arm/aspeed_ast27x0.c index d3b305fa7a..61790ea1cc 100644 --- a/hw/arm/aspeed_ast27x0.c +++ b/hw/arm/aspeed_ast27x0.c @@ -1160,7 +1160,7 @@ static void aspeed_soc_ast2700a1_class_init(ObjectClass *oc, const void *data) sc->macs_num = 3; sc->uarts_num = 13; sc->num_cpus = 4; - sc->ioexp_num = 0; + sc->ioexp_num = 2; sc->uarts_base = ASPEED_DEV_UART0; sc->irqmap = aspeed_soc_ast2700a1_irqmap; sc->memmap = aspeed_soc_ast2700_memmap;