#ifndef __EXYNOS7870_SFRBASE_H__ #define __EXYNOS7870_SFRBASE_H__ #include "../pwrcal-env.h" #ifdef PWRCAL_TARGET_FW #define CMU_CPUCL0_BASE 0x10900000 #define CMU_CPUCL1_BASE 0x10800000 #define CMU_FSYS_BASE 0x13730000 #define CMU_G3D_BASE 0x11460000 #define CMU_ISP_BASE 0x144D0000 #define CMU_MFCMSCL_BASE 0x12CB0000 #define CMU_MIF_BASE 0x10460000 #define CMU_PERI_BASE 0x101F0000 #define CMU_DISPAUD_BASE 0x148D0000 #define PMU_CPUCL0_BASE 0x10920000 #define PMU_CPUCL1_BASE 0x10820000 #define PMU_FSYS_BASE 0x13740000 #define PMU_G3D_BASE 0x11470000 #define PMU_ISP_BASE 0x144E0000 #define PMU_MFCMSCL_BASE 0x12CC0000 #define PMU_MIF_BASE 0x10470000 #define PMU_PERI_BASE 0x101E0000 #define PMU_ALIVE_BASE 0x10480000 #define DREX0_BASE 0x10400000 #define DREX0_PF_BASE 0x10410000 #define DREX0_SECURE_BASE 0x10420000 #define DREX0_PF_SECURE_BASE 0x10430000 #define DREXPHY0_BASE 0x10440000 #define SYSREG_CPUCL0_BASE 0x10910000 #define SYSREG_CPUCL1_BASE 0x10810000 #define SYSREG_G3D_BASE 0x11450000 #endif #ifdef PWRCAL_TARGET_LINUX #define CMU_CPUCL0_BASE 0x00010000 #define CMU_CPUCL1_BASE 0x00020000 #define CMU_FSYS_BASE 0x00030000 #define CMU_G3D_BASE 0x00040000 #define CMU_ISP_BASE 0x00050000 #define CMU_MFCMSCL_BASE 0x00060000 #define CMU_MIF_BASE 0x00070000 #define CMU_PERI_BASE 0x00080000 #define CMU_DISPAUD_BASE 0x00090000 #define PMU_CPUCL0_BASE 0x00100000 #define PMU_CPUCL1_BASE 0x00110000 #define PMU_FSYS_BASE 0x00120000 #define PMU_G3D_BASE 0x00130000 #define PMU_ISP_BASE 0x00140000 #define PMU_MFCMSCL_BASE 0x00150000 #define PMU_MIF_BASE 0x00160000 #define PMU_PERI_BASE 0x00170000 #define PMU_ALIVE_BASE 0x00180000 #define DREX0_BASE 0x00190000 #define DREX0_PF_BASE 0x00200000 #define DREX0_SECURE_BASE 0x00210000 #define DREX0_PF_SECURE_BASE 0x00220000 #define DREXPHY0_BASE 0x00230000 #define SYSREG_CPUCL0_BASE 0x00240000 #define SYSREG_CPUCL1_BASE 0x00250000 #define SYSREG_G3D_BASE 0X00260000 #endif #endif