1bcb41a53SKrzysztof Kozlowski /* SPDX-License-Identifier: GPL-2.0 */ 22262d6efSPankaj Dubey /* 35812f010SKrzysztof Kozlowski * Copyright (c) 2010-2015 Samsung Electronics Co., Ltd. 42262d6efSPankaj Dubey * http://www.samsung.com 52262d6efSPankaj Dubey * 694500540SKrzysztof Kozlowski * Exynos - Power management unit definition 72262d6efSPankaj Dubey * 84cb3e378SKrzysztof Kozlowski * Notice: 94cb3e378SKrzysztof Kozlowski * This is not a list of all Exynos Power Management Unit SFRs. 104cb3e378SKrzysztof Kozlowski * There are too many of them, not mentioning subtle differences 114cb3e378SKrzysztof Kozlowski * between SoCs. For now, put here only the used registers. 122262d6efSPankaj Dubey */ 132262d6efSPankaj Dubey 142262d6efSPankaj Dubey #ifndef __LINUX_SOC_EXYNOS_REGS_PMU_H 152262d6efSPankaj Dubey #define __LINUX_SOC_EXYNOS_REGS_PMU_H __FILE__ 162262d6efSPankaj Dubey 172262d6efSPankaj Dubey #define S5P_CENTRAL_SEQ_CONFIGURATION 0x0200 182262d6efSPankaj Dubey 192262d6efSPankaj Dubey #define S5P_CENTRAL_LOWPWR_CFG (1 << 16) 202262d6efSPankaj Dubey 212262d6efSPankaj Dubey #define S5P_CENTRAL_SEQ_OPTION 0x0208 222262d6efSPankaj Dubey 232262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFI0 (1 << 16) 242262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFI1 (1 << 17) 252262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFI2 (1 << 19) 262262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFI3 (1 << 20) 272262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFE0 (1 << 24) 282262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFE1 (1 << 25) 292262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFE2 (1 << 27) 302262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFE3 (1 << 28) 312262d6efSPankaj Dubey 322262d6efSPankaj Dubey #define S5P_USE_STANDBY_WFI_ALL \ 332262d6efSPankaj Dubey (S5P_USE_STANDBY_WFI0 | S5P_USE_STANDBY_WFI1 | \ 342262d6efSPankaj Dubey S5P_USE_STANDBY_WFI2 | S5P_USE_STANDBY_WFI3 | \ 352262d6efSPankaj Dubey S5P_USE_STANDBY_WFE0 | S5P_USE_STANDBY_WFE1 | \ 362262d6efSPankaj Dubey S5P_USE_STANDBY_WFE2 | S5P_USE_STANDBY_WFE3) 372262d6efSPankaj Dubey 382262d6efSPankaj Dubey #define S5P_USE_DELAYED_RESET_ASSERTION BIT(12) 392262d6efSPankaj Dubey 402262d6efSPankaj Dubey #define EXYNOS_CORE_PO_RESET(n) ((1 << 4) << n) 412262d6efSPankaj Dubey #define EXYNOS_WAKEUP_FROM_LOWPWR (1 << 28) 422262d6efSPankaj Dubey #define EXYNOS_SWRESET 0x0400 432262d6efSPankaj Dubey 442262d6efSPankaj Dubey #define S5P_WAKEUP_STAT 0x0600 45a8be2af0SKrzysztof Kozlowski /* Value for EXYNOS_EINT_WAKEUP_MASK disabling all external wakeup interrupts */ 46a8be2af0SKrzysztof Kozlowski #define EXYNOS_EINT_WAKEUP_MASK_DISABLED 0xffffffff 47e5cda42cSKrzysztof Kozlowski #define EXYNOS_EINT_WAKEUP_MASK 0x0604 482262d6efSPankaj Dubey #define S5P_WAKEUP_MASK 0x0608 492262d6efSPankaj Dubey #define S5P_WAKEUP_MASK2 0x0614 502262d6efSPankaj Dubey 515812f010SKrzysztof Kozlowski /* MIPI_PHYn_CONTROL, valid for Exynos3250, Exynos4, Exynos5250 and Exynos5433 */ 525812f010SKrzysztof Kozlowski #define EXYNOS4_MIPI_PHY_CONTROL(n) (0x0710 + (n) * 4) 537a66647bSKrzysztof Kozlowski /* Phy enable bit, common for all phy registers, not only MIPI */ 547a66647bSKrzysztof Kozlowski #define EXYNOS4_PHY_ENABLE (1 << 0) 555812f010SKrzysztof Kozlowski #define EXYNOS4_MIPI_PHY_SRESETN (1 << 1) 565812f010SKrzysztof Kozlowski #define EXYNOS4_MIPI_PHY_MRESETN (1 << 2) 575812f010SKrzysztof Kozlowski #define EXYNOS4_MIPI_PHY_RESET_MASK (3 << 1) 58588d5d20SKaustabh Chakraborty /* USB PHY enable bit, valid for Exynos7870 */ 59588d5d20SKaustabh Chakraborty #define EXYNOS7870_USB2PHY_ENABLE (1 << 1) 605812f010SKrzysztof Kozlowski 612262d6efSPankaj Dubey #define S5P_INFORM0 0x0800 622262d6efSPankaj Dubey #define S5P_INFORM1 0x0804 632262d6efSPankaj Dubey #define S5P_INFORM5 0x0814 642262d6efSPankaj Dubey #define S5P_INFORM6 0x0818 652262d6efSPankaj Dubey #define S5P_INFORM7 0x081C 662262d6efSPankaj Dubey #define S5P_PMU_SPARE2 0x0908 672262d6efSPankaj Dubey #define S5P_PMU_SPARE3 0x090C 682262d6efSPankaj Dubey 692262d6efSPankaj Dubey #define EXYNOS_IROM_DATA2 0x0988 702262d6efSPankaj Dubey #define S5P_ARM_CORE0_LOWPWR 0x1000 712262d6efSPankaj Dubey #define S5P_DIS_IRQ_CORE0 0x1004 722262d6efSPankaj Dubey #define S5P_DIS_IRQ_CENTRAL0 0x1008 732262d6efSPankaj Dubey #define S5P_ARM_CORE1_LOWPWR 0x1010 742262d6efSPankaj Dubey #define S5P_DIS_IRQ_CORE1 0x1014 752262d6efSPankaj Dubey #define S5P_DIS_IRQ_CENTRAL1 0x1018 762262d6efSPankaj Dubey #define S5P_ARM_COMMON_LOWPWR 0x1080 772262d6efSPankaj Dubey #define S5P_L2_0_LOWPWR 0x10C0 782262d6efSPankaj Dubey #define S5P_L2_1_LOWPWR 0x10C4 792262d6efSPankaj Dubey #define S5P_CMU_ACLKSTOP_LOWPWR 0x1100 802262d6efSPankaj Dubey #define S5P_CMU_SCLKSTOP_LOWPWR 0x1104 812262d6efSPankaj Dubey #define S5P_CMU_RESET_LOWPWR 0x110C 822262d6efSPankaj Dubey #define S5P_APLL_SYSCLK_LOWPWR 0x1120 832262d6efSPankaj Dubey #define S5P_MPLL_SYSCLK_LOWPWR 0x1124 842262d6efSPankaj Dubey #define S5P_VPLL_SYSCLK_LOWPWR 0x1128 852262d6efSPankaj Dubey #define S5P_EPLL_SYSCLK_LOWPWR 0x112C 862262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_GPS_ALIVE_LOWPWR 0x1138 872262d6efSPankaj Dubey #define S5P_CMU_RESET_GPSALIVE_LOWPWR 0x113C 882262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_CAM_LOWPWR 0x1140 892262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_TV_LOWPWR 0x1144 902262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_MFC_LOWPWR 0x1148 912262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_G3D_LOWPWR 0x114C 922262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_LCD0_LOWPWR 0x1150 932262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_MAUDIO_LOWPWR 0x1158 942262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_GPS_LOWPWR 0x115C 952262d6efSPankaj Dubey #define S5P_CMU_RESET_CAM_LOWPWR 0x1160 962262d6efSPankaj Dubey #define S5P_CMU_RESET_TV_LOWPWR 0x1164 972262d6efSPankaj Dubey #define S5P_CMU_RESET_MFC_LOWPWR 0x1168 982262d6efSPankaj Dubey #define S5P_CMU_RESET_G3D_LOWPWR 0x116C 992262d6efSPankaj Dubey #define S5P_CMU_RESET_LCD0_LOWPWR 0x1170 1002262d6efSPankaj Dubey #define S5P_CMU_RESET_MAUDIO_LOWPWR 0x1178 1012262d6efSPankaj Dubey #define S5P_CMU_RESET_GPS_LOWPWR 0x117C 1022262d6efSPankaj Dubey #define S5P_TOP_BUS_LOWPWR 0x1180 1032262d6efSPankaj Dubey #define S5P_TOP_RETENTION_LOWPWR 0x1184 1042262d6efSPankaj Dubey #define S5P_TOP_PWR_LOWPWR 0x1188 1052262d6efSPankaj Dubey #define S5P_LOGIC_RESET_LOWPWR 0x11A0 1062262d6efSPankaj Dubey #define S5P_ONENAND_MEM_LOWPWR 0x11C0 1072262d6efSPankaj Dubey #define S5P_G2D_ACP_MEM_LOWPWR 0x11C8 1082262d6efSPankaj Dubey #define S5P_USBOTG_MEM_LOWPWR 0x11CC 1092262d6efSPankaj Dubey #define S5P_HSMMC_MEM_LOWPWR 0x11D0 1102262d6efSPankaj Dubey #define S5P_CSSYS_MEM_LOWPWR 0x11D4 1112262d6efSPankaj Dubey #define S5P_SECSS_MEM_LOWPWR 0x11D8 1122262d6efSPankaj Dubey #define S5P_PAD_RETENTION_DRAM_LOWPWR 0x1200 1132262d6efSPankaj Dubey #define S5P_PAD_RETENTION_MAUDIO_LOWPWR 0x1204 1142262d6efSPankaj Dubey #define S5P_PAD_RETENTION_GPIO_LOWPWR 0x1220 1152262d6efSPankaj Dubey #define S5P_PAD_RETENTION_UART_LOWPWR 0x1224 1162262d6efSPankaj Dubey #define S5P_PAD_RETENTION_MMCA_LOWPWR 0x1228 1172262d6efSPankaj Dubey #define S5P_PAD_RETENTION_MMCB_LOWPWR 0x122C 1182262d6efSPankaj Dubey #define S5P_PAD_RETENTION_EBIA_LOWPWR 0x1230 1192262d6efSPankaj Dubey #define S5P_PAD_RETENTION_EBIB_LOWPWR 0x1234 1202262d6efSPankaj Dubey #define S5P_PAD_RETENTION_ISOLATION_LOWPWR 0x1240 1212262d6efSPankaj Dubey #define S5P_PAD_RETENTION_ALV_SEL_LOWPWR 0x1260 1222262d6efSPankaj Dubey #define S5P_XUSBXTI_LOWPWR 0x1280 1232262d6efSPankaj Dubey #define S5P_XXTI_LOWPWR 0x1284 1242262d6efSPankaj Dubey #define S5P_EXT_REGULATOR_LOWPWR 0x12C0 1252262d6efSPankaj Dubey #define S5P_GPIO_MODE_LOWPWR 0x1300 1262262d6efSPankaj Dubey #define S5P_GPIO_MODE_MAUDIO_LOWPWR 0x1340 1272262d6efSPankaj Dubey #define S5P_CAM_LOWPWR 0x1380 1282262d6efSPankaj Dubey #define S5P_TV_LOWPWR 0x1384 1292262d6efSPankaj Dubey #define S5P_MFC_LOWPWR 0x1388 1302262d6efSPankaj Dubey #define S5P_G3D_LOWPWR 0x138C 1312262d6efSPankaj Dubey #define S5P_LCD0_LOWPWR 0x1390 1322262d6efSPankaj Dubey #define S5P_MAUDIO_LOWPWR 0x1398 1332262d6efSPankaj Dubey #define S5P_GPS_LOWPWR 0x139C 1342262d6efSPankaj Dubey #define S5P_GPS_ALIVE_LOWPWR 0x13A0 1352262d6efSPankaj Dubey 1362262d6efSPankaj Dubey #define EXYNOS_ARM_CORE0_CONFIGURATION 0x2000 1372262d6efSPankaj Dubey #define EXYNOS_ARM_CORE_CONFIGURATION(_nr) \ 1382262d6efSPankaj Dubey (EXYNOS_ARM_CORE0_CONFIGURATION + (0x80 * (_nr))) 1392262d6efSPankaj Dubey #define EXYNOS_ARM_CORE_STATUS(_nr) \ 1402262d6efSPankaj Dubey (EXYNOS_ARM_CORE_CONFIGURATION(_nr) + 0x4) 1412262d6efSPankaj Dubey #define EXYNOS_ARM_CORE_OPTION(_nr) \ 1422262d6efSPankaj Dubey (EXYNOS_ARM_CORE_CONFIGURATION(_nr) + 0x8) 1432262d6efSPankaj Dubey 1442262d6efSPankaj Dubey #define EXYNOS_ARM_COMMON_CONFIGURATION 0x2500 1452262d6efSPankaj Dubey #define EXYNOS_COMMON_CONFIGURATION(_nr) \ 1462262d6efSPankaj Dubey (EXYNOS_ARM_COMMON_CONFIGURATION + (0x80 * (_nr))) 1472262d6efSPankaj Dubey #define EXYNOS_COMMON_STATUS(_nr) \ 1482262d6efSPankaj Dubey (EXYNOS_COMMON_CONFIGURATION(_nr) + 0x4) 1492262d6efSPankaj Dubey #define EXYNOS_COMMON_OPTION(_nr) \ 1502262d6efSPankaj Dubey (EXYNOS_COMMON_CONFIGURATION(_nr) + 0x8) 1512262d6efSPankaj Dubey 1522262d6efSPankaj Dubey #define EXYNOS_ARM_L2_CONFIGURATION 0x2600 1532262d6efSPankaj Dubey #define EXYNOS_L2_CONFIGURATION(_nr) \ 1542262d6efSPankaj Dubey (EXYNOS_ARM_L2_CONFIGURATION + ((_nr) * 0x80)) 1552262d6efSPankaj Dubey #define EXYNOS_L2_STATUS(_nr) \ 1562262d6efSPankaj Dubey (EXYNOS_L2_CONFIGURATION(_nr) + 0x4) 1572262d6efSPankaj Dubey #define EXYNOS_L2_OPTION(_nr) \ 1582262d6efSPankaj Dubey (EXYNOS_L2_CONFIGURATION(_nr) + 0x8) 1592262d6efSPankaj Dubey 160ee55ae61SKrzysztof Kozlowski #define EXYNOS_L2_USE_RETENTION BIT(4) 1612262d6efSPankaj Dubey 1622262d6efSPankaj Dubey #define S5P_PAD_RET_MAUDIO_OPTION 0x3028 1632262d6efSPankaj Dubey #define S5P_PAD_RET_MMC2_OPTION 0x30c8 1642262d6efSPankaj Dubey #define S5P_PAD_RET_GPIO_OPTION 0x3108 1652262d6efSPankaj Dubey #define S5P_PAD_RET_UART_OPTION 0x3128 1662262d6efSPankaj Dubey #define S5P_PAD_RET_MMCA_OPTION 0x3148 1672262d6efSPankaj Dubey #define S5P_PAD_RET_MMCB_OPTION 0x3168 1682262d6efSPankaj Dubey #define S5P_PAD_RET_EBIA_OPTION 0x3188 1692262d6efSPankaj Dubey #define S5P_PAD_RET_EBIB_OPTION 0x31A8 1702262d6efSPankaj Dubey #define S5P_PAD_RET_SPI_OPTION 0x31c8 1712262d6efSPankaj Dubey 1722262d6efSPankaj Dubey #define S5P_PS_HOLD_CONTROL 0x330C 1732262d6efSPankaj Dubey #define S5P_PS_HOLD_EN (1 << 31) 1742262d6efSPankaj Dubey #define S5P_PS_HOLD_OUTPUT_HIGH (3 << 8) 1752262d6efSPankaj Dubey 1762262d6efSPankaj Dubey #define S5P_CAM_OPTION 0x3C08 1772262d6efSPankaj Dubey #define S5P_MFC_OPTION 0x3C48 1782262d6efSPankaj Dubey #define S5P_G3D_OPTION 0x3C68 1792262d6efSPankaj Dubey #define S5P_LCD0_OPTION 0x3C88 1802262d6efSPankaj Dubey #define S5P_LCD1_OPTION 0x3CA8 1812262d6efSPankaj Dubey #define S5P_ISP_OPTION S5P_LCD1_OPTION 1822262d6efSPankaj Dubey 1832262d6efSPankaj Dubey #define S5P_CORE_LOCAL_PWR_EN 0x3 1842262d6efSPankaj Dubey #define S5P_CORE_WAKEUP_FROM_LOCAL_CFG (0x3 << 8) 1852262d6efSPankaj Dubey #define S5P_CORE_AUTOWAKEUP_EN (1 << 31) 1862262d6efSPankaj Dubey 187e5cda42cSKrzysztof Kozlowski /* Only for S5Pv210 */ 188e5cda42cSKrzysztof Kozlowski #define S5PV210_EINT_WAKEUP_MASK 0xC004 189e5cda42cSKrzysztof Kozlowski 190*cc52a697SIvaylo Ivanov /* Only for Exynos2200 */ 191*cc52a697SIvaylo Ivanov #define EXYNOS2200_PHY_CTRL_USB20 0x72C 192*cc52a697SIvaylo Ivanov 19394500540SKrzysztof Kozlowski /* Only for Exynos4210 */ 1942262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_LCD1_LOWPWR 0x1154 1952262d6efSPankaj Dubey #define S5P_CMU_RESET_LCD1_LOWPWR 0x1174 1962262d6efSPankaj Dubey #define S5P_MODIMIF_MEM_LOWPWR 0x11C4 1972262d6efSPankaj Dubey #define S5P_PCIE_MEM_LOWPWR 0x11E0 1982262d6efSPankaj Dubey #define S5P_SATA_MEM_LOWPWR 0x11E4 1992262d6efSPankaj Dubey #define S5P_LCD1_LOWPWR 0x1394 2002262d6efSPankaj Dubey 20194500540SKrzysztof Kozlowski /* Only for Exynos4x12 */ 2022262d6efSPankaj Dubey #define S5P_ISP_ARM_LOWPWR 0x1050 2032262d6efSPankaj Dubey #define S5P_DIS_IRQ_ISP_ARM_LOCAL_LOWPWR 0x1054 2042262d6efSPankaj Dubey #define S5P_DIS_IRQ_ISP_ARM_CENTRAL_LOWPWR 0x1058 2052262d6efSPankaj Dubey #define S5P_CMU_ACLKSTOP_COREBLK_LOWPWR 0x1110 2062262d6efSPankaj Dubey #define S5P_CMU_SCLKSTOP_COREBLK_LOWPWR 0x1114 2072262d6efSPankaj Dubey #define S5P_CMU_RESET_COREBLK_LOWPWR 0x111C 2082262d6efSPankaj Dubey #define S5P_MPLLUSER_SYSCLK_LOWPWR 0x1130 2092262d6efSPankaj Dubey #define S5P_CMU_CLKSTOP_ISP_LOWPWR 0x1154 2102262d6efSPankaj Dubey #define S5P_CMU_RESET_ISP_LOWPWR 0x1174 2112262d6efSPankaj Dubey #define S5P_TOP_BUS_COREBLK_LOWPWR 0x1190 2122262d6efSPankaj Dubey #define S5P_TOP_RETENTION_COREBLK_LOWPWR 0x1194 2132262d6efSPankaj Dubey #define S5P_TOP_PWR_COREBLK_LOWPWR 0x1198 2142262d6efSPankaj Dubey #define S5P_OSCCLK_GATE_LOWPWR 0x11A4 2152262d6efSPankaj Dubey #define S5P_LOGIC_RESET_COREBLK_LOWPWR 0x11B0 2162262d6efSPankaj Dubey #define S5P_OSCCLK_GATE_COREBLK_LOWPWR 0x11B4 2172262d6efSPankaj Dubey #define S5P_HSI_MEM_LOWPWR 0x11C4 2182262d6efSPankaj Dubey #define S5P_ROTATOR_MEM_LOWPWR 0x11DC 2192262d6efSPankaj Dubey #define S5P_PAD_RETENTION_GPIO_COREBLK_LOWPWR 0x123C 2202262d6efSPankaj Dubey #define S5P_PAD_ISOLATION_COREBLK_LOWPWR 0x1250 2212262d6efSPankaj Dubey #define S5P_GPIO_MODE_COREBLK_LOWPWR 0x1320 2222262d6efSPankaj Dubey #define S5P_TOP_ASB_RESET_LOWPWR 0x1344 2232262d6efSPankaj Dubey #define S5P_TOP_ASB_ISOLATION_LOWPWR 0x1348 2242262d6efSPankaj Dubey #define S5P_ISP_LOWPWR 0x1394 2252262d6efSPankaj Dubey #define S5P_DRAM_FREQ_DOWN_LOWPWR 0x13B0 2262262d6efSPankaj Dubey #define S5P_DDRPHY_DLLOFF_LOWPWR 0x13B4 2272262d6efSPankaj Dubey #define S5P_CMU_SYSCLK_ISP_LOWPWR 0x13B8 2282262d6efSPankaj Dubey #define S5P_CMU_SYSCLK_GPS_LOWPWR 0x13BC 2292262d6efSPankaj Dubey #define S5P_LPDDR_PHY_DLL_LOCK_LOWPWR 0x13C0 2302262d6efSPankaj Dubey 2312262d6efSPankaj Dubey #define S5P_ARM_L2_0_OPTION 0x2608 2322262d6efSPankaj Dubey #define S5P_ARM_L2_1_OPTION 0x2628 2332262d6efSPankaj Dubey #define S5P_ONENAND_MEM_OPTION 0x2E08 2342262d6efSPankaj Dubey #define S5P_HSI_MEM_OPTION 0x2E28 2352262d6efSPankaj Dubey #define S5P_G2D_ACP_MEM_OPTION 0x2E48 2362262d6efSPankaj Dubey #define S5P_USBOTG_MEM_OPTION 0x2E68 2372262d6efSPankaj Dubey #define S5P_HSMMC_MEM_OPTION 0x2E88 2382262d6efSPankaj Dubey #define S5P_CSSYS_MEM_OPTION 0x2EA8 2392262d6efSPankaj Dubey #define S5P_SECSS_MEM_OPTION 0x2EC8 2402262d6efSPankaj Dubey #define S5P_ROTATOR_MEM_OPTION 0x2F48 2412262d6efSPankaj Dubey 24294500540SKrzysztof Kozlowski /* Only for Exynos4412 */ 2432262d6efSPankaj Dubey #define S5P_ARM_CORE2_LOWPWR 0x1020 2442262d6efSPankaj Dubey #define S5P_DIS_IRQ_CORE2 0x1024 2452262d6efSPankaj Dubey #define S5P_DIS_IRQ_CENTRAL2 0x1028 2462262d6efSPankaj Dubey #define S5P_ARM_CORE3_LOWPWR 0x1030 2472262d6efSPankaj Dubey #define S5P_DIS_IRQ_CORE3 0x1034 2482262d6efSPankaj Dubey #define S5P_DIS_IRQ_CENTRAL3 0x1038 2492262d6efSPankaj Dubey 25094500540SKrzysztof Kozlowski /* Only for Exynos3XXX */ 2512262d6efSPankaj Dubey #define EXYNOS3_ARM_CORE0_SYS_PWR_REG 0x1000 2522262d6efSPankaj Dubey #define EXYNOS3_DIS_IRQ_ARM_CORE0_LOCAL_SYS_PWR_REG 0x1004 2532262d6efSPankaj Dubey #define EXYNOS3_DIS_IRQ_ARM_CORE0_CENTRAL_SYS_PWR_REG 0x1008 2542262d6efSPankaj Dubey #define EXYNOS3_ARM_CORE1_SYS_PWR_REG 0x1010 2552262d6efSPankaj Dubey #define EXYNOS3_DIS_IRQ_ARM_CORE1_LOCAL_SYS_PWR_REG 0x1014 2562262d6efSPankaj Dubey #define EXYNOS3_DIS_IRQ_ARM_CORE1_CENTRAL_SYS_PWR_REG 0x1018 2572262d6efSPankaj Dubey #define EXYNOS3_ISP_ARM_SYS_PWR_REG 0x1050 2582262d6efSPankaj Dubey #define EXYNOS3_DIS_IRQ_ISP_ARM_LOCAL_SYS_PWR_REG 0x1054 2592262d6efSPankaj Dubey #define EXYNOS3_DIS_IRQ_ISP_ARM_CENTRAL_SYS_PWR_REG 0x1058 2602262d6efSPankaj Dubey #define EXYNOS3_ARM_COMMON_SYS_PWR_REG 0x1080 2612262d6efSPankaj Dubey #define EXYNOS3_ARM_L2_SYS_PWR_REG 0x10C0 2622262d6efSPankaj Dubey #define EXYNOS3_CMU_ACLKSTOP_SYS_PWR_REG 0x1100 2632262d6efSPankaj Dubey #define EXYNOS3_CMU_SCLKSTOP_SYS_PWR_REG 0x1104 2642262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_SYS_PWR_REG 0x110C 2652262d6efSPankaj Dubey #define EXYNOS3_CMU_ACLKSTOP_COREBLK_SYS_PWR_REG 0x1110 2662262d6efSPankaj Dubey #define EXYNOS3_CMU_SCLKSTOP_COREBLK_SYS_PWR_REG 0x1114 2672262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_COREBLK_SYS_PWR_REG 0x111C 2682262d6efSPankaj Dubey #define EXYNOS3_APLL_SYSCLK_SYS_PWR_REG 0x1120 2692262d6efSPankaj Dubey #define EXYNOS3_MPLL_SYSCLK_SYS_PWR_REG 0x1124 2702262d6efSPankaj Dubey #define EXYNOS3_VPLL_SYSCLK_SYS_PWR_REG 0x1128 2712262d6efSPankaj Dubey #define EXYNOS3_EPLL_SYSCLK_SYS_PWR_REG 0x112C 2722262d6efSPankaj Dubey #define EXYNOS3_MPLLUSER_SYSCLK_SYS_PWR_REG 0x1130 2732262d6efSPankaj Dubey #define EXYNOS3_BPLLUSER_SYSCLK_SYS_PWR_REG 0x1134 2742262d6efSPankaj Dubey #define EXYNOS3_EPLLUSER_SYSCLK_SYS_PWR_REG 0x1138 2752262d6efSPankaj Dubey #define EXYNOS3_CMU_CLKSTOP_CAM_SYS_PWR_REG 0x1140 2762262d6efSPankaj Dubey #define EXYNOS3_CMU_CLKSTOP_MFC_SYS_PWR_REG 0x1148 2772262d6efSPankaj Dubey #define EXYNOS3_CMU_CLKSTOP_G3D_SYS_PWR_REG 0x114C 2782262d6efSPankaj Dubey #define EXYNOS3_CMU_CLKSTOP_LCD0_SYS_PWR_REG 0x1150 2792262d6efSPankaj Dubey #define EXYNOS3_CMU_CLKSTOP_ISP_SYS_PWR_REG 0x1154 2802262d6efSPankaj Dubey #define EXYNOS3_CMU_CLKSTOP_MAUDIO_SYS_PWR_REG 0x1158 2812262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_CAM_SYS_PWR_REG 0x1160 2822262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_MFC_SYS_PWR_REG 0x1168 2832262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_G3D_SYS_PWR_REG 0x116C 2842262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_LCD0_SYS_PWR_REG 0x1170 2852262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_ISP_SYS_PWR_REG 0x1174 2862262d6efSPankaj Dubey #define EXYNOS3_CMU_RESET_MAUDIO_SYS_PWR_REG 0x1178 2872262d6efSPankaj Dubey #define EXYNOS3_TOP_BUS_SYS_PWR_REG 0x1180 2882262d6efSPankaj Dubey #define EXYNOS3_TOP_RETENTION_SYS_PWR_REG 0x1184 2892262d6efSPankaj Dubey #define EXYNOS3_TOP_PWR_SYS_PWR_REG 0x1188 2902262d6efSPankaj Dubey #define EXYNOS3_TOP_BUS_COREBLK_SYS_PWR_REG 0x1190 2912262d6efSPankaj Dubey #define EXYNOS3_TOP_RETENTION_COREBLK_SYS_PWR_REG 0x1194 2922262d6efSPankaj Dubey #define EXYNOS3_TOP_PWR_COREBLK_SYS_PWR_REG 0x1198 2932262d6efSPankaj Dubey #define EXYNOS3_LOGIC_RESET_SYS_PWR_REG 0x11A0 2942262d6efSPankaj Dubey #define EXYNOS3_OSCCLK_GATE_SYS_PWR_REG 0x11A4 2952262d6efSPankaj Dubey #define EXYNOS3_LOGIC_RESET_COREBLK_SYS_PWR_REG 0x11B0 2962262d6efSPankaj Dubey #define EXYNOS3_OSCCLK_GATE_COREBLK_SYS_PWR_REG 0x11B4 2972262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_DRAM_SYS_PWR_REG 0x1200 2982262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_MAUDIO_SYS_PWR_REG 0x1204 2992262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_SPI_SYS_PWR_REG 0x1208 3002262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_MMC2_SYS_PWR_REG 0x1218 3012262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_GPIO_SYS_PWR_REG 0x1220 3022262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_UART_SYS_PWR_REG 0x1224 3032262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_MMC0_SYS_PWR_REG 0x1228 3042262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_MMC1_SYS_PWR_REG 0x122C 3052262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_EBIA_SYS_PWR_REG 0x1230 3062262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_EBIB_SYS_PWR_REG 0x1234 3072262d6efSPankaj Dubey #define EXYNOS3_PAD_RETENTION_JTAG_SYS_PWR_REG 0x1238 3082262d6efSPankaj Dubey #define EXYNOS3_PAD_ISOLATION_SYS_PWR_REG 0x1240 3092262d6efSPankaj Dubey #define EXYNOS3_PAD_ALV_SEL_SYS_PWR_REG 0x1260 3102262d6efSPankaj Dubey #define EXYNOS3_XUSBXTI_SYS_PWR_REG 0x1280 3112262d6efSPankaj Dubey #define EXYNOS3_XXTI_SYS_PWR_REG 0x1284 3122262d6efSPankaj Dubey #define EXYNOS3_EXT_REGULATOR_SYS_PWR_REG 0x12C0 3132262d6efSPankaj Dubey #define EXYNOS3_EXT_REGULATOR_COREBLK_SYS_PWR_REG 0x12C4 3142262d6efSPankaj Dubey #define EXYNOS3_GPIO_MODE_SYS_PWR_REG 0x1300 3152262d6efSPankaj Dubey #define EXYNOS3_GPIO_MODE_MAUDIO_SYS_PWR_REG 0x1340 3162262d6efSPankaj Dubey #define EXYNOS3_TOP_ASB_RESET_SYS_PWR_REG 0x1344 3172262d6efSPankaj Dubey #define EXYNOS3_TOP_ASB_ISOLATION_SYS_PWR_REG 0x1348 3182262d6efSPankaj Dubey #define EXYNOS3_TOP_ASB_RESET_COREBLK_SYS_PWR_REG 0x1350 3192262d6efSPankaj Dubey #define EXYNOS3_TOP_ASB_ISOLATION_COREBLK_SYS_PWR_REG 0x1354 3202262d6efSPankaj Dubey #define EXYNOS3_CAM_SYS_PWR_REG 0x1380 3212262d6efSPankaj Dubey #define EXYNOS3_MFC_SYS_PWR_REG 0x1388 3222262d6efSPankaj Dubey #define EXYNOS3_G3D_SYS_PWR_REG 0x138C 3232262d6efSPankaj Dubey #define EXYNOS3_LCD0_SYS_PWR_REG 0x1390 3242262d6efSPankaj Dubey #define EXYNOS3_ISP_SYS_PWR_REG 0x1394 3252262d6efSPankaj Dubey #define EXYNOS3_MAUDIO_SYS_PWR_REG 0x1398 3262262d6efSPankaj Dubey #define EXYNOS3_DRAM_FREQ_DOWN_SYS_PWR_REG 0x13B0 3272262d6efSPankaj Dubey #define EXYNOS3_DDRPHY_DLLOFF_SYS_PWR_REG 0x13B4 3282262d6efSPankaj Dubey #define EXYNOS3_CMU_SYSCLK_ISP_SYS_PWR_REG 0x13B8 3292262d6efSPankaj Dubey #define EXYNOS3_LPDDR_PHY_DLL_LOCK_SYS_PWR_REG 0x13C0 3302262d6efSPankaj Dubey #define EXYNOS3_BPLL_SYSCLK_SYS_PWR_REG 0x13C4 3312262d6efSPankaj Dubey #define EXYNOS3_UPLL_SYSCLK_SYS_PWR_REG 0x13C8 3322262d6efSPankaj Dubey 3332262d6efSPankaj Dubey #define EXYNOS3_ARM_CORE0_OPTION 0x2008 3342262d6efSPankaj Dubey #define EXYNOS3_ARM_CORE_OPTION(_nr) \ 3352262d6efSPankaj Dubey (EXYNOS3_ARM_CORE0_OPTION + ((_nr) * 0x80)) 3362262d6efSPankaj Dubey 3372262d6efSPankaj Dubey #define EXYNOS3_ARM_COMMON_OPTION 0x2408 3382262d6efSPankaj Dubey #define EXYNOS3_ARM_L2_OPTION 0x2608 3392262d6efSPankaj Dubey #define EXYNOS3_TOP_PWR_OPTION 0x2C48 3402262d6efSPankaj Dubey #define EXYNOS3_CORE_TOP_PWR_OPTION 0x2CA8 3412262d6efSPankaj Dubey #define EXYNOS3_XUSBXTI_DURATION 0x341C 3422262d6efSPankaj Dubey #define EXYNOS3_XXTI_DURATION 0x343C 3432262d6efSPankaj Dubey #define EXYNOS3_EXT_REGULATOR_DURATION 0x361C 3442262d6efSPankaj Dubey #define EXYNOS3_EXT_REGULATOR_COREBLK_DURATION 0x363C 3452262d6efSPankaj Dubey #define XUSBXTI_DURATION 0x00000BB8 3462262d6efSPankaj Dubey #define XXTI_DURATION XUSBXTI_DURATION 3472262d6efSPankaj Dubey #define EXT_REGULATOR_DURATION 0x00001D4C 3482262d6efSPankaj Dubey #define EXT_REGULATOR_COREBLK_DURATION EXT_REGULATOR_DURATION 3492262d6efSPankaj Dubey 3502262d6efSPankaj Dubey /* for XXX_OPTION */ 3512262d6efSPankaj Dubey #define EXYNOS3_OPTION_USE_SC_COUNTER (1 << 0) 3522262d6efSPankaj Dubey #define EXYNOS3_OPTION_USE_SC_FEEDBACK (1 << 1) 3532262d6efSPankaj Dubey #define EXYNOS3_OPTION_SKIP_DEACTIVATE_ACEACP_IN_PWDN (1 << 7) 3542262d6efSPankaj Dubey 35594500540SKrzysztof Kozlowski /* For Exynos5 */ 3562262d6efSPankaj Dubey 3572262d6efSPankaj Dubey #define EXYNOS5_AUTO_WDTRESET_DISABLE 0x0408 3582262d6efSPankaj Dubey #define EXYNOS5_MASK_WDTRESET_REQUEST 0x040C 359424c9841SKrzysztof Kozlowski #define EXYNOS5_USBDRD_PHY_CONTROL 0x0704 360424c9841SKrzysztof Kozlowski #define EXYNOS5_DPTX_PHY_CONTROL 0x0720 3612262d6efSPankaj Dubey 3622262d6efSPankaj Dubey #define EXYNOS5_USE_RETENTION BIT(4) 3632262d6efSPankaj Dubey #define EXYNOS5_SYS_WDTRESET (1 << 20) 3642262d6efSPankaj Dubey 3652262d6efSPankaj Dubey #define EXYNOS5_ARM_CORE0_SYS_PWR_REG 0x1000 3662262d6efSPankaj Dubey #define EXYNOS5_DIS_IRQ_ARM_CORE0_LOCAL_SYS_PWR_REG 0x1004 3672262d6efSPankaj Dubey #define EXYNOS5_DIS_IRQ_ARM_CORE0_CENTRAL_SYS_PWR_REG 0x1008 3682262d6efSPankaj Dubey #define EXYNOS5_ARM_CORE1_SYS_PWR_REG 0x1010 3692262d6efSPankaj Dubey #define EXYNOS5_DIS_IRQ_ARM_CORE1_LOCAL_SYS_PWR_REG 0x1014 3702262d6efSPankaj Dubey #define EXYNOS5_DIS_IRQ_ARM_CORE1_CENTRAL_SYS_PWR_REG 0x1018 3712262d6efSPankaj Dubey #define EXYNOS5_FSYS_ARM_SYS_PWR_REG 0x1040 3722262d6efSPankaj Dubey #define EXYNOS5_DIS_IRQ_FSYS_ARM_CENTRAL_SYS_PWR_REG 0x1048 3732262d6efSPankaj Dubey #define EXYNOS5_ISP_ARM_SYS_PWR_REG 0x1050 3742262d6efSPankaj Dubey #define EXYNOS5_DIS_IRQ_ISP_ARM_LOCAL_SYS_PWR_REG 0x1054 3752262d6efSPankaj Dubey #define EXYNOS5_DIS_IRQ_ISP_ARM_CENTRAL_SYS_PWR_REG 0x1058 3762262d6efSPankaj Dubey #define EXYNOS5_ARM_COMMON_SYS_PWR_REG 0x1080 3772262d6efSPankaj Dubey #define EXYNOS5_ARM_L2_SYS_PWR_REG 0x10C0 3782262d6efSPankaj Dubey #define EXYNOS5_CMU_ACLKSTOP_SYS_PWR_REG 0x1100 3792262d6efSPankaj Dubey #define EXYNOS5_CMU_SCLKSTOP_SYS_PWR_REG 0x1104 3802262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_SYS_PWR_REG 0x110C 3812262d6efSPankaj Dubey #define EXYNOS5_CMU_ACLKSTOP_SYSMEM_SYS_PWR_REG 0x1120 3822262d6efSPankaj Dubey #define EXYNOS5_CMU_SCLKSTOP_SYSMEM_SYS_PWR_REG 0x1124 3832262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_SYSMEM_SYS_PWR_REG 0x112C 3842262d6efSPankaj Dubey #define EXYNOS5_DRAM_FREQ_DOWN_SYS_PWR_REG 0x1130 3852262d6efSPankaj Dubey #define EXYNOS5_DDRPHY_DLLOFF_SYS_PWR_REG 0x1134 3862262d6efSPankaj Dubey #define EXYNOS5_DDRPHY_DLLLOCK_SYS_PWR_REG 0x1138 3872262d6efSPankaj Dubey #define EXYNOS5_APLL_SYSCLK_SYS_PWR_REG 0x1140 3882262d6efSPankaj Dubey #define EXYNOS5_MPLL_SYSCLK_SYS_PWR_REG 0x1144 3892262d6efSPankaj Dubey #define EXYNOS5_VPLL_SYSCLK_SYS_PWR_REG 0x1148 3902262d6efSPankaj Dubey #define EXYNOS5_EPLL_SYSCLK_SYS_PWR_REG 0x114C 3912262d6efSPankaj Dubey #define EXYNOS5_BPLL_SYSCLK_SYS_PWR_REG 0x1150 3922262d6efSPankaj Dubey #define EXYNOS5_CPLL_SYSCLK_SYS_PWR_REG 0x1154 3932262d6efSPankaj Dubey #define EXYNOS5_MPLLUSER_SYSCLK_SYS_PWR_REG 0x1164 3942262d6efSPankaj Dubey #define EXYNOS5_BPLLUSER_SYSCLK_SYS_PWR_REG 0x1170 3952262d6efSPankaj Dubey #define EXYNOS5_TOP_BUS_SYS_PWR_REG 0x1180 3962262d6efSPankaj Dubey #define EXYNOS5_TOP_RETENTION_SYS_PWR_REG 0x1184 3972262d6efSPankaj Dubey #define EXYNOS5_TOP_PWR_SYS_PWR_REG 0x1188 3982262d6efSPankaj Dubey #define EXYNOS5_TOP_BUS_SYSMEM_SYS_PWR_REG 0x1190 3992262d6efSPankaj Dubey #define EXYNOS5_TOP_RETENTION_SYSMEM_SYS_PWR_REG 0x1194 4002262d6efSPankaj Dubey #define EXYNOS5_TOP_PWR_SYSMEM_SYS_PWR_REG 0x1198 4012262d6efSPankaj Dubey #define EXYNOS5_LOGIC_RESET_SYS_PWR_REG 0x11A0 4022262d6efSPankaj Dubey #define EXYNOS5_OSCCLK_GATE_SYS_PWR_REG 0x11A4 4032262d6efSPankaj Dubey #define EXYNOS5_LOGIC_RESET_SYSMEM_SYS_PWR_REG 0x11B0 4042262d6efSPankaj Dubey #define EXYNOS5_OSCCLK_GATE_SYSMEM_SYS_PWR_REG 0x11B4 4052262d6efSPankaj Dubey #define EXYNOS5_USBOTG_MEM_SYS_PWR_REG 0x11C0 4062262d6efSPankaj Dubey #define EXYNOS5_G2D_MEM_SYS_PWR_REG 0x11C8 4072262d6efSPankaj Dubey #define EXYNOS5_USBDRD_MEM_SYS_PWR_REG 0x11CC 4082262d6efSPankaj Dubey #define EXYNOS5_SDMMC_MEM_SYS_PWR_REG 0x11D0 4092262d6efSPankaj Dubey #define EXYNOS5_CSSYS_MEM_SYS_PWR_REG 0x11D4 4102262d6efSPankaj Dubey #define EXYNOS5_SECSS_MEM_SYS_PWR_REG 0x11D8 4112262d6efSPankaj Dubey #define EXYNOS5_ROTATOR_MEM_SYS_PWR_REG 0x11DC 4122262d6efSPankaj Dubey #define EXYNOS5_INTRAM_MEM_SYS_PWR_REG 0x11E0 4132262d6efSPankaj Dubey #define EXYNOS5_INTROM_MEM_SYS_PWR_REG 0x11E4 4142262d6efSPankaj Dubey #define EXYNOS5_JPEG_MEM_SYS_PWR_REG 0x11E8 4152262d6efSPankaj Dubey #define EXYNOS5_HSI_MEM_SYS_PWR_REG 0x11EC 4162262d6efSPankaj Dubey #define EXYNOS5_MCUIOP_MEM_SYS_PWR_REG 0x11F4 4172262d6efSPankaj Dubey #define EXYNOS5_SATA_MEM_SYS_PWR_REG 0x11FC 4182262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_DRAM_SYS_PWR_REG 0x1200 4192262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_MAU_SYS_PWR_REG 0x1204 4202262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_GPIO_SYS_PWR_REG 0x1220 4212262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_UART_SYS_PWR_REG 0x1224 4222262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_MMCA_SYS_PWR_REG 0x1228 4232262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_MMCB_SYS_PWR_REG 0x122C 4242262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_EBIA_SYS_PWR_REG 0x1230 4252262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_EBIB_SYS_PWR_REG 0x1234 4262262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_SPI_SYS_PWR_REG 0x1238 4272262d6efSPankaj Dubey #define EXYNOS5_PAD_RETENTION_GPIO_SYSMEM_SYS_PWR_REG 0x123C 4282262d6efSPankaj Dubey #define EXYNOS5_PAD_ISOLATION_SYS_PWR_REG 0x1240 4292262d6efSPankaj Dubey #define EXYNOS5_PAD_ISOLATION_SYSMEM_SYS_PWR_REG 0x1250 4302262d6efSPankaj Dubey #define EXYNOS5_PAD_ALV_SEL_SYS_PWR_REG 0x1260 4312262d6efSPankaj Dubey #define EXYNOS5_XUSBXTI_SYS_PWR_REG 0x1280 4322262d6efSPankaj Dubey #define EXYNOS5_XXTI_SYS_PWR_REG 0x1284 4332262d6efSPankaj Dubey #define EXYNOS5_EXT_REGULATOR_SYS_PWR_REG 0x12C0 4342262d6efSPankaj Dubey #define EXYNOS5_GPIO_MODE_SYS_PWR_REG 0x1300 4352262d6efSPankaj Dubey #define EXYNOS5_GPIO_MODE_SYSMEM_SYS_PWR_REG 0x1320 4362262d6efSPankaj Dubey #define EXYNOS5_GPIO_MODE_MAU_SYS_PWR_REG 0x1340 4372262d6efSPankaj Dubey #define EXYNOS5_TOP_ASB_RESET_SYS_PWR_REG 0x1344 4382262d6efSPankaj Dubey #define EXYNOS5_TOP_ASB_ISOLATION_SYS_PWR_REG 0x1348 4392262d6efSPankaj Dubey #define EXYNOS5_GSCL_SYS_PWR_REG 0x1400 4402262d6efSPankaj Dubey #define EXYNOS5_ISP_SYS_PWR_REG 0x1404 4412262d6efSPankaj Dubey #define EXYNOS5_MFC_SYS_PWR_REG 0x1408 4422262d6efSPankaj Dubey #define EXYNOS5_G3D_SYS_PWR_REG 0x140C 4432262d6efSPankaj Dubey #define EXYNOS5_DISP1_SYS_PWR_REG 0x1414 4442262d6efSPankaj Dubey #define EXYNOS5_MAU_SYS_PWR_REG 0x1418 4452262d6efSPankaj Dubey #define EXYNOS5_CMU_CLKSTOP_GSCL_SYS_PWR_REG 0x1480 4462262d6efSPankaj Dubey #define EXYNOS5_CMU_CLKSTOP_ISP_SYS_PWR_REG 0x1484 4472262d6efSPankaj Dubey #define EXYNOS5_CMU_CLKSTOP_MFC_SYS_PWR_REG 0x1488 4482262d6efSPankaj Dubey #define EXYNOS5_CMU_CLKSTOP_G3D_SYS_PWR_REG 0x148C 4492262d6efSPankaj Dubey #define EXYNOS5_CMU_CLKSTOP_DISP1_SYS_PWR_REG 0x1494 4502262d6efSPankaj Dubey #define EXYNOS5_CMU_CLKSTOP_MAU_SYS_PWR_REG 0x1498 4512262d6efSPankaj Dubey #define EXYNOS5_CMU_SYSCLK_GSCL_SYS_PWR_REG 0x14C0 4522262d6efSPankaj Dubey #define EXYNOS5_CMU_SYSCLK_ISP_SYS_PWR_REG 0x14C4 4532262d6efSPankaj Dubey #define EXYNOS5_CMU_SYSCLK_MFC_SYS_PWR_REG 0x14C8 4542262d6efSPankaj Dubey #define EXYNOS5_CMU_SYSCLK_G3D_SYS_PWR_REG 0x14CC 4552262d6efSPankaj Dubey #define EXYNOS5_CMU_SYSCLK_DISP1_SYS_PWR_REG 0x14D4 4562262d6efSPankaj Dubey #define EXYNOS5_CMU_SYSCLK_MAU_SYS_PWR_REG 0x14D8 4572262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_GSCL_SYS_PWR_REG 0x1580 4582262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_ISP_SYS_PWR_REG 0x1584 4592262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_MFC_SYS_PWR_REG 0x1588 4602262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_G3D_SYS_PWR_REG 0x158C 4612262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_DISP1_SYS_PWR_REG 0x1594 4622262d6efSPankaj Dubey #define EXYNOS5_CMU_RESET_MAU_SYS_PWR_REG 0x1598 4632262d6efSPankaj Dubey 4642262d6efSPankaj Dubey #define EXYNOS5_ARM_CORE0_OPTION 0x2008 4652262d6efSPankaj Dubey #define EXYNOS5_ARM_CORE1_OPTION 0x2088 4662262d6efSPankaj Dubey #define EXYNOS5_FSYS_ARM_OPTION 0x2208 4672262d6efSPankaj Dubey #define EXYNOS5_ISP_ARM_OPTION 0x2288 4682262d6efSPankaj Dubey #define EXYNOS5_ARM_COMMON_OPTION 0x2408 4692262d6efSPankaj Dubey #define EXYNOS5_ARM_L2_OPTION 0x2608 4702262d6efSPankaj Dubey #define EXYNOS5_TOP_PWR_OPTION 0x2C48 4712262d6efSPankaj Dubey #define EXYNOS5_TOP_PWR_SYSMEM_OPTION 0x2CC8 4722262d6efSPankaj Dubey #define EXYNOS5_JPEG_MEM_OPTION 0x2F48 4732262d6efSPankaj Dubey #define EXYNOS5_GSCL_OPTION 0x4008 4742262d6efSPankaj Dubey #define EXYNOS5_ISP_OPTION 0x4028 4752262d6efSPankaj Dubey #define EXYNOS5_MFC_OPTION 0x4048 4762262d6efSPankaj Dubey #define EXYNOS5_G3D_OPTION 0x4068 4772262d6efSPankaj Dubey #define EXYNOS5_DISP1_OPTION 0x40A8 4782262d6efSPankaj Dubey #define EXYNOS5_MAU_OPTION 0x40C8 4792262d6efSPankaj Dubey 4802262d6efSPankaj Dubey #define EXYNOS5_USE_SC_FEEDBACK (1 << 1) 4812262d6efSPankaj Dubey #define EXYNOS5_USE_SC_COUNTER (1 << 0) 4822262d6efSPankaj Dubey 4832262d6efSPankaj Dubey #define EXYNOS5_SKIP_DEACTIVATE_ACEACP_IN_PWDN (1 << 7) 4842262d6efSPankaj Dubey 4852262d6efSPankaj Dubey #define EXYNOS5_OPTION_USE_STANDBYWFE (1 << 24) 4862262d6efSPankaj Dubey #define EXYNOS5_OPTION_USE_STANDBYWFI (1 << 16) 4872262d6efSPankaj Dubey 4882262d6efSPankaj Dubey #define EXYNOS5_OPTION_USE_RETENTION (1 << 4) 4892262d6efSPankaj Dubey 4902262d6efSPankaj Dubey #define EXYNOS5420_SWRESET_KFC_SEL 0x3 4912262d6efSPankaj Dubey 49294500540SKrzysztof Kozlowski /* Only for Exynos5420 */ 4932262d6efSPankaj Dubey #define EXYNOS5420_L2RSTDISABLE_VALUE BIT(3) 4942262d6efSPankaj Dubey 4952262d6efSPankaj Dubey #define EXYNOS5420_LPI_MASK 0x0004 4962262d6efSPankaj Dubey #define EXYNOS5420_LPI_MASK1 0x0008 4972262d6efSPankaj Dubey #define EXYNOS5420_UFS BIT(8) 4982262d6efSPankaj Dubey #define EXYNOS5420_ATB_KFC BIT(13) 4992262d6efSPankaj Dubey #define EXYNOS5420_ATB_ISP_ARM BIT(19) 5002262d6efSPankaj Dubey #define EXYNOS5420_EMULATION BIT(31) 5012262d6efSPankaj Dubey 5022262d6efSPankaj Dubey #define EXYNOS5420_ARM_INTR_SPREAD_ENABLE 0x0100 5032262d6efSPankaj Dubey #define EXYNOS5420_ARM_INTR_SPREAD_USE_STANDBYWFI 0x0104 5042262d6efSPankaj Dubey #define EXYNOS5420_UP_SCHEDULER 0x0120 5052262d6efSPankaj Dubey #define SPREAD_ENABLE 0xF 5062262d6efSPankaj Dubey #define SPREAD_USE_STANDWFI 0xF 5072262d6efSPankaj Dubey 5082262d6efSPankaj Dubey #define EXYNOS5420_KFC_CORE_RESET0 BIT(8) 5092262d6efSPankaj Dubey #define EXYNOS5420_KFC_ETM_RESET0 BIT(20) 5102262d6efSPankaj Dubey 5112262d6efSPankaj Dubey #define EXYNOS5420_KFC_CORE_RESET(_nr) \ 5122262d6efSPankaj Dubey ((EXYNOS5420_KFC_CORE_RESET0 | EXYNOS5420_KFC_ETM_RESET0) << (_nr)) 5132262d6efSPankaj Dubey 514424c9841SKrzysztof Kozlowski #define EXYNOS5420_USBDRD1_PHY_CONTROL 0x0708 515cf09ee59SKrzysztof Kozlowski #define EXYNOS5420_MIPI_PHY_CONTROL(n) (0x0714 + (n) * 4) 516424c9841SKrzysztof Kozlowski #define EXYNOS5420_DPTX_PHY_CONTROL 0x0728 5172262d6efSPankaj Dubey #define EXYNOS5420_ARM_CORE2_SYS_PWR_REG 0x1020 5182262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_ARM_CORE2_LOCAL_SYS_PWR_REG 0x1024 5192262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_ARM_CORE2_CENTRAL_SYS_PWR_REG 0x1028 5202262d6efSPankaj Dubey #define EXYNOS5420_ARM_CORE3_SYS_PWR_REG 0x1030 5212262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_ARM_CORE3_LOCAL_SYS_PWR_REG 0x1034 5222262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_ARM_CORE3_CENTRAL_SYS_PWR_REG 0x1038 5232262d6efSPankaj Dubey #define EXYNOS5420_KFC_CORE0_SYS_PWR_REG 0x1040 5242262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE0_LOCAL_SYS_PWR_REG 0x1044 5252262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE0_CENTRAL_SYS_PWR_REG 0x1048 5262262d6efSPankaj Dubey #define EXYNOS5420_KFC_CORE1_SYS_PWR_REG 0x1050 5272262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE1_LOCAL_SYS_PWR_REG 0x1054 5282262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE1_CENTRAL_SYS_PWR_REG 0x1058 5292262d6efSPankaj Dubey #define EXYNOS5420_KFC_CORE2_SYS_PWR_REG 0x1060 5302262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE2_LOCAL_SYS_PWR_REG 0x1064 5312262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE2_CENTRAL_SYS_PWR_REG 0x1068 5322262d6efSPankaj Dubey #define EXYNOS5420_KFC_CORE3_SYS_PWR_REG 0x1070 5332262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE3_LOCAL_SYS_PWR_REG 0x1074 5342262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_KFC_CORE3_CENTRAL_SYS_PWR_REG 0x1078 5352262d6efSPankaj Dubey #define EXYNOS5420_ISP_ARM_SYS_PWR_REG 0x1090 5362262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_ISP_ARM_LOCAL_SYS_PWR_REG 0x1094 5372262d6efSPankaj Dubey #define EXYNOS5420_DIS_IRQ_ISP_ARM_CENTRAL_SYS_PWR_REG 0x1098 5382262d6efSPankaj Dubey #define EXYNOS5420_ARM_COMMON_SYS_PWR_REG 0x10A0 5392262d6efSPankaj Dubey #define EXYNOS5420_KFC_COMMON_SYS_PWR_REG 0x10B0 5402262d6efSPankaj Dubey #define EXYNOS5420_KFC_L2_SYS_PWR_REG 0x10D0 5412262d6efSPankaj Dubey #define EXYNOS5420_DPLL_SYSCLK_SYS_PWR_REG 0x1158 5422262d6efSPankaj Dubey #define EXYNOS5420_IPLL_SYSCLK_SYS_PWR_REG 0x115C 5432262d6efSPankaj Dubey #define EXYNOS5420_KPLL_SYSCLK_SYS_PWR_REG 0x1160 5442262d6efSPankaj Dubey #define EXYNOS5420_RPLL_SYSCLK_SYS_PWR_REG 0x1174 5452262d6efSPankaj Dubey #define EXYNOS5420_SPLL_SYSCLK_SYS_PWR_REG 0x1178 5462262d6efSPankaj Dubey #define EXYNOS5420_INTRAM_MEM_SYS_PWR_REG 0x11B8 5472262d6efSPankaj Dubey #define EXYNOS5420_INTROM_MEM_SYS_PWR_REG 0x11BC 5482262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_JTAG_SYS_PWR_REG 0x1208 5492262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_DRAM_SYS_PWR_REG 0x1210 5502262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_UART_SYS_PWR_REG 0x1214 5512262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_MMC0_SYS_PWR_REG 0x1218 5522262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_MMC1_SYS_PWR_REG 0x121C 5532262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_MMC2_SYS_PWR_REG 0x1220 5542262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_HSI_SYS_PWR_REG 0x1224 5552262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_EBIA_SYS_PWR_REG 0x1228 5562262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_EBIB_SYS_PWR_REG 0x122C 5572262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_SPI_SYS_PWR_REG 0x1230 5582262d6efSPankaj Dubey #define EXYNOS5420_PAD_RETENTION_DRAM_COREBLK_SYS_PWR_REG 0x1234 5592262d6efSPankaj Dubey #define EXYNOS5420_DISP1_SYS_PWR_REG 0x1410 5602262d6efSPankaj Dubey #define EXYNOS5420_MAU_SYS_PWR_REG 0x1414 5612262d6efSPankaj Dubey #define EXYNOS5420_G2D_SYS_PWR_REG 0x1418 5622262d6efSPankaj Dubey #define EXYNOS5420_MSC_SYS_PWR_REG 0x141C 5632262d6efSPankaj Dubey #define EXYNOS5420_FSYS_SYS_PWR_REG 0x1420 5642262d6efSPankaj Dubey #define EXYNOS5420_FSYS2_SYS_PWR_REG 0x1424 5652262d6efSPankaj Dubey #define EXYNOS5420_PSGEN_SYS_PWR_REG 0x1428 5662262d6efSPankaj Dubey #define EXYNOS5420_PERIC_SYS_PWR_REG 0x142C 5672262d6efSPankaj Dubey #define EXYNOS5420_WCORE_SYS_PWR_REG 0x1430 5682262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_DISP1_SYS_PWR_REG 0x1490 5692262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_MAU_SYS_PWR_REG 0x1494 5702262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_G2D_SYS_PWR_REG 0x1498 5712262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_MSC_SYS_PWR_REG 0x149C 5722262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_FSYS_SYS_PWR_REG 0x14A0 5732262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_FSYS2_SYS_PWR_REG 0x14A4 5742262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_PSGEN_SYS_PWR_REG 0x14A8 5752262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_PERIC_SYS_PWR_REG 0x14AC 5762262d6efSPankaj Dubey #define EXYNOS5420_CMU_CLKSTOP_WCORE_SYS_PWR_REG 0x14B0 5772262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_TOPPWR_SYS_PWR_REG 0x14BC 5782262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_DISP1_SYS_PWR_REG 0x14D0 5792262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_MAU_SYS_PWR_REG 0x14D4 5802262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_G2D_SYS_PWR_REG 0x14D8 5812262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_MSC_SYS_PWR_REG 0x14DC 5822262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_FSYS_SYS_PWR_REG 0x14E0 5832262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_FSYS2_SYS_PWR_REG 0x14E4 5842262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_PSGEN_SYS_PWR_REG 0x14E8 5852262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_PERIC_SYS_PWR_REG 0x14EC 5862262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_WCORE_SYS_PWR_REG 0x14F0 5872262d6efSPankaj Dubey #define EXYNOS5420_CMU_SYSCLK_SYSMEM_TOPPWR_SYS_PWR_REG 0x14F4 5882262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_FSYS2_SYS_PWR_REG 0x1570 5892262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_PSGEN_SYS_PWR_REG 0x1574 5902262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_PERIC_SYS_PWR_REG 0x1578 5912262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_WCORE_SYS_PWR_REG 0x157C 5922262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_DISP1_SYS_PWR_REG 0x1590 5932262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_MAU_SYS_PWR_REG 0x1594 5942262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_G2D_SYS_PWR_REG 0x1598 5952262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_MSC_SYS_PWR_REG 0x159C 5962262d6efSPankaj Dubey #define EXYNOS5420_CMU_RESET_FSYS_SYS_PWR_REG 0x15A0 5972262d6efSPankaj Dubey #define EXYNOS5420_SFR_AXI_CGDIS1 0x15E4 5982262d6efSPankaj Dubey #define EXYNOS5420_ARM_COMMON_OPTION 0x2508 5992262d6efSPankaj Dubey #define EXYNOS5420_KFC_COMMON_OPTION 0x2588 6002262d6efSPankaj Dubey #define EXYNOS5420_LOGIC_RESET_DURATION3 0x2D1C 6012262d6efSPankaj Dubey 6022262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_GPIO_OPTION 0x30C8 6032262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_UART_OPTION 0x30E8 6042262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_MMCA_OPTION 0x3108 6052262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_MMCB_OPTION 0x3128 6062262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_MMCC_OPTION 0x3148 6072262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_HSI_OPTION 0x3168 6082262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_SPI_OPTION 0x31C8 6092262d6efSPankaj Dubey #define EXYNOS5420_PAD_RET_DRAM_COREBLK_OPTION 0x31E8 6102262d6efSPankaj Dubey #define EXYNOS_PAD_RET_DRAM_OPTION 0x3008 6112262d6efSPankaj Dubey #define EXYNOS_PAD_RET_MAUDIO_OPTION 0x3028 6122262d6efSPankaj Dubey #define EXYNOS_PAD_RET_JTAG_OPTION 0x3048 6132262d6efSPankaj Dubey #define EXYNOS_PAD_RET_EBIA_OPTION 0x3188 6142262d6efSPankaj Dubey #define EXYNOS_PAD_RET_EBIB_OPTION 0x31A8 6152262d6efSPankaj Dubey 6162262d6efSPankaj Dubey #define EXYNOS5420_FSYS2_OPTION 0x4168 6172262d6efSPankaj Dubey #define EXYNOS5420_PSGEN_OPTION 0x4188 6182262d6efSPankaj Dubey 6192262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFI0 BIT(4) 6202262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFI1 BIT(5) 6212262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFI2 BIT(6) 6222262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFI3 BIT(7) 6232262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFI0 BIT(8) 6242262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFI1 BIT(9) 6252262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFI2 BIT(10) 6262262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFI3 BIT(11) 6272262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFE0 BIT(16) 6282262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFE1 BIT(17) 6292262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFE2 BIT(18) 6302262d6efSPankaj Dubey #define EXYNOS5420_ARM_USE_STANDBY_WFE3 BIT(19) 6312262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFE0 BIT(20) 6322262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFE1 BIT(21) 6332262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFE2 BIT(22) 6342262d6efSPankaj Dubey #define EXYNOS5420_KFC_USE_STANDBY_WFE3 BIT(23) 6352262d6efSPankaj Dubey 6362262d6efSPankaj Dubey #define DUR_WAIT_RESET 0xF 6372262d6efSPankaj Dubey 6382262d6efSPankaj Dubey #define EXYNOS5420_USE_STANDBY_WFI_ALL (EXYNOS5420_ARM_USE_STANDBY_WFI0 \ 6392262d6efSPankaj Dubey | EXYNOS5420_ARM_USE_STANDBY_WFI1 \ 6402262d6efSPankaj Dubey | EXYNOS5420_ARM_USE_STANDBY_WFI2 \ 6412262d6efSPankaj Dubey | EXYNOS5420_ARM_USE_STANDBY_WFI3 \ 6422262d6efSPankaj Dubey | EXYNOS5420_KFC_USE_STANDBY_WFI0 \ 6432262d6efSPankaj Dubey | EXYNOS5420_KFC_USE_STANDBY_WFI1 \ 6442262d6efSPankaj Dubey | EXYNOS5420_KFC_USE_STANDBY_WFI2 \ 6452262d6efSPankaj Dubey | EXYNOS5420_KFC_USE_STANDBY_WFI3) 6462262d6efSPankaj Dubey 64794500540SKrzysztof Kozlowski /* For Exynos5433 */ 648e5cda42cSKrzysztof Kozlowski #define EXYNOS5433_EINT_WAKEUP_MASK (0x060C) 649424c9841SKrzysztof Kozlowski #define EXYNOS5433_USBHOST30_PHY_CONTROL (0x0728) 650b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_AUD_OPTION (0x3028) 651b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_MMC2_OPTION (0x30C8) 652b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_TOP_OPTION (0x3108) 653b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_UART_OPTION (0x3128) 654b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_MMC0_OPTION (0x3148) 655b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_MMC1_OPTION (0x3168) 656b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_EBIA_OPTION (0x3188) 657b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_EBIB_OPTION (0x31A8) 658b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_SPI_OPTION (0x31C8) 659b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_MIF_OPTION (0x31E8) 660b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_USBXTI_OPTION (0x3228) 661b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_BOOTLDO_OPTION (0x3248) 662b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_UFS_OPTION (0x3268) 663b343d77bSMarek Szyprowski #define EXYNOS5433_PAD_RETENTION_FSYSGENIO_OPTION (0x32A8) 664b343d77bSMarek Szyprowski 66597c4264fSPeter Griffin /* For Tensor GS101 */ 66659899502SPeter Griffin /* PMU ALIVE */ 66797c4264fSPeter Griffin #define GS101_SYSIP_DAT0 (0x810) 66859899502SPeter Griffin #define GS101_CPU0_INFORM (0x860) 66959899502SPeter Griffin #define GS101_CPU_INFORM(cpu) \ 67059899502SPeter Griffin (GS101_CPU0_INFORM + (cpu*4)) 67197c4264fSPeter Griffin #define GS101_SYSTEM_CONFIGURATION (0x3A00) 672c33ffdb7SLinus Torvalds #define GS101_PHY_CTRL_USB20 (0x3EB0) 673c33ffdb7SLinus Torvalds #define GS101_PHY_CTRL_USBDP (0x3EB4) 67497c4264fSPeter Griffin 67559899502SPeter Griffin /* PMU INTR GEN */ 67659899502SPeter Griffin #define GS101_GRP1_INTR_BID_UPEND (0x0108) 67759899502SPeter Griffin #define GS101_GRP1_INTR_BID_CLEAR (0x010c) 67859899502SPeter Griffin #define GS101_GRP2_INTR_BID_ENABLE (0x0200) 67959899502SPeter Griffin #define GS101_GRP2_INTR_BID_UPEND (0x0208) 68059899502SPeter Griffin #define GS101_GRP2_INTR_BID_CLEAR (0x020c) 68159899502SPeter Griffin 6822262d6efSPankaj Dubey #endif /* __LINUX_SOC_EXYNOS_REGS_PMU_H */ 683