mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
hw/arm/xlnx-versal: Connect Versal's PMC SLCR
Connect Versal's PMC SLCR (system-level control registers) model. Signed-off-by: Francisco Iglesias <francisco.iglesias@xilinx.com> Reviewed-by: Luc Michel <luc@lmichel.fr> Message-id: 20220121161141.14389-4-francisco.iglesias@xilinx.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
9a6d491831
commit
f7c9aecbf8
2 changed files with 75 additions and 1 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "hw/misc/xlnx-versal-xramc.h"
|
||||
#include "hw/nvram/xlnx-bbram.h"
|
||||
#include "hw/nvram/xlnx-versal-efuse.h"
|
||||
#include "hw/misc/xlnx-versal-pmc-iou-slcr.h"
|
||||
|
||||
#define TYPE_XLNX_VERSAL "xlnx-versal"
|
||||
OBJECT_DECLARE_SIMPLE_TYPE(Versal, XLNX_VERSAL)
|
||||
|
@ -78,6 +79,7 @@ struct Versal {
|
|||
struct {
|
||||
struct {
|
||||
SDHCIState sd[XLNX_VERSAL_NR_SDS];
|
||||
XlnxVersalPmcIouSlcr slcr;
|
||||
} iou;
|
||||
|
||||
XlnxZynqMPRTC rtc;
|
||||
|
@ -179,6 +181,9 @@ struct Versal {
|
|||
#define MM_FPD_FPD_APU 0xfd5c0000
|
||||
#define MM_FPD_FPD_APU_SIZE 0x100
|
||||
|
||||
#define MM_PMC_PMC_IOU_SLCR 0xf1060000
|
||||
#define MM_PMC_PMC_IOU_SLCR_SIZE 0x10000
|
||||
|
||||
#define MM_PMC_SD0 0xf1040000U
|
||||
#define MM_PMC_SD0_SIZE 0x10000
|
||||
#define MM_PMC_BBRAM_CTRL 0xf11f0000
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue