]>
git.proxmox.com Git - mirror_qemu.git/blob - include/hw/misc/iotkit-sysctl.h
2 * ARM IoTKit system control element
4 * Copyright (c) 2018 Linaro Limited
5 * Written by Peter Maydell
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 or
9 * (at your option) any later version.
13 * This is a model of the "system control element" which is part of the
14 * Arm IoTKit and documented in
15 * http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ecm0601256/index.html
16 * Specifically, it implements the "system information block" and
17 * "system control register" blocks.
20 * + QOM property "SYS_VERSION": value of the SYS_VERSION register of the
21 * system information block of the SSE
22 * (used to identify whether to provide SSE-200-only registers)
23 * + sysbus MMIO region 0: the system information register bank
24 * + sysbus MMIO region 1: the system control register bank
27 #ifndef HW_MISC_IOTKIT_SYSCTL_H
28 #define HW_MISC_IOTKIT_SYSCTL_H
30 #include "hw/sysbus.h"
31 #include "qom/object.h"
33 #define TYPE_IOTKIT_SYSCTL "iotkit-sysctl"
34 OBJECT_DECLARE_SIMPLE_TYPE(IoTKitSysCtl
, IOTKIT_SYSCTL
)
38 SysBusDevice parent_obj
;
43 uint32_t secure_debug
;
44 uint32_t reset_syndrome
;
57 uint32_t pdcm_pd_sys_sense
;
58 uint32_t pdcm_pd_sram0_sense
;
59 uint32_t pdcm_pd_sram1_sense
;
60 uint32_t pdcm_pd_sram2_sense
;
61 uint32_t pdcm_pd_sram3_sense
;
66 uint32_t initsvtor0_rst
;
67 uint32_t initsvtor1_rst
;