aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm
diff options
context:
space:
mode:
authorInès Varhol <ines.varhol@telecom-paris.fr>2024-03-05 22:03:11 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-03-07 12:19:25 +0000
commit1c38129de8a7f3d62ad2800758d9b2ddfccbdca9 (patch)
tree97dbb1f9d5f0f7f0cc32c35b5b4e04fb5f5929e3 /include/hw/arm
parent1cdcfb6e936c25ef470e886ffe86dd46ef36f0f5 (diff)
downloadqemu-1c38129de8a7f3d62ad2800758d9b2ddfccbdca9.zip
qemu-1c38129de8a7f3d62ad2800758d9b2ddfccbdca9.tar.gz
qemu-1c38129de8a7f3d62ad2800758d9b2ddfccbdca9.tar.bz2
hw/arm: Connect STM32L4x5 GPIO to STM32L4x5 SoC
Signed-off-by: Arnaud Minier <arnaud.minier@telecom-paris.fr> Signed-off-by: Inès Varhol <ines.varhol@telecom-paris.fr> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Acked-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20240305210444.310665-3-ines.varhol@telecom-paris.fr Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/stm32l4x5_soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/stm32l4x5_soc.h b/include/hw/arm/stm32l4x5_soc.h
index af67b08..ee5f362 100644
--- a/include/hw/arm/stm32l4x5_soc.h
+++ b/include/hw/arm/stm32l4x5_soc.h
@@ -30,6 +30,7 @@
#include "hw/misc/stm32l4x5_syscfg.h"
#include "hw/misc/stm32l4x5_exti.h"
#include "hw/misc/stm32l4x5_rcc.h"
+#include "hw/gpio/stm32l4x5_gpio.h"
#include "qom/object.h"
#define TYPE_STM32L4X5_SOC "stm32l4x5-soc"
@@ -49,6 +50,7 @@ struct Stm32l4x5SocState {
OrIRQState exti_or_gates[NUM_EXTI_OR_GATES];
Stm32l4x5SyscfgState syscfg;
Stm32l4x5RccState rcc;
+ Stm32l4x5GpioState gpio[NUM_GPIOS];
MemoryRegion sram1;
MemoryRegion sram2;