summary refs log tree commit diff stats
path: root/include/hw/arm/fsl-imx8mp.h
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2025-02-23 12:46:56 +0100
committerPeter Maydell <peter.maydell@linaro.org>2025-02-25 17:02:14 +0000
commit487967bed65083db33561edc1255ced422bfbff5 (patch)
tree50770d154807e9b3e576491ef94b665dde98c03f /include/hw/arm/fsl-imx8mp.h
parent86c2dff9552ad5a9b2febf329a2dbd2620bc2145 (diff)
downloadfocaccia-qemu-487967bed65083db33561edc1255ced422bfbff5.tar.gz
focaccia-qemu-487967bed65083db33561edc1255ced422bfbff5.zip
hw/arm/fsl-imx8mp: Add SNVS
SNVS contains an RTC which allows Linux to deal correctly with time. This is
particularly useful when handling persistent storage which will be done in the
next patch.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Message-id: 20250223114708.1780-7-shentey@gmail.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to '')
-rw-r--r--include/hw/arm/fsl-imx8mp.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/arm/fsl-imx8mp.h b/include/hw/arm/fsl-imx8mp.h
index ce5188e7f2..26e24e99a1 100644
--- a/include/hw/arm/fsl-imx8mp.h
+++ b/include/hw/arm/fsl-imx8mp.h
@@ -12,6 +12,7 @@
 #include "cpu.h"
 #include "hw/char/imx_serial.h"
 #include "hw/intc/arm_gicv3_common.h"
+#include "hw/misc/imx7_snvs.h"
 #include "hw/misc/imx8mp_analog.h"
 #include "hw/misc/imx8mp_ccm.h"
 #include "qom/object.h"
@@ -36,6 +37,7 @@ struct FslImx8mpState {
     GICv3State         gic;
     IMX8MPCCMState     ccm;
     IMX8MPAnalogState  analog;
+    IMX7SNVSState      snvs;
     IMXSerialState     uart[FSL_IMX8MP_NUM_UARTS];
 };