aboutsummaryrefslogtreecommitdiff
path: root/include/hw/arm
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2025-02-23 12:46:55 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-02-25 17:02:00 +0000
commit86c2dff9552ad5a9b2febf329a2dbd2620bc2145 (patch)
tree7a01475435601a4ea5d7502c85d7c8376a678983 /include/hw/arm
parenta4eefc69b23713c4e5981d9d91a6e15dfd4496fe (diff)
downloadqemu-86c2dff9552ad5a9b2febf329a2dbd2620bc2145.zip
qemu-86c2dff9552ad5a9b2febf329a2dbd2620bc2145.tar.gz
qemu-86c2dff9552ad5a9b2febf329a2dbd2620bc2145.tar.bz2
hw/arm/fsl-imx8mp: Implement clock tree
Fixes quite a few stack traces during the Linux boot process. Also provides the clocks for devices added later, e.g. enet1. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Message-id: 20250223114708.1780-6-shentey@gmail.com Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/arm')
-rw-r--r--include/hw/arm/fsl-imx8mp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hw/arm/fsl-imx8mp.h b/include/hw/arm/fsl-imx8mp.h
index 57e23d1..ce5188e 100644
--- a/include/hw/arm/fsl-imx8mp.h
+++ b/include/hw/arm/fsl-imx8mp.h
@@ -12,6 +12,8 @@
#include "cpu.h"
#include "hw/char/imx_serial.h"
#include "hw/intc/arm_gicv3_common.h"
+#include "hw/misc/imx8mp_analog.h"
+#include "hw/misc/imx8mp_ccm.h"
#include "qom/object.h"
#include "qemu/units.h"
@@ -32,6 +34,8 @@ struct FslImx8mpState {
ARMCPU cpu[FSL_IMX8MP_NUM_CPUS];
GICv3State gic;
+ IMX8MPCCMState ccm;
+ IMX8MPAnalogState analog;
IMXSerialState uart[FSL_IMX8MP_NUM_UARTS];
};