1*91f16700Schasinglulu /* 2*91f16700Schasinglulu * Copyright (c) 2022, Mediatek Inc. All rights reserved. 3*91f16700Schasinglulu * 4*91f16700Schasinglulu * SPDX-License-Identifier: BSD-3-Clause 5*91f16700Schasinglulu */ 6*91f16700Schasinglulu 7*91f16700Schasinglulu #ifndef SPM_REG_H 8*91f16700Schasinglulu #define SPM_REG_H 9*91f16700Schasinglulu 10*91f16700Schasinglulu #include <platform_def.h> 11*91f16700Schasinglulu 12*91f16700Schasinglulu /* Register_SPM_CFG */ 13*91f16700Schasinglulu #define MD32PCM_CFG_BASE (SPM_BASE + 0xA00) 14*91f16700Schasinglulu #define POWERON_CONFIG_EN (SPM_BASE + 0x000) 15*91f16700Schasinglulu #define SPM_POWER_ON_VAL0 (SPM_BASE + 0x004) 16*91f16700Schasinglulu #define SPM_POWER_ON_VAL1 (SPM_BASE + 0x008) 17*91f16700Schasinglulu #define SPM_CLK_CON (SPM_BASE + 0x00C) 18*91f16700Schasinglulu #define SPM_CLK_SETTLE (SPM_BASE + 0x010) 19*91f16700Schasinglulu #define SPM_AP_STANDBY_CON (SPM_BASE + 0x014) 20*91f16700Schasinglulu #define PCM_CON0 (SPM_BASE + 0x018) 21*91f16700Schasinglulu #define PCM_CON1 (SPM_BASE + 0x01C) 22*91f16700Schasinglulu #define SPM_POWER_ON_VAL2 (SPM_BASE + 0x020) 23*91f16700Schasinglulu #define SPM_POWER_ON_VAL3 (SPM_BASE + 0x024) 24*91f16700Schasinglulu #define PCM_REG_DATA_INI (SPM_BASE + 0x028) 25*91f16700Schasinglulu #define PCM_PWR_IO_EN (SPM_BASE + 0x02C) 26*91f16700Schasinglulu #define PCM_TIMER_VAL (SPM_BASE + 0x030) 27*91f16700Schasinglulu #define PCM_WDT_VAL (SPM_BASE + 0x034) 28*91f16700Schasinglulu #define SPM_SW_RST_CON (SPM_BASE + 0x040) 29*91f16700Schasinglulu #define SPM_SW_RST_CON_SET (SPM_BASE + 0x044) 30*91f16700Schasinglulu #define SPM_SW_RST_CON_CLR (SPM_BASE + 0x048) 31*91f16700Schasinglulu #define SPM_ARBITER_EN (SPM_BASE + 0x050) 32*91f16700Schasinglulu #define SCPSYS_CLK_CON (SPM_BASE + 0x054) 33*91f16700Schasinglulu #define SPM_SRAM_RSV_CON (SPM_BASE + 0x058) 34*91f16700Schasinglulu #define SPM_SWINT (SPM_BASE + 0x05C) 35*91f16700Schasinglulu #define SPM_SWINT_SET (SPM_BASE + 0x060) 36*91f16700Schasinglulu #define SPM_SWINT_CLR (SPM_BASE + 0x064) 37*91f16700Schasinglulu #define SPM_SCP_MAILBOX (SPM_BASE + 0x068) 38*91f16700Schasinglulu #define SCP_SPM_MAILBOX (SPM_BASE + 0x06C) 39*91f16700Schasinglulu #define SPM_SCP_IRQ (SPM_BASE + 0x070) 40*91f16700Schasinglulu #define SPM_CPU_WAKEUP_EVENT (SPM_BASE + 0x074) 41*91f16700Schasinglulu #define SPM_IRQ_MASK (SPM_BASE + 0x078) 42*91f16700Schasinglulu #define SPM_SRC_REQ (SPM_BASE + 0x080) 43*91f16700Schasinglulu #define SPM_SRC_MASK (SPM_BASE + 0x084) 44*91f16700Schasinglulu #define SPM_SRC2_MASK (SPM_BASE + 0x088) 45*91f16700Schasinglulu #define SPM_SRC3_MASK (SPM_BASE + 0x090) 46*91f16700Schasinglulu #define SPM_SRC4_MASK (SPM_BASE + 0x094) 47*91f16700Schasinglulu #define SPM_WAKEUP_EVENT_MASK2 (SPM_BASE + 0x098) 48*91f16700Schasinglulu #define SPM_WAKEUP_EVENT_MASK (SPM_BASE + 0x09C) 49*91f16700Schasinglulu #define SPM_WAKEUP_EVENT_SENS (SPM_BASE + 0x0A0) 50*91f16700Schasinglulu #define SPM_WAKEUP_EVENT_CLEAR (SPM_BASE + 0x0A4) 51*91f16700Schasinglulu #define SPM_WAKEUP_EVENT_EXT_MASK (SPM_BASE + 0x0A8) 52*91f16700Schasinglulu #define SCP_CLK_CON (SPM_BASE + 0x0AC) 53*91f16700Schasinglulu #define PCM_DEBUG_CON (SPM_BASE + 0x0B0) 54*91f16700Schasinglulu #define DDREN_DBC_CON (SPM_BASE + 0x0B4) 55*91f16700Schasinglulu #define SPM_RESOURCE_ACK_CON0 (SPM_BASE + 0x0B8) 56*91f16700Schasinglulu #define SPM_RESOURCE_ACK_CON1 (SPM_BASE + 0x0BC) 57*91f16700Schasinglulu #define SPM_RESOURCE_ACK_CON2 (SPM_BASE + 0x0C0) 58*91f16700Schasinglulu #define SPM_RESOURCE_ACK_CON3 (SPM_BASE + 0x0C4) 59*91f16700Schasinglulu #define SPM_RESOURCE_ACK_CON4 (SPM_BASE + 0x0C8) 60*91f16700Schasinglulu #define SPM_SRAM_CON (SPM_BASE + 0x0CC) 61*91f16700Schasinglulu #define PCM_REG0_DATA (SPM_BASE + 0x100) 62*91f16700Schasinglulu #define PCM_REG2_DATA (SPM_BASE + 0x104) 63*91f16700Schasinglulu #define PCM_REG6_DATA (SPM_BASE + 0x108) 64*91f16700Schasinglulu #define PCM_REG7_DATA (SPM_BASE + 0x10C) 65*91f16700Schasinglulu #define PCM_REG13_DATA (SPM_BASE + 0x110) 66*91f16700Schasinglulu #define SRC_REQ_STA_0 (SPM_BASE + 0x114) 67*91f16700Schasinglulu #define SRC_REQ_STA_1 (SPM_BASE + 0x118) 68*91f16700Schasinglulu #define SRC_REQ_STA_2 (SPM_BASE + 0x120) 69*91f16700Schasinglulu #define SRC_REQ_STA_3 (SPM_BASE + 0x124) 70*91f16700Schasinglulu #define SRC_REQ_STA_4 (SPM_BASE + 0x128) 71*91f16700Schasinglulu #define PCM_TIMER_OUT (SPM_BASE + 0x130) 72*91f16700Schasinglulu #define PCM_WDT_OUT (SPM_BASE + 0x134) 73*91f16700Schasinglulu #define SPM_IRQ_STA (SPM_BASE + 0x138) 74*91f16700Schasinglulu #define MD32PCM_WAKEUP_STA (SPM_BASE + 0x13C) 75*91f16700Schasinglulu #define MD32PCM_EVENT_STA (SPM_BASE + 0x140) 76*91f16700Schasinglulu #define SPM_WAKEUP_STA (SPM_BASE + 0x144) 77*91f16700Schasinglulu #define SPM_WAKEUP_EXT_STA (SPM_BASE + 0x148) 78*91f16700Schasinglulu #define SPM_WAKEUP_MISC (SPM_BASE + 0x14C) 79*91f16700Schasinglulu #define MM_DVFS_HALT (SPM_BASE + 0x150) 80*91f16700Schasinglulu #define SUBSYS_IDLE_STA (SPM_BASE + 0x164) 81*91f16700Schasinglulu #define PCM_STA (SPM_BASE + 0x168) 82*91f16700Schasinglulu #define PWR_STATUS (SPM_BASE + 0x16C) 83*91f16700Schasinglulu #define PWR_STATUS_2ND (SPM_BASE + 0x170) 84*91f16700Schasinglulu #define CPU_PWR_STATUS (SPM_BASE + 0x174) 85*91f16700Schasinglulu #define CPU_PWR_STATUS_2ND (SPM_BASE + 0x178) 86*91f16700Schasinglulu #define SPM_VTCXO_EVENT_COUNT_STA (SPM_BASE + 0x17C) 87*91f16700Schasinglulu #define SPM_INFRA_EVENT_COUNT_STA (SPM_BASE + 0x180) 88*91f16700Schasinglulu #define SPM_VRF18_EVENT_COUNT_STA (SPM_BASE + 0x184) 89*91f16700Schasinglulu #define SPM_APSRC_EVENT_COUNT_STA (SPM_BASE + 0x188) 90*91f16700Schasinglulu #define SPM_DDREN_EVENT_COUNT_STA (SPM_BASE + 0x18C) 91*91f16700Schasinglulu #define MD32PCM_STA (SPM_BASE + 0x190) 92*91f16700Schasinglulu #define MD32PCM_PC (SPM_BASE + 0x194) 93*91f16700Schasinglulu #define OTHER_PWR_STATUS (SPM_BASE + 0x198) 94*91f16700Schasinglulu #define DVFSRC_EVENT_STA (SPM_BASE + 0x19C) 95*91f16700Schasinglulu #define BUS_PROTECT_RDY (SPM_BASE + 0x1A0) 96*91f16700Schasinglulu #define BUS_PROTECT1_RDY (SPM_BASE + 0x1A4) 97*91f16700Schasinglulu #define BUS_PROTECT2_RDY (SPM_BASE + 0x1A8) 98*91f16700Schasinglulu #define BUS_PROTECT3_RDY (SPM_BASE + 0x1AC) 99*91f16700Schasinglulu #define BUS_PROTECT4_RDY (SPM_BASE + 0x1B0) 100*91f16700Schasinglulu #define BUS_PROTECT5_RDY (SPM_BASE + 0x1B4) 101*91f16700Schasinglulu #define BUS_PROTECT6_RDY (SPM_BASE + 0x1B8) 102*91f16700Schasinglulu #define BUS_PROTECT7_RDY (SPM_BASE + 0x1BC) 103*91f16700Schasinglulu #define BUS_PROTECT8_RDY (SPM_BASE + 0x1C0) 104*91f16700Schasinglulu #define BUS_PROTECT9_RDY (SPM_BASE + 0x1C4) 105*91f16700Schasinglulu #define SPM_TWAM_LAST_STA0 (SPM_BASE + 0x1D0) 106*91f16700Schasinglulu #define SPM_TWAM_LAST_STA1 (SPM_BASE + 0x1D4) 107*91f16700Schasinglulu #define SPM_TWAM_LAST_STA2 (SPM_BASE + 0x1D8) 108*91f16700Schasinglulu #define SPM_TWAM_LAST_STA3 (SPM_BASE + 0x1DC) 109*91f16700Schasinglulu #define SPM_TWAM_CURR_STA0 (SPM_BASE + 0x1E0) 110*91f16700Schasinglulu #define SPM_TWAM_CURR_STA1 (SPM_BASE + 0x1E4) 111*91f16700Schasinglulu #define SPM_TWAM_CURR_STA2 (SPM_BASE + 0x1E8) 112*91f16700Schasinglulu #define SPM_TWAM_CURR_STA3 (SPM_BASE + 0x1EC) 113*91f16700Schasinglulu #define SPM_TWAM_TIMER_OUT (SPM_BASE + 0x1F0) 114*91f16700Schasinglulu #define SPM_CG_CHECK_STA (SPM_BASE + 0x1F4) 115*91f16700Schasinglulu #define SPM_DVFS_STA (SPM_BASE + 0x1F8) 116*91f16700Schasinglulu #define SPM_DVFS_OPP_STA (SPM_BASE + 0x1FC) 117*91f16700Schasinglulu #define CPUEB_PWR_CON (SPM_BASE + 0x200) 118*91f16700Schasinglulu #define SPM_MCUSYS_PWR_CON (SPM_BASE + 0x204) 119*91f16700Schasinglulu #define SPM_CPUTOP_PWR_CON (SPM_BASE + 0x208) 120*91f16700Schasinglulu #define SPM_CPU0_PWR_CON (SPM_BASE + 0x20C) 121*91f16700Schasinglulu #define SPM_CPU1_PWR_CON (SPM_BASE + 0x210) 122*91f16700Schasinglulu #define SPM_CPU2_PWR_CON (SPM_BASE + 0x214) 123*91f16700Schasinglulu #define SPM_CPU3_PWR_CON (SPM_BASE + 0x218) 124*91f16700Schasinglulu #define SPM_CPU4_PWR_CON (SPM_BASE + 0x21C) 125*91f16700Schasinglulu #define SPM_CPU5_PWR_CON (SPM_BASE + 0x220) 126*91f16700Schasinglulu #define SPM_CPU6_PWR_CON (SPM_BASE + 0x224) 127*91f16700Schasinglulu #define SPM_CPU7_PWR_CON (SPM_BASE + 0x228) 128*91f16700Schasinglulu #define ARMPLL_CLK_CON (SPM_BASE + 0x22C) 129*91f16700Schasinglulu #define MCUSYS_IDLE_STA (SPM_BASE + 0x230) 130*91f16700Schasinglulu #define GIC_WAKEUP_STA (SPM_BASE + 0x234) 131*91f16700Schasinglulu #define CPU_SPARE_CON (SPM_BASE + 0x238) 132*91f16700Schasinglulu #define CPU_SPARE_CON_SET (SPM_BASE + 0x23C) 133*91f16700Schasinglulu #define CPU_SPARE_CON_CLR (SPM_BASE + 0x240) 134*91f16700Schasinglulu #define ARMPLL_CLK_SEL (SPM_BASE + 0x244) 135*91f16700Schasinglulu #define EXT_INT_WAKEUP_REQ (SPM_BASE + 0x248) 136*91f16700Schasinglulu #define EXT_INT_WAKEUP_REQ_SET (SPM_BASE + 0x24C) 137*91f16700Schasinglulu #define EXT_INT_WAKEUP_REQ_CLR (SPM_BASE + 0x250) 138*91f16700Schasinglulu #define CPU_IRQ_MASK (SPM_BASE + 0x260) 139*91f16700Schasinglulu #define CPU_IRQ_MASK_SET (SPM_BASE + 0x264) 140*91f16700Schasinglulu #define CPU_IRQ_MASK_CLR (SPM_BASE + 0x268) 141*91f16700Schasinglulu #define CPU_WFI_EN (SPM_BASE + 0x280) 142*91f16700Schasinglulu #define CPU_WFI_EN_SET (SPM_BASE + 0x284) 143*91f16700Schasinglulu #define CPU_WFI_EN_CLR (SPM_BASE + 0x288) 144*91f16700Schasinglulu #define SYSRAM_CON (SPM_BASE + 0x290) 145*91f16700Schasinglulu #define SYSROM_CON (SPM_BASE + 0x294) 146*91f16700Schasinglulu #define ROOT_CPUTOP_ADDR (SPM_BASE + 0x2A0) 147*91f16700Schasinglulu #define ROOT_CORE_ADDR (SPM_BASE + 0x2A4) 148*91f16700Schasinglulu #define SPM2SW_MAILBOX_0 (SPM_BASE + 0x2D0) 149*91f16700Schasinglulu #define SPM2SW_MAILBOX_1 (SPM_BASE + 0x2D4) 150*91f16700Schasinglulu #define SPM2SW_MAILBOX_2 (SPM_BASE + 0x2D8) 151*91f16700Schasinglulu #define SPM2SW_MAILBOX_3 (SPM_BASE + 0x2DC) 152*91f16700Schasinglulu #define SW2SPM_INT (SPM_BASE + 0x2E0) 153*91f16700Schasinglulu #define SW2SPM_INT_SET (SPM_BASE + 0x2E4) 154*91f16700Schasinglulu #define SW2SPM_INT_CLR (SPM_BASE + 0x2E8) 155*91f16700Schasinglulu #define SW2SPM_MAILBOX_0 (SPM_BASE + 0x2EC) 156*91f16700Schasinglulu #define SW2SPM_MAILBOX_1 (SPM_BASE + 0x2F0) 157*91f16700Schasinglulu #define SW2SPM_MAILBOX_2 (SPM_BASE + 0x2F4) 158*91f16700Schasinglulu #define SW2SPM_MAILBOX_3 (SPM_BASE + 0x2F8) 159*91f16700Schasinglulu #define SW2SPM_CFG (SPM_BASE + 0x2FC) 160*91f16700Schasinglulu #define MFG0_PWR_CON (SPM_BASE + 0x300) 161*91f16700Schasinglulu #define MFG1_PWR_CON (SPM_BASE + 0x304) 162*91f16700Schasinglulu #define MFG2_PWR_CON (SPM_BASE + 0x308) 163*91f16700Schasinglulu #define MFG3_PWR_CON (SPM_BASE + 0x30C) 164*91f16700Schasinglulu #define MFG4_PWR_CON (SPM_BASE + 0x310) 165*91f16700Schasinglulu #define MFG5_PWR_CON (SPM_BASE + 0x314) 166*91f16700Schasinglulu #define IFR_PWR_CON (SPM_BASE + 0x318) 167*91f16700Schasinglulu #define IFR_SUB_PWR_CON (SPM_BASE + 0x31C) 168*91f16700Schasinglulu #define PERI_PWR_CON (SPM_BASE + 0x320) 169*91f16700Schasinglulu #define PEXTP_MAC_TOP_P0_PWR_CON (SPM_BASE + 0x324) 170*91f16700Schasinglulu #define PEXTP_PHY_TOP_PWR_CON (SPM_BASE + 0x328) 171*91f16700Schasinglulu #define APHY_N_PWR_CON (SPM_BASE + 0x32C) 172*91f16700Schasinglulu #define APHY_S_PWR_CON (SPM_BASE + 0x330) 173*91f16700Schasinglulu #define ETHER_PWR_CON (SPM_BASE + 0x338) 174*91f16700Schasinglulu #define DPY0_PWR_CON (SPM_BASE + 0x33C) 175*91f16700Schasinglulu #define DPY1_PWR_CON (SPM_BASE + 0x340) 176*91f16700Schasinglulu #define DPM0_PWR_CON (SPM_BASE + 0x344) 177*91f16700Schasinglulu #define DPM1_PWR_CON (SPM_BASE + 0x348) 178*91f16700Schasinglulu #define AUDIO_PWR_CON (SPM_BASE + 0x34C) 179*91f16700Schasinglulu #define AUDIO_ASRC_PWR_CON (SPM_BASE + 0x350) 180*91f16700Schasinglulu #define ADSP_PWR_CON (SPM_BASE + 0x354) 181*91f16700Schasinglulu #define ADSP_INFRA_PWR_CON (SPM_BASE + 0x358) 182*91f16700Schasinglulu #define ADSP_AO_PWR_CON (SPM_BASE + 0x35C) 183*91f16700Schasinglulu #define VPPSYS0_PWR_CON (SPM_BASE + 0x360) 184*91f16700Schasinglulu #define VPPSYS1_PWR_CON (SPM_BASE + 0x364) 185*91f16700Schasinglulu #define VDOSYS0_PWR_CON (SPM_BASE + 0x368) 186*91f16700Schasinglulu #define VDOSYS1_PWR_CON (SPM_BASE + 0x36C) 187*91f16700Schasinglulu #define WPESYS_PWR_CON (SPM_BASE + 0x370) 188*91f16700Schasinglulu #define DP_TX_PWR_CON (SPM_BASE + 0x374) 189*91f16700Schasinglulu #define EDP_TX_PWR_CON (SPM_BASE + 0x378) 190*91f16700Schasinglulu #define HDMI_TX_PWR_CON (SPM_BASE + 0x37C) 191*91f16700Schasinglulu #define VDE0_PWR_CON (SPM_BASE + 0x380) 192*91f16700Schasinglulu #define VDE1_PWR_CON (SPM_BASE + 0x384) 193*91f16700Schasinglulu #define VDE2_PWR_CON (SPM_BASE + 0x388) 194*91f16700Schasinglulu #define VEN_PWR_CON (SPM_BASE + 0x38C) 195*91f16700Schasinglulu #define VEN_CORE1_PWR_CON (SPM_BASE + 0x390) 196*91f16700Schasinglulu #define CAM_MAIN_PWR_CON (SPM_BASE + 0x394) 197*91f16700Schasinglulu #define CAM_SUBA_PWR_CON (SPM_BASE + 0x398) 198*91f16700Schasinglulu #define CAM_SUBB_PWR_CON (SPM_BASE + 0x39C) 199*91f16700Schasinglulu #define CAM_VCORE_PWR_CON (SPM_BASE + 0x3A0) 200*91f16700Schasinglulu #define IMG_VCORE_PWR_CON (SPM_BASE + 0x3A4) 201*91f16700Schasinglulu #define IMG_MAIN_PWR_CON (SPM_BASE + 0x3A8) 202*91f16700Schasinglulu #define IMG_DIP_PWR_CON (SPM_BASE + 0x3AC) 203*91f16700Schasinglulu #define IMG_IPE_PWR_CON (SPM_BASE + 0x3B0) 204*91f16700Schasinglulu #define NNA0_PWR_CON (SPM_BASE + 0x3B4) 205*91f16700Schasinglulu #define NNA1_PWR_CON (SPM_BASE + 0x3B8) 206*91f16700Schasinglulu #define IPNNA_PWR_CON (SPM_BASE + 0x3C0) 207*91f16700Schasinglulu #define CSI_RX_TOP_PWR_CON (SPM_BASE + 0x3C4) 208*91f16700Schasinglulu #define SSPM_SRAM_CON (SPM_BASE + 0x3CC) 209*91f16700Schasinglulu #define SCP_SRAM_CON (SPM_BASE + 0x3D0) 210*91f16700Schasinglulu #define DEVAPC_IFR_SRAM_CON (SPM_BASE + 0x3D8) 211*91f16700Schasinglulu #define DEVAPC_SUBIFR_SRAM_CON (SPM_BASE + 0x3DC) 212*91f16700Schasinglulu #define DEVAPC_ACP_SRAM_CON (SPM_BASE + 0x3E0) 213*91f16700Schasinglulu #define USB_SRAM_CON (SPM_BASE + 0x3E4) 214*91f16700Schasinglulu #define DUMMY_SRAM_CON (SPM_BASE + 0x3E8) 215*91f16700Schasinglulu #define EXT_BUCK_ISO (SPM_BASE + 0x3EC) 216*91f16700Schasinglulu #define MSDC_SRAM_CON (SPM_BASE + 0x3F0) 217*91f16700Schasinglulu #define DEBUGTOP_SRAM_CON (SPM_BASE + 0x3F4) 218*91f16700Schasinglulu #define DPMAIF_SRAM_CON (SPM_BASE + 0x3F8) 219*91f16700Schasinglulu #define GCPU_SRAM_CON (SPM_BASE + 0x3FC) 220*91f16700Schasinglulu #define SPM_MEM_CK_SEL (SPM_BASE + 0x400) 221*91f16700Schasinglulu #define SPM_BUS_PROTECT_MASK_B (SPM_BASE + 0x404) 222*91f16700Schasinglulu #define SPM_BUS_PROTECT1_MASK_B (SPM_BASE + 0x408) 223*91f16700Schasinglulu #define SPM_BUS_PROTECT2_MASK_B (SPM_BASE + 0x40C) 224*91f16700Schasinglulu #define SPM_BUS_PROTECT3_MASK_B (SPM_BASE + 0x410) 225*91f16700Schasinglulu #define SPM_BUS_PROTECT4_MASK_B (SPM_BASE + 0x414) 226*91f16700Schasinglulu #define SPM_BUS_PROTECT5_MASK_B (SPM_BASE + 0x418) 227*91f16700Schasinglulu #define SPM_BUS_PROTECT6_MASK_B (SPM_BASE + 0x41C) 228*91f16700Schasinglulu #define SPM_BUS_PROTECT7_MASK_B (SPM_BASE + 0x420) 229*91f16700Schasinglulu #define SPM_BUS_PROTECT8_MASK_B (SPM_BASE + 0x424) 230*91f16700Schasinglulu #define SPM_BUS_PROTECT9_MASK_B (SPM_BASE + 0x428) 231*91f16700Schasinglulu #define SPM_EMI_BW_MODE (SPM_BASE + 0x42C) 232*91f16700Schasinglulu #define SPM2MM_CON (SPM_BASE + 0x434) 233*91f16700Schasinglulu #define SPM2CPUEB_CON (SPM_BASE + 0x438) 234*91f16700Schasinglulu #define AP_MDSRC_REQ (SPM_BASE + 0x43C) 235*91f16700Schasinglulu #define SPM2EMI_ENTER_ULPM (SPM_BASE + 0x440) 236*91f16700Schasinglulu #define SPM_PLL_CON (SPM_BASE + 0x444) 237*91f16700Schasinglulu #define RC_SPM_CTRL (SPM_BASE + 0x448) 238*91f16700Schasinglulu #define SPM_DRAM_MCU_SW_CON_0 (SPM_BASE + 0x44C) 239*91f16700Schasinglulu #define SPM_DRAM_MCU_SW_CON_1 (SPM_BASE + 0x450) 240*91f16700Schasinglulu #define SPM_DRAM_MCU_SW_CON_2 (SPM_BASE + 0x454) 241*91f16700Schasinglulu #define SPM_DRAM_MCU_SW_CON_3 (SPM_BASE + 0x458) 242*91f16700Schasinglulu #define SPM_DRAM_MCU_SW_CON_4 (SPM_BASE + 0x45C) 243*91f16700Schasinglulu #define SPM_DRAM_MCU_STA_0 (SPM_BASE + 0x460) 244*91f16700Schasinglulu #define SPM_DRAM_MCU_STA_1 (SPM_BASE + 0x464) 245*91f16700Schasinglulu #define SPM_DRAM_MCU_STA_2 (SPM_BASE + 0x468) 246*91f16700Schasinglulu #define SPM_DRAM_MCU_SW_SEL_0 (SPM_BASE + 0x46C) 247*91f16700Schasinglulu #define RELAY_DVFS_LEVEL (SPM_BASE + 0x470) 248*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_CON_0 (SPM_BASE + 0x474) 249*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_CON_1 (SPM_BASE + 0x478) 250*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_CON_2 (SPM_BASE + 0x47C) 251*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_CON_3 (SPM_BASE + 0x480) 252*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_SEL_0 (SPM_BASE + 0x484) 253*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_SEL_1 (SPM_BASE + 0x488) 254*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_SEL_2 (SPM_BASE + 0x48C) 255*91f16700Schasinglulu #define DRAMC_DPY_CLK_SW_SEL_3 (SPM_BASE + 0x490) 256*91f16700Schasinglulu #define DRAMC_DPY_CLK_SPM_CON (SPM_BASE + 0x494) 257*91f16700Schasinglulu #define SPM_DVFS_LEVEL (SPM_BASE + 0x498) 258*91f16700Schasinglulu #define SPM_CIRQ_CON (SPM_BASE + 0x49C) 259*91f16700Schasinglulu #define SPM_DVFS_MISC (SPM_BASE + 0x4A0) 260*91f16700Schasinglulu #define RG_MODULE_SW_CG_0_MASK_REQ_0 (SPM_BASE + 0x4A4) 261*91f16700Schasinglulu #define RG_MODULE_SW_CG_0_MASK_REQ_1 (SPM_BASE + 0x4A8) 262*91f16700Schasinglulu #define RG_MODULE_SW_CG_0_MASK_REQ_2 (SPM_BASE + 0x4AC) 263*91f16700Schasinglulu #define RG_MODULE_SW_CG_1_MASK_REQ_0 (SPM_BASE + 0x4B0) 264*91f16700Schasinglulu #define RG_MODULE_SW_CG_1_MASK_REQ_1 (SPM_BASE + 0x4B4) 265*91f16700Schasinglulu #define RG_MODULE_SW_CG_1_MASK_REQ_2 (SPM_BASE + 0x4B8) 266*91f16700Schasinglulu #define RG_MODULE_SW_CG_2_MASK_REQ_0 (SPM_BASE + 0x4BC) 267*91f16700Schasinglulu #define RG_MODULE_SW_CG_2_MASK_REQ_1 (SPM_BASE + 0x4C0) 268*91f16700Schasinglulu #define RG_MODULE_SW_CG_2_MASK_REQ_2 (SPM_BASE + 0x4C4) 269*91f16700Schasinglulu #define RG_MODULE_SW_CG_3_MASK_REQ_0 (SPM_BASE + 0x4C8) 270*91f16700Schasinglulu #define RG_MODULE_SW_CG_3_MASK_REQ_1 (SPM_BASE + 0x4CC) 271*91f16700Schasinglulu #define RG_MODULE_SW_CG_3_MASK_REQ_2 (SPM_BASE + 0x4D0) 272*91f16700Schasinglulu #define PWR_STATUS_MASK_REQ_0 (SPM_BASE + 0x4D4) 273*91f16700Schasinglulu #define PWR_STATUS_MASK_REQ_1 (SPM_BASE + 0x4D8) 274*91f16700Schasinglulu #define PWR_STATUS_MASK_REQ_2 (SPM_BASE + 0x4DC) 275*91f16700Schasinglulu #define SPM_CG_CHECK_CON (SPM_BASE + 0x4E0) 276*91f16700Schasinglulu #define SPM_SRC_RDY_STA (SPM_BASE + 0x4E4) 277*91f16700Schasinglulu #define SPM_DVS_DFS_LEVEL (SPM_BASE + 0x4E8) 278*91f16700Schasinglulu #define SPM_FORCE_DVFS (SPM_BASE + 0x4EC) 279*91f16700Schasinglulu #define DRAMC_MCU_SRAM_CON (SPM_BASE + 0x4F0) 280*91f16700Schasinglulu #define DRAMC_MCU2_SRAM_CON (SPM_BASE + 0x4F4) 281*91f16700Schasinglulu #define DPY_SHU_SRAM_CON (SPM_BASE + 0x4F8) 282*91f16700Schasinglulu #define DPY_SHU2_SRAM_CON (SPM_BASE + 0x4FC) 283*91f16700Schasinglulu #define SPM_DPM_P2P_STA (SPM_BASE + 0x514) 284*91f16700Schasinglulu #define SPM_DPM_P2P_CON (SPM_BASE + 0x518) 285*91f16700Schasinglulu #define SPM_SW_FLAG_0 (SPM_BASE + 0x600) 286*91f16700Schasinglulu #define SPM_SW_DEBUG_0 (SPM_BASE + 0x604) 287*91f16700Schasinglulu #define SPM_SW_FLAG_1 (SPM_BASE + 0x608) 288*91f16700Schasinglulu #define SPM_SW_DEBUG_1 (SPM_BASE + 0x60C) 289*91f16700Schasinglulu #define SPM_SW_RSV_0 (SPM_BASE + 0x610) 290*91f16700Schasinglulu #define SPM_SW_RSV_1 (SPM_BASE + 0x614) 291*91f16700Schasinglulu #define SPM_SW_RSV_2 (SPM_BASE + 0x618) 292*91f16700Schasinglulu #define SPM_SW_RSV_3 (SPM_BASE + 0x61C) 293*91f16700Schasinglulu #define SPM_SW_RSV_4 (SPM_BASE + 0x620) 294*91f16700Schasinglulu #define SPM_SW_RSV_5 (SPM_BASE + 0x624) 295*91f16700Schasinglulu #define SPM_SW_RSV_6 (SPM_BASE + 0x628) 296*91f16700Schasinglulu #define SPM_SW_RSV_7 (SPM_BASE + 0x62C) 297*91f16700Schasinglulu #define SPM_SW_RSV_8 (SPM_BASE + 0x630) 298*91f16700Schasinglulu #define SPM_BK_WAKE_EVENT (SPM_BASE + 0x634) 299*91f16700Schasinglulu #define SPM_BK_VTCXO_DUR (SPM_BASE + 0x638) 300*91f16700Schasinglulu #define SPM_BK_WAKE_MISC (SPM_BASE + 0x63C) 301*91f16700Schasinglulu #define SPM_BK_PCM_TIMER (SPM_BASE + 0x640) 302*91f16700Schasinglulu #define ULPOSC_CON (SPM_BASE + 0x644) 303*91f16700Schasinglulu #define SPM_RSV_CON_0 (SPM_BASE + 0x650) 304*91f16700Schasinglulu #define SPM_RSV_CON_1 (SPM_BASE + 0x654) 305*91f16700Schasinglulu #define SPM_RSV_STA_0 (SPM_BASE + 0x658) 306*91f16700Schasinglulu #define SPM_RSV_STA_1 (SPM_BASE + 0x65C) 307*91f16700Schasinglulu #define SPM_SPARE_CON (SPM_BASE + 0x660) 308*91f16700Schasinglulu #define SPM_SPARE_CON_SET (SPM_BASE + 0x664) 309*91f16700Schasinglulu #define SPM_SPARE_CON_CLR (SPM_BASE + 0x668) 310*91f16700Schasinglulu #define SPM_CROSS_WAKE_M00_REQ (SPM_BASE + 0x66C) 311*91f16700Schasinglulu #define SPM_CROSS_WAKE_M01_REQ (SPM_BASE + 0x670) 312*91f16700Schasinglulu #define SPM_CROSS_WAKE_M02_REQ (SPM_BASE + 0x674) 313*91f16700Schasinglulu #define SPM_CROSS_WAKE_M03_REQ (SPM_BASE + 0x678) 314*91f16700Schasinglulu #define SCP_VCORE_LEVEL (SPM_BASE + 0x67C) 315*91f16700Schasinglulu #define SC_MM_CK_SEL_CON (SPM_BASE + 0x680) 316*91f16700Schasinglulu #define SPARE_ACK_MASK (SPM_BASE + 0x684) 317*91f16700Schasinglulu #define SPM_DV_CON_0 (SPM_BASE + 0x68C) 318*91f16700Schasinglulu #define SPM_DV_CON_1 (SPM_BASE + 0x690) 319*91f16700Schasinglulu #define SPM_DV_STA (SPM_BASE + 0x694) 320*91f16700Schasinglulu #define CONN_XOWCN_DEBUG_EN (SPM_BASE + 0x698) 321*91f16700Schasinglulu #define SPM_SEMA_M0 (SPM_BASE + 0x69C) 322*91f16700Schasinglulu #define SPM_SEMA_M1 (SPM_BASE + 0x6A0) 323*91f16700Schasinglulu #define SPM_SEMA_M2 (SPM_BASE + 0x6A4) 324*91f16700Schasinglulu #define SPM_SEMA_M3 (SPM_BASE + 0x6A8) 325*91f16700Schasinglulu #define SPM_SEMA_M4 (SPM_BASE + 0x6AC) 326*91f16700Schasinglulu #define SPM_SEMA_M5 (SPM_BASE + 0x6B0) 327*91f16700Schasinglulu #define SPM_SEMA_M6 (SPM_BASE + 0x6B4) 328*91f16700Schasinglulu #define SPM_SEMA_M7 (SPM_BASE + 0x6B8) 329*91f16700Schasinglulu #define SPM2ADSP_MAILBOX (SPM_BASE + 0x6BC) 330*91f16700Schasinglulu #define ADSP2SPM_MAILBOX (SPM_BASE + 0x6C0) 331*91f16700Schasinglulu #define SPM_ADSP_IRQ (SPM_BASE + 0x6C4) 332*91f16700Schasinglulu #define SPM_MD32_IRQ (SPM_BASE + 0x6C8) 333*91f16700Schasinglulu #define SPM2PMCU_MAILBOX_0 (SPM_BASE + 0x6CC) 334*91f16700Schasinglulu #define SPM2PMCU_MAILBOX_1 (SPM_BASE + 0x6D0) 335*91f16700Schasinglulu #define SPM2PMCU_MAILBOX_2 (SPM_BASE + 0x6D4) 336*91f16700Schasinglulu #define SPM2PMCU_MAILBOX_3 (SPM_BASE + 0x6D8) 337*91f16700Schasinglulu #define PMCU2SPM_MAILBOX_0 (SPM_BASE + 0x6DC) 338*91f16700Schasinglulu #define PMCU2SPM_MAILBOX_1 (SPM_BASE + 0x6E0) 339*91f16700Schasinglulu #define PMCU2SPM_MAILBOX_2 (SPM_BASE + 0x6E4) 340*91f16700Schasinglulu #define PMCU2SPM_MAILBOX_3 (SPM_BASE + 0x6E8) 341*91f16700Schasinglulu #define SPM_AP_SEMA (SPM_BASE + 0x6F8) 342*91f16700Schasinglulu #define SPM_SPM_SEMA (SPM_BASE + 0x6FC) 343*91f16700Schasinglulu #define SPM_DVFS_CON (SPM_BASE + 0x700) 344*91f16700Schasinglulu #define SPM_DVFS_CON_STA (SPM_BASE + 0x704) 345*91f16700Schasinglulu #define SPM_PMIC_SPMI_CON (SPM_BASE + 0x708) 346*91f16700Schasinglulu #define SPM_DVFS_CMD0 (SPM_BASE + 0x710) 347*91f16700Schasinglulu #define SPM_DVFS_CMD1 (SPM_BASE + 0x714) 348*91f16700Schasinglulu #define SPM_DVFS_CMD2 (SPM_BASE + 0x718) 349*91f16700Schasinglulu #define SPM_DVFS_CMD3 (SPM_BASE + 0x71C) 350*91f16700Schasinglulu #define SPM_DVFS_CMD4 (SPM_BASE + 0x720) 351*91f16700Schasinglulu #define SPM_DVFS_CMD5 (SPM_BASE + 0x724) 352*91f16700Schasinglulu #define SPM_DVFS_CMD6 (SPM_BASE + 0x728) 353*91f16700Schasinglulu #define SPM_DVFS_CMD7 (SPM_BASE + 0x72C) 354*91f16700Schasinglulu #define SPM_DVFS_CMD8 (SPM_BASE + 0x730) 355*91f16700Schasinglulu #define SPM_DVFS_CMD9 (SPM_BASE + 0x734) 356*91f16700Schasinglulu #define SPM_DVFS_CMD10 (SPM_BASE + 0x738) 357*91f16700Schasinglulu #define SPM_DVFS_CMD11 (SPM_BASE + 0x73C) 358*91f16700Schasinglulu #define SPM_DVFS_CMD12 (SPM_BASE + 0x740) 359*91f16700Schasinglulu #define SPM_DVFS_CMD13 (SPM_BASE + 0x744) 360*91f16700Schasinglulu #define SPM_DVFS_CMD14 (SPM_BASE + 0x748) 361*91f16700Schasinglulu #define SPM_DVFS_CMD15 (SPM_BASE + 0x74C) 362*91f16700Schasinglulu #define SPM_DVFS_CMD16 (SPM_BASE + 0x750) 363*91f16700Schasinglulu #define SPM_DVFS_CMD17 (SPM_BASE + 0x754) 364*91f16700Schasinglulu #define SPM_DVFS_CMD18 (SPM_BASE + 0x758) 365*91f16700Schasinglulu #define SPM_DVFS_CMD19 (SPM_BASE + 0x75C) 366*91f16700Schasinglulu #define SPM_DVFS_CMD20 (SPM_BASE + 0x760) 367*91f16700Schasinglulu #define SPM_DVFS_CMD21 (SPM_BASE + 0x764) 368*91f16700Schasinglulu #define SPM_DVFS_CMD22 (SPM_BASE + 0x768) 369*91f16700Schasinglulu #define SPM_DVFS_CMD23 (SPM_BASE + 0x76C) 370*91f16700Schasinglulu #define SYS_TIMER_VALUE_L (SPM_BASE + 0x770) 371*91f16700Schasinglulu #define SYS_TIMER_VALUE_H (SPM_BASE + 0x774) 372*91f16700Schasinglulu #define SYS_TIMER_START_L (SPM_BASE + 0x778) 373*91f16700Schasinglulu #define SYS_TIMER_START_H (SPM_BASE + 0x77C) 374*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_00 (SPM_BASE + 0x780) 375*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_00 (SPM_BASE + 0x784) 376*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_01 (SPM_BASE + 0x788) 377*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_01 (SPM_BASE + 0x78C) 378*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_02 (SPM_BASE + 0x790) 379*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_02 (SPM_BASE + 0x794) 380*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_03 (SPM_BASE + 0x798) 381*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_03 (SPM_BASE + 0x79C) 382*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_04 (SPM_BASE + 0x7A0) 383*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_04 (SPM_BASE + 0x7A4) 384*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_05 (SPM_BASE + 0x7A8) 385*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_05 (SPM_BASE + 0x7AC) 386*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_06 (SPM_BASE + 0x7B0) 387*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_06 (SPM_BASE + 0x7B4) 388*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_07 (SPM_BASE + 0x7B8) 389*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_07 (SPM_BASE + 0x7BC) 390*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_08 (SPM_BASE + 0x7C0) 391*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_08 (SPM_BASE + 0x7C4) 392*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_09 (SPM_BASE + 0x7C8) 393*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_09 (SPM_BASE + 0x7CC) 394*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_10 (SPM_BASE + 0x7D0) 395*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_10 (SPM_BASE + 0x7D4) 396*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_11 (SPM_BASE + 0x7D8) 397*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_11 (SPM_BASE + 0x7DC) 398*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_12 (SPM_BASE + 0x7E0) 399*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_12 (SPM_BASE + 0x7E4) 400*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_13 (SPM_BASE + 0x7E8) 401*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_13 (SPM_BASE + 0x7EC) 402*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_14 (SPM_BASE + 0x7F0) 403*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_14 (SPM_BASE + 0x7F4) 404*91f16700Schasinglulu #define SYS_TIMER_LATCH_L_15 (SPM_BASE + 0x7F8) 405*91f16700Schasinglulu #define SYS_TIMER_LATCH_H_15 (SPM_BASE + 0x7FC) 406*91f16700Schasinglulu #define PCM_WDT_LATCH_0 (SPM_BASE + 0x800) 407*91f16700Schasinglulu #define PCM_WDT_LATCH_1 (SPM_BASE + 0x804) 408*91f16700Schasinglulu #define PCM_WDT_LATCH_2 (SPM_BASE + 0x808) 409*91f16700Schasinglulu #define PCM_WDT_LATCH_3 (SPM_BASE + 0x80C) 410*91f16700Schasinglulu #define PCM_WDT_LATCH_4 (SPM_BASE + 0x810) 411*91f16700Schasinglulu #define PCM_WDT_LATCH_5 (SPM_BASE + 0x814) 412*91f16700Schasinglulu #define PCM_WDT_LATCH_6 (SPM_BASE + 0x818) 413*91f16700Schasinglulu #define PCM_WDT_LATCH_7 (SPM_BASE + 0x81C) 414*91f16700Schasinglulu #define PCM_WDT_LATCH_8 (SPM_BASE + 0x820) 415*91f16700Schasinglulu #define PCM_WDT_LATCH_9 (SPM_BASE + 0x824) 416*91f16700Schasinglulu #define PCM_WDT_LATCH_10 (SPM_BASE + 0x828) 417*91f16700Schasinglulu #define PCM_WDT_LATCH_11 (SPM_BASE + 0x82C) 418*91f16700Schasinglulu #define PCM_WDT_LATCH_12 (SPM_BASE + 0x830) 419*91f16700Schasinglulu #define PCM_WDT_LATCH_13 (SPM_BASE + 0x834) 420*91f16700Schasinglulu #define PCM_WDT_LATCH_14 (SPM_BASE + 0x838) 421*91f16700Schasinglulu #define PCM_WDT_LATCH_15 (SPM_BASE + 0x83C) 422*91f16700Schasinglulu #define PCM_WDT_LATCH_16 (SPM_BASE + 0x840) 423*91f16700Schasinglulu #define PCM_WDT_LATCH_17 (SPM_BASE + 0x844) 424*91f16700Schasinglulu #define PCM_WDT_LATCH_18 (SPM_BASE + 0x848) 425*91f16700Schasinglulu #define PCM_WDT_LATCH_SPARE_0 (SPM_BASE + 0x84C) 426*91f16700Schasinglulu #define PCM_WDT_LATCH_SPARE_1 (SPM_BASE + 0x850) 427*91f16700Schasinglulu #define PCM_WDT_LATCH_SPARE_2 (SPM_BASE + 0x854) 428*91f16700Schasinglulu #define DRAMC_GATING_ERR_LATCH_CH0_0 (SPM_BASE + 0x8A0) 429*91f16700Schasinglulu #define DRAMC_GATING_ERR_LATCH_CH0_1 (SPM_BASE + 0x8A4) 430*91f16700Schasinglulu #define DRAMC_GATING_ERR_LATCH_CH0_2 (SPM_BASE + 0x8A8) 431*91f16700Schasinglulu #define DRAMC_GATING_ERR_LATCH_CH0_3 (SPM_BASE + 0x8AC) 432*91f16700Schasinglulu #define DRAMC_GATING_ERR_LATCH_CH0_4 (SPM_BASE + 0x8B0) 433*91f16700Schasinglulu #define DRAMC_GATING_ERR_LATCH_CH0_5 (SPM_BASE + 0x8B4) 434*91f16700Schasinglulu #define DRAMC_GATING_ERR_LATCH_SPARE_0 (SPM_BASE + 0x8F4) 435*91f16700Schasinglulu #define SPM_ACK_CHK_CON_0 (SPM_BASE + 0x900) 436*91f16700Schasinglulu #define SPM_ACK_CHK_PC_0 (SPM_BASE + 0x904) 437*91f16700Schasinglulu #define SPM_ACK_CHK_SEL_0 (SPM_BASE + 0x908) 438*91f16700Schasinglulu #define SPM_ACK_CHK_TIMER_0 (SPM_BASE + 0x90C) 439*91f16700Schasinglulu #define SPM_ACK_CHK_STA_0 (SPM_BASE + 0x910) 440*91f16700Schasinglulu #define SPM_ACK_CHK_SWINT_0 (SPM_BASE + 0x914) 441*91f16700Schasinglulu #define SPM_ACK_CHK_CON_1 (SPM_BASE + 0x920) 442*91f16700Schasinglulu #define SPM_ACK_CHK_PC_1 (SPM_BASE + 0x924) 443*91f16700Schasinglulu #define SPM_ACK_CHK_SEL_1 (SPM_BASE + 0x928) 444*91f16700Schasinglulu #define SPM_ACK_CHK_TIMER_1 (SPM_BASE + 0x92C) 445*91f16700Schasinglulu #define SPM_ACK_CHK_STA_1 (SPM_BASE + 0x930) 446*91f16700Schasinglulu #define SPM_ACK_CHK_SWINT_1 (SPM_BASE + 0x934) 447*91f16700Schasinglulu #define SPM_ACK_CHK_CON_2 (SPM_BASE + 0x940) 448*91f16700Schasinglulu #define SPM_ACK_CHK_PC_2 (SPM_BASE + 0x944) 449*91f16700Schasinglulu #define SPM_ACK_CHK_SEL_2 (SPM_BASE + 0x948) 450*91f16700Schasinglulu #define SPM_ACK_CHK_TIMER_2 (SPM_BASE + 0x94C) 451*91f16700Schasinglulu #define SPM_ACK_CHK_STA_2 (SPM_BASE + 0x950) 452*91f16700Schasinglulu #define SPM_ACK_CHK_SWINT_2 (SPM_BASE + 0x954) 453*91f16700Schasinglulu #define SPM_ACK_CHK_CON_3 (SPM_BASE + 0x960) 454*91f16700Schasinglulu #define SPM_ACK_CHK_PC_3 (SPM_BASE + 0x964) 455*91f16700Schasinglulu #define SPM_ACK_CHK_SEL_3 (SPM_BASE + 0x968) 456*91f16700Schasinglulu #define SPM_ACK_CHK_TIMER_3 (SPM_BASE + 0x96C) 457*91f16700Schasinglulu #define SPM_ACK_CHK_STA_3 (SPM_BASE + 0x970) 458*91f16700Schasinglulu #define SPM_ACK_CHK_SWINT_3 (SPM_BASE + 0x974) 459*91f16700Schasinglulu #define SPM_COUNTER_0 (SPM_BASE + 0x978) 460*91f16700Schasinglulu #define SPM_COUNTER_1 (SPM_BASE + 0x97C) 461*91f16700Schasinglulu #define SPM_COUNTER_2 (SPM_BASE + 0x980) 462*91f16700Schasinglulu #define SYS_TIMER_CON (SPM_BASE + 0x98C) 463*91f16700Schasinglulu #define SPM_TWAM_CON (SPM_BASE + 0x990) 464*91f16700Schasinglulu #define SPM_TWAM_WINDOW_LEN (SPM_BASE + 0x994) 465*91f16700Schasinglulu #define SPM_TWAM_IDLE_SEL (SPM_BASE + 0x998) 466*91f16700Schasinglulu #define SPM_TWAM_EVENT_CLEAR (SPM_BASE + 0x99C) 467*91f16700Schasinglulu #define PMSR_LAST_DAT (SPM_BASE + 0xF00) 468*91f16700Schasinglulu #define PMSR_LAST_CNT (SPM_BASE + 0xF04) 469*91f16700Schasinglulu #define PMSR_LAST_ACK (SPM_BASE + 0xF08) 470*91f16700Schasinglulu #define SPM_PMSR_SEL_CON0 (SPM_BASE + 0xF10) 471*91f16700Schasinglulu #define SPM_PMSR_SEL_CON1 (SPM_BASE + 0xF14) 472*91f16700Schasinglulu #define SPM_PMSR_SEL_CON2 (SPM_BASE + 0xF18) 473*91f16700Schasinglulu #define SPM_PMSR_SEL_CON3 (SPM_BASE + 0xF1C) 474*91f16700Schasinglulu #define SPM_PMSR_SEL_CON4 (SPM_BASE + 0xF20) 475*91f16700Schasinglulu #define SPM_PMSR_SEL_CON5 (SPM_BASE + 0xF24) 476*91f16700Schasinglulu #define SPM_PMSR_SEL_CON6 (SPM_BASE + 0xF28) 477*91f16700Schasinglulu #define SPM_PMSR_SEL_CON7 (SPM_BASE + 0xF2C) 478*91f16700Schasinglulu #define SPM_PMSR_SEL_CON8 (SPM_BASE + 0xF30) 479*91f16700Schasinglulu #define SPM_PMSR_SEL_CON9 (SPM_BASE + 0xF34) 480*91f16700Schasinglulu #define SPM_PMSR_SEL_CON10 (SPM_BASE + 0xF3C) 481*91f16700Schasinglulu #define SPM_PMSR_SEL_CON11 (SPM_BASE + 0xF40) 482*91f16700Schasinglulu #define SPM_PMSR_TIEMR_STA0 (SPM_BASE + 0xFB8) 483*91f16700Schasinglulu #define SPM_PMSR_TIEMR_STA1 (SPM_BASE + 0xFBC) 484*91f16700Schasinglulu #define SPM_PMSR_TIEMR_STA2 (SPM_BASE + 0xFC0) 485*91f16700Schasinglulu #define SPM_PMSR_GENERAL_CON0 (SPM_BASE + 0xFC4) 486*91f16700Schasinglulu #define SPM_PMSR_GENERAL_CON1 (SPM_BASE + 0xFC8) 487*91f16700Schasinglulu #define SPM_PMSR_GENERAL_CON2 (SPM_BASE + 0xFCC) 488*91f16700Schasinglulu #define SPM_PMSR_GENERAL_CON3 (SPM_BASE + 0xFD0) 489*91f16700Schasinglulu #define SPM_PMSR_GENERAL_CON4 (SPM_BASE + 0xFD4) 490*91f16700Schasinglulu #define SPM_PMSR_GENERAL_CON5 (SPM_BASE + 0xFD8) 491*91f16700Schasinglulu #define SPM_PMSR_SW_RESET (SPM_BASE + 0xFDC) 492*91f16700Schasinglulu #define SPM_PMSR_MON_CON0 (SPM_BASE + 0xFE0) 493*91f16700Schasinglulu #define SPM_PMSR_MON_CON1 (SPM_BASE + 0xFE4) 494*91f16700Schasinglulu #define SPM_PMSR_MON_CON2 (SPM_BASE + 0xFE8) 495*91f16700Schasinglulu #define SPM_PMSR_LEN_CON0 (SPM_BASE + 0xFEC) 496*91f16700Schasinglulu #define SPM_PMSR_LEN_CON1 (SPM_BASE + 0xFF0) 497*91f16700Schasinglulu #define SPM_PMSR_LEN_CON2 (SPM_BASE + 0xFF4) 498*91f16700Schasinglulu 499*91f16700Schasinglulu #endif /* SPM_REG_H */ 500