summary refs log tree commit diff stats
path: root/include/hw/arm/stm32f405_soc.h
diff options
context:
space:
mode:
authorRomán Cárdenas Rodríguez <rcardenas.rod@gmail.com>2024-10-14 17:05:50 +0100
committerPeter Maydell <peter.maydell@linaro.org>2024-10-15 11:29:45 +0100
commit950dff9aa4dc1f287ea001e7d2689dcc76a7f1c4 (patch)
tree82be116d42cb461b78a996bb12469feca33b338f /include/hw/arm/stm32f405_soc.h
parentd1613f2a5395f52a6537b0117bb219d832213489 (diff)
downloadfocaccia-qemu-950dff9aa4dc1f287ea001e7d2689dcc76a7f1c4.tar.gz
focaccia-qemu-950dff9aa4dc1f287ea001e7d2689dcc76a7f1c4.zip
hw/arm/stm32f405: Add RCC device to stm32f405 SoC
Add the reset and clock controller device to the stm32f405 SoC.

Signed-off-by: Roman Cardenas Rodriguez <rcardenas.rod@gmail.com>
[PMM: tweak commit message]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm/stm32f405_soc.h')
-rw-r--r--include/hw/arm/stm32f405_soc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/stm32f405_soc.h b/include/hw/arm/stm32f405_soc.h
index d15c03c4b5..2eeada64de 100644
--- a/include/hw/arm/stm32f405_soc.h
+++ b/include/hw/arm/stm32f405_soc.h
@@ -25,6 +25,7 @@
 #ifndef HW_ARM_STM32F405_SOC_H
 #define HW_ARM_STM32F405_SOC_H
 
+#include "hw/misc/stm32_rcc.h"
 #include "hw/misc/stm32f4xx_syscfg.h"
 #include "hw/timer/stm32f2xx_timer.h"
 #include "hw/char/stm32f2xx_usart.h"
@@ -55,6 +56,7 @@ struct STM32F405State {
 
     ARMv7MState armv7m;
 
+    STM32RccState rcc;
     STM32F4xxSyscfgState syscfg;
     STM32F4xxExtiState exti;
     STM32F2XXUsartState usart[STM_NUM_USARTS];