]> www.infradead.org Git - users/dwmw2/qemu.git/commit
aspeed/soc: Correct GPIO irq 130 for AST2700
authorJamin Lin <jamin_lin@aspeedtech.com>
Tue, 1 Oct 2024 02:43:32 +0000 (10:43 +0800)
committerCédric Le Goater <clg@redhat.com>
Thu, 24 Oct 2024 05:57:47 +0000 (07:57 +0200)
commitf34030ec7e2672d811bf60e2922f8487d74e3980
treeea6186153d604adfccea8de902bad743d0e5bf21
parentbac698832de3160e3327a007a86958be08ecbd35
aspeed/soc: Correct GPIO irq 130 for AST2700

The register set of GPIO have a significant change since AST2700.
Each GPIO pin has their own individual control register and users are able to
set one GPIO pin’s direction, interrupt enable, input mask and so on in the
same one control register.

AST2700 does not have GPIO18_XXX registers for GPIO 1.8v, removes
ASPEED_DEV_GPIO_1_8V. It is enough to only have ASPEED_DEV_GPIO
device in AST2700.

The AST2700 GPIO controller interrupt is connected to GICINT130_INTC at
bit 18. Therefore, correct GPIO irq 130.

Signed-off-by: Jamin Lin <jamin_lin@aspeedtech.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
hw/arm/aspeed_ast27x0.c