192f7de1eSJay Buddhabhatti /* 292f7de1eSJay Buddhabhatti * Copyright (c) 2019-2022, Xilinx, Inc. All rights reserved. 309abae06SDevanshi Chauhan Alpeshbhai * Copyright (c) 2022-2025, Advanced Micro Devices, Inc. All rights reserved. 492f7de1eSJay Buddhabhatti * 592f7de1eSJay Buddhabhatti * SPDX-License-Identifier: BSD-3-Clause 692f7de1eSJay Buddhabhatti */ 792f7de1eSJay Buddhabhatti 892f7de1eSJay Buddhabhatti /* Versal power management enums and defines */ 992f7de1eSJay Buddhabhatti 1092f7de1eSJay Buddhabhatti #ifndef PM_DEFS_H 1192f7de1eSJay Buddhabhatti #define PM_DEFS_H 1292f7de1eSJay Buddhabhatti 1392f7de1eSJay Buddhabhatti #include "pm_node.h" 1492f7de1eSJay Buddhabhatti 1592f7de1eSJay Buddhabhatti /********************************************************************* 1692f7de1eSJay Buddhabhatti * Macro definitions 1792f7de1eSJay Buddhabhatti ********************************************************************/ 1892f7de1eSJay Buddhabhatti 1992f7de1eSJay Buddhabhatti /* State arguments of the self suspend */ 2092f7de1eSJay Buddhabhatti #define PM_STATE_CPU_IDLE 0x0U 2159497016SJay Buddhabhatti #define PM_STATE_CPU_OFF 0x1U 2292f7de1eSJay Buddhabhatti #define PM_STATE_SUSPEND_TO_RAM 0xFU 2392f7de1eSJay Buddhabhatti 2492f7de1eSJay Buddhabhatti #define MAX_LATENCY (~0U) 2592f7de1eSJay Buddhabhatti 2692f7de1eSJay Buddhabhatti /* Processor core device IDs */ 2792f7de1eSJay Buddhabhatti #define APU_DEVID(IDX) NODEID(XPM_NODECLASS_DEVICE, XPM_NODESUBCL_DEV_CORE, \ 2892f7de1eSJay Buddhabhatti XPM_NODETYPE_DEV_CORE_APU, (IDX)) 2992f7de1eSJay Buddhabhatti 3092f7de1eSJay Buddhabhatti #define XPM_DEVID_ACPU_0 APU_DEVID(XPM_NODEIDX_DEV_ACPU_0) 3192f7de1eSJay Buddhabhatti #define XPM_DEVID_ACPU_1 APU_DEVID(XPM_NODEIDX_DEV_ACPU_1) 3292f7de1eSJay Buddhabhatti 33964e5592SJay Buddhabhatti #define PERIPH_DEVID(IDX) NODEID((uint32_t)XPM_NODECLASS_DEVICE, \ 34964e5592SJay Buddhabhatti (uint32_t)XPM_NODESUBCL_DEV_PERIPH, \ 35964e5592SJay Buddhabhatti (uint32_t)XPM_NODETYPE_DEV_PERIPH, (IDX)) 3692f7de1eSJay Buddhabhatti 379a0f5d12SJay Buddhabhatti #define TF_A_FEATURE_CHECK 0xa00U 3892f7de1eSJay Buddhabhatti #define PM_GET_CALLBACK_DATA 0xa01U 3992f7de1eSJay Buddhabhatti #define PM_GET_TRUSTZONE_VERSION 0xa03U 4092f7de1eSJay Buddhabhatti #define TF_A_PM_REGISTER_SGI 0xa04U 4192f7de1eSJay Buddhabhatti 4292f7de1eSJay Buddhabhatti /* PM API Versions */ 4392f7de1eSJay Buddhabhatti #define PM_API_BASE_VERSION 1U 4492f7de1eSJay Buddhabhatti #define PM_API_VERSION_2 2U 4592f7de1eSJay Buddhabhatti 4692f7de1eSJay Buddhabhatti /* Loader API ids */ 4792f7de1eSJay Buddhabhatti #define PM_LOAD_PDI 0x701U 4892f7de1eSJay Buddhabhatti #define PM_LOAD_GET_HANDOFF_PARAMS 0x70BU 4992f7de1eSJay Buddhabhatti 50*05d0cb4fSMaheedhar Bollapalli /* Boot mode id */ 51*05d0cb4fSMaheedhar Bollapalli #define CRP_BOOT_MODE_REG_NODE 0x30000001U 52*05d0cb4fSMaheedhar Bollapalli #define CRP_BOOT_MODE_REG_OFFSET 0x200U 53*05d0cb4fSMaheedhar Bollapalli 5492f7de1eSJay Buddhabhatti /* System shutdown macros */ 5592f7de1eSJay Buddhabhatti #define XPM_SHUTDOWN_TYPE_SHUTDOWN 0U 5692f7de1eSJay Buddhabhatti #define XPM_SHUTDOWN_TYPE_RESET 1U 5792f7de1eSJay Buddhabhatti #define XPM_SHUTDOWN_TYPE_SETSCOPE_ONLY 2U 5892f7de1eSJay Buddhabhatti 5992f7de1eSJay Buddhabhatti #define XPM_SHUTDOWN_SUBTYPE_RST_SUBSYSTEM 0U 6092f7de1eSJay Buddhabhatti #define XPM_SHUTDOWN_SUBTYPE_RST_PS_ONLY 1U 6192f7de1eSJay Buddhabhatti #define XPM_SHUTDOWN_SUBTYPE_RST_SYSTEM 2U 6292f7de1eSJay Buddhabhatti 6392f7de1eSJay Buddhabhatti /********************************************************************* 6492f7de1eSJay Buddhabhatti * Enum definitions 6592f7de1eSJay Buddhabhatti ********************************************************************/ 6692f7de1eSJay Buddhabhatti 67de7ed953SPrasad Kummari /* 68de7ed953SPrasad Kummari * ioctl id 69de7ed953SPrasad Kummari */ 70c90f4abfSJay Buddhabhatti enum { 71c90f4abfSJay Buddhabhatti IOCTL_GET_RPU_OPER_MODE = 0, 72c90f4abfSJay Buddhabhatti IOCTL_SET_RPU_OPER_MODE = 1, 73c90f4abfSJay Buddhabhatti IOCTL_RPU_BOOT_ADDR_CONFIG = 2, 74c90f4abfSJay Buddhabhatti IOCTL_TCM_COMB_CONFIG = 3, 75c90f4abfSJay Buddhabhatti IOCTL_SET_TAPDELAY_BYPASS = 4, 76c90f4abfSJay Buddhabhatti IOCTL_SD_DLL_RESET = 6, 77c90f4abfSJay Buddhabhatti IOCTL_SET_SD_TAPDELAY = 7, 78c90f4abfSJay Buddhabhatti /* Ioctl for clock driver */ 79c90f4abfSJay Buddhabhatti IOCTL_SET_PLL_FRAC_MODE = 8, 80c90f4abfSJay Buddhabhatti IOCTL_GET_PLL_FRAC_MODE = 9, 81c90f4abfSJay Buddhabhatti IOCTL_SET_PLL_FRAC_DATA = 10, 82c90f4abfSJay Buddhabhatti IOCTL_GET_PLL_FRAC_DATA = 11, 83c90f4abfSJay Buddhabhatti IOCTL_WRITE_GGS = 12, 84c90f4abfSJay Buddhabhatti IOCTL_READ_GGS = 13, 85c90f4abfSJay Buddhabhatti IOCTL_WRITE_PGGS = 14, 86c90f4abfSJay Buddhabhatti IOCTL_READ_PGGS = 15, 87c90f4abfSJay Buddhabhatti /* IOCTL for ULPI reset */ 88c90f4abfSJay Buddhabhatti IOCTL_ULPI_RESET = 16, 89c90f4abfSJay Buddhabhatti /* Set healthy bit value */ 90c90f4abfSJay Buddhabhatti IOCTL_SET_BOOT_HEALTH_STATUS = 17, 91c90f4abfSJay Buddhabhatti IOCTL_AFI = 18, 92c90f4abfSJay Buddhabhatti /* Probe counter read/write */ 93c90f4abfSJay Buddhabhatti IOCTL_PROBE_COUNTER_READ = 19, 94c90f4abfSJay Buddhabhatti IOCTL_PROBE_COUNTER_WRITE = 20, 95c90f4abfSJay Buddhabhatti IOCTL_OSPI_MUX_SELECT = 21, 96c90f4abfSJay Buddhabhatti /* IOCTL for USB power request */ 97c90f4abfSJay Buddhabhatti IOCTL_USB_SET_STATE = 22, 98c90f4abfSJay Buddhabhatti /* IOCTL to get last reset reason */ 99c90f4abfSJay Buddhabhatti IOCTL_GET_LAST_RESET_REASON = 23, 100c90f4abfSJay Buddhabhatti /* AI engine NPI ISR clear */ 101c90f4abfSJay Buddhabhatti IOCTL_AIE_ISR_CLEAR = 24, 102*05d0cb4fSMaheedhar Bollapalli IOCTL_READ_REG = 28U, 103b9c20e5dSAmit Nagal IOCTL_UFS_TXRX_CFGRDY_GET = 40, 104b9c20e5dSAmit Nagal IOCTL_UFS_SRAM_CSR_SEL = 41, 105c90f4abfSJay Buddhabhatti }; 106c90f4abfSJay Buddhabhatti 10792f7de1eSJay Buddhabhatti /** 108de7ed953SPrasad Kummari * enum pm_pll_param - enum represents the parameters for a phase-locked loop. 109de7ed953SPrasad Kummari * @PM_PLL_PARAM_DIV2: Enable for divide by 2 function inside the PLL. 110de7ed953SPrasad Kummari * @PM_PLL_PARAM_FBDIV: Feedback divisor integer portion for the PLL. 111de7ed953SPrasad Kummari * @PM_PLL_PARAM_DATA: Feedback divisor fractional portion for the PLL. 112de7ed953SPrasad Kummari * @PM_PLL_PARAM_PRE_SRC: Clock source for PLL input. 113de7ed953SPrasad Kummari * @PM_PLL_PARAM_POST_SRC: Clock source for PLL Bypass mode. 114de7ed953SPrasad Kummari * @PM_PLL_PARAM_LOCK_DLY: Lock circuit config settings for lock windowsize. 115de7ed953SPrasad Kummari * @PM_PLL_PARAM_LOCK_CNT: Lock circuit counter setting. 116de7ed953SPrasad Kummari * @PM_PLL_PARAM_LFHF: PLL loop filter high frequency capacitor control. 117de7ed953SPrasad Kummari * @PM_PLL_PARAM_CP: PLL charge pump control. 118de7ed953SPrasad Kummari * @PM_PLL_PARAM_RES: PLL loop filter resistor control. 119de7ed953SPrasad Kummari * @PM_PLL_PARAM_MAX: Represents the maximum parameter value for the PLL 12092f7de1eSJay Buddhabhatti */ 12192f7de1eSJay Buddhabhatti enum pm_pll_param { 12292f7de1eSJay Buddhabhatti PM_PLL_PARAM_DIV2, 12392f7de1eSJay Buddhabhatti PM_PLL_PARAM_FBDIV, 12492f7de1eSJay Buddhabhatti PM_PLL_PARAM_DATA, 12592f7de1eSJay Buddhabhatti PM_PLL_PARAM_PRE_SRC, 12692f7de1eSJay Buddhabhatti PM_PLL_PARAM_POST_SRC, 12792f7de1eSJay Buddhabhatti PM_PLL_PARAM_LOCK_DLY, 12892f7de1eSJay Buddhabhatti PM_PLL_PARAM_LOCK_CNT, 12992f7de1eSJay Buddhabhatti PM_PLL_PARAM_LFHF, 13092f7de1eSJay Buddhabhatti PM_PLL_PARAM_CP, 13192f7de1eSJay Buddhabhatti PM_PLL_PARAM_RES, 13292f7de1eSJay Buddhabhatti PM_PLL_PARAM_MAX, 13392f7de1eSJay Buddhabhatti }; 13492f7de1eSJay Buddhabhatti 13592f7de1eSJay Buddhabhatti enum pm_api_id { 13692f7de1eSJay Buddhabhatti /* Miscellaneous API functions: */ 13792f7de1eSJay Buddhabhatti PM_GET_API_VERSION = 1, /* Do not change or move */ 13892f7de1eSJay Buddhabhatti PM_SET_CONFIGURATION, 13992f7de1eSJay Buddhabhatti PM_GET_NODE_STATUS, 14092f7de1eSJay Buddhabhatti PM_GET_OP_CHARACTERISTIC, 14192f7de1eSJay Buddhabhatti PM_REGISTER_NOTIFIER, 14292f7de1eSJay Buddhabhatti /* API for suspending of PUs: */ 14392f7de1eSJay Buddhabhatti PM_REQ_SUSPEND, 14492f7de1eSJay Buddhabhatti PM_SELF_SUSPEND, 14592f7de1eSJay Buddhabhatti PM_FORCE_POWERDOWN, 14692f7de1eSJay Buddhabhatti PM_ABORT_SUSPEND, 14792f7de1eSJay Buddhabhatti PM_REQ_WAKEUP, 14892f7de1eSJay Buddhabhatti PM_SET_WAKEUP_SOURCE, 14992f7de1eSJay Buddhabhatti PM_SYSTEM_SHUTDOWN, 15092f7de1eSJay Buddhabhatti /* API for managing PM slaves: */ 15192f7de1eSJay Buddhabhatti PM_REQ_NODE, 15292f7de1eSJay Buddhabhatti PM_RELEASE_NODE, 15392f7de1eSJay Buddhabhatti PM_SET_REQUIREMENT, 15492f7de1eSJay Buddhabhatti PM_SET_MAX_LATENCY, 15592f7de1eSJay Buddhabhatti /* Direct control API functions: */ 15692f7de1eSJay Buddhabhatti PM_RESET_ASSERT, 15792f7de1eSJay Buddhabhatti PM_RESET_GET_STATUS, 15892f7de1eSJay Buddhabhatti PM_MMIO_WRITE, 15992f7de1eSJay Buddhabhatti PM_MMIO_READ, 16092f7de1eSJay Buddhabhatti PM_INIT_FINALIZE, 16192f7de1eSJay Buddhabhatti PM_FPGA_LOAD, 16292f7de1eSJay Buddhabhatti PM_FPGA_GET_STATUS, 16392f7de1eSJay Buddhabhatti PM_GET_CHIPID, 16492f7de1eSJay Buddhabhatti PM_SECURE_RSA_AES, 16592f7de1eSJay Buddhabhatti PM_SECURE_SHA, 16692f7de1eSJay Buddhabhatti PM_SECURE_RSA, 16792f7de1eSJay Buddhabhatti PM_PINCTRL_REQUEST, 16892f7de1eSJay Buddhabhatti PM_PINCTRL_RELEASE, 16992f7de1eSJay Buddhabhatti PM_PINCTRL_GET_FUNCTION, 17092f7de1eSJay Buddhabhatti PM_PINCTRL_SET_FUNCTION, 17192f7de1eSJay Buddhabhatti PM_PINCTRL_CONFIG_PARAM_GET, 17292f7de1eSJay Buddhabhatti PM_PINCTRL_CONFIG_PARAM_SET, 17392f7de1eSJay Buddhabhatti PM_IOCTL, 17492f7de1eSJay Buddhabhatti /* API to query information from firmware */ 17592f7de1eSJay Buddhabhatti PM_QUERY_DATA, 17692f7de1eSJay Buddhabhatti /* Clock control API functions */ 17792f7de1eSJay Buddhabhatti PM_CLOCK_ENABLE, 17892f7de1eSJay Buddhabhatti PM_CLOCK_DISABLE, 17992f7de1eSJay Buddhabhatti PM_CLOCK_GETSTATE, 18092f7de1eSJay Buddhabhatti PM_CLOCK_SETDIVIDER, 18192f7de1eSJay Buddhabhatti PM_CLOCK_GETDIVIDER, 182e5955d7cSRonak Jain PM_CLOCK_SETPARENT = 43, 18392f7de1eSJay Buddhabhatti PM_CLOCK_GETPARENT, 18492f7de1eSJay Buddhabhatti PM_SECURE_IMAGE, 18592f7de1eSJay Buddhabhatti /* FPGA PL Readback */ 18692f7de1eSJay Buddhabhatti PM_FPGA_READ, 18792f7de1eSJay Buddhabhatti PM_SECURE_AES, 18892f7de1eSJay Buddhabhatti /* PLL control API functions */ 18992f7de1eSJay Buddhabhatti PM_PLL_SET_PARAMETER, 19092f7de1eSJay Buddhabhatti PM_PLL_GET_PARAMETER, 19192f7de1eSJay Buddhabhatti PM_PLL_SET_MODE, 19292f7de1eSJay Buddhabhatti PM_PLL_GET_MODE, 19392f7de1eSJay Buddhabhatti /* PM Register Access API */ 19492f7de1eSJay Buddhabhatti PM_REGISTER_ACCESS, 19592f7de1eSJay Buddhabhatti PM_EFUSE_ACCESS, 19692f7de1eSJay Buddhabhatti PM_FPGA_GET_VERSION, 19792f7de1eSJay Buddhabhatti PM_FPGA_GET_FEATURE_LIST, 19892f7de1eSJay Buddhabhatti PM_FEATURE_CHECK = 63, 19992f7de1eSJay Buddhabhatti PM_API_MAX = 74 20092f7de1eSJay Buddhabhatti }; 20192f7de1eSJay Buddhabhatti 20292f7de1eSJay Buddhabhatti enum pm_abort_reason { 20392f7de1eSJay Buddhabhatti ABORT_REASON_WKUP_EVENT = 100, 20492f7de1eSJay Buddhabhatti ABORT_REASON_PU_BUSY, 20592f7de1eSJay Buddhabhatti ABORT_REASON_NO_PWRDN, 20692f7de1eSJay Buddhabhatti ABORT_REASON_UNKNOWN, 20792f7de1eSJay Buddhabhatti }; 20892f7de1eSJay Buddhabhatti 20992f7de1eSJay Buddhabhatti /* TODO: move pm_ret_status from device specific location to common location */ 21092f7de1eSJay Buddhabhatti /** 211de7ed953SPrasad Kummari * enum pm_ret_status - enum represents the return status codes for a PM 212de7ed953SPrasad Kummari * operation. 213de7ed953SPrasad Kummari * @PM_RET_SUCCESS: success. 214de7ed953SPrasad Kummari * @PM_RET_ERROR_ARGS: illegal arguments provided (deprecated). 215de7ed953SPrasad Kummari * @PM_RET_ERROR_NOTSUPPORTED: feature not supported (deprecated). 2162993166dSDevanshi Chauhan Alpeshbhai * @PM_RET_ERROR_IOCTL_NOT_SUPPORTED: IOCTL is not supported. 217de7ed953SPrasad Kummari * @PM_RET_ERROR_INVALID_CRC: invalid crc in IPI communication. 218de7ed953SPrasad Kummari * @PM_RET_ERROR_NOT_ENABLED: feature is not enabled. 219de7ed953SPrasad Kummari * @PM_RET_ERROR_INTERNAL: internal error. 220de7ed953SPrasad Kummari * @PM_RET_ERROR_CONFLICT: conflict. 221de7ed953SPrasad Kummari * @PM_RET_ERROR_ACCESS: access rights violation. 222de7ed953SPrasad Kummari * @PM_RET_ERROR_INVALID_NODE: invalid node. 223de7ed953SPrasad Kummari * @PM_RET_ERROR_DOUBLE_REQ: duplicate request for same node. 224de7ed953SPrasad Kummari * @PM_RET_ERROR_ABORT_SUSPEND: suspend procedure has been aborted. 225de7ed953SPrasad Kummari * @PM_RET_ERROR_TIMEOUT: timeout in communication with PMU. 226de7ed953SPrasad Kummari * @PM_RET_ERROR_NODE_USED: node is already in use. 227de7ed953SPrasad Kummari * @PM_RET_ERROR_NO_FEATURE: indicates that the requested feature is not 228de7ed953SPrasad Kummari * supported. 22992f7de1eSJay Buddhabhatti */ 23092f7de1eSJay Buddhabhatti enum pm_ret_status { 231c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_SUCCESS = 0U, 232c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_ARGS = 1U, 233c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_NOTSUPPORTED = 4U, 234c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_IOCTL_NOT_SUPPORTED = 19U, 235c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_NOT_ENABLED = 29U, 236c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_INVALID_CRC = 301U, 237c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_INTERNAL = 2000U, 238c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_CONFLICT = 2001U, 239c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_ACCESS = 2002U, 240c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_INVALID_NODE = 2003U, 241c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_DOUBLE_REQ = 2004U, 242c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_ABORT_SUSPEND = 2005U, 243c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_TIMEOUT = 2006U, 244c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_NODE_USED = 2007U, 245c314a0b3SDevanshi Chauhan Alpeshbhai PM_RET_ERROR_NO_FEATURE = 2008U 24692f7de1eSJay Buddhabhatti }; 24792f7de1eSJay Buddhabhatti 248de7ed953SPrasad Kummari /* 24992f7de1eSJay Buddhabhatti * Qids 25092f7de1eSJay Buddhabhatti */ 25192f7de1eSJay Buddhabhatti enum pm_query_id { 25292f7de1eSJay Buddhabhatti XPM_QID_INVALID, 25392f7de1eSJay Buddhabhatti XPM_QID_CLOCK_GET_NAME, 25492f7de1eSJay Buddhabhatti XPM_QID_CLOCK_GET_TOPOLOGY, 25592f7de1eSJay Buddhabhatti XPM_QID_CLOCK_GET_FIXEDFACTOR_PARAMS, 25692f7de1eSJay Buddhabhatti XPM_QID_CLOCK_GET_MUXSOURCES, 25792f7de1eSJay Buddhabhatti XPM_QID_CLOCK_GET_ATTRIBUTES, 25892f7de1eSJay Buddhabhatti XPM_QID_PINCTRL_GET_NUM_PINS, 25992f7de1eSJay Buddhabhatti XPM_QID_PINCTRL_GET_NUM_FUNCTIONS, 26092f7de1eSJay Buddhabhatti XPM_QID_PINCTRL_GET_NUM_FUNCTION_GROUPS, 26192f7de1eSJay Buddhabhatti XPM_QID_PINCTRL_GET_FUNCTION_NAME, 26292f7de1eSJay Buddhabhatti XPM_QID_PINCTRL_GET_FUNCTION_GROUPS, 26392f7de1eSJay Buddhabhatti XPM_QID_PINCTRL_GET_PIN_GROUPS, 26492f7de1eSJay Buddhabhatti XPM_QID_CLOCK_GET_NUM_CLOCKS, 26592f7de1eSJay Buddhabhatti XPM_QID_CLOCK_GET_MAX_DIVISOR, 26692f7de1eSJay Buddhabhatti XPM_QID_PLD_GET_PARENT, 26792f7de1eSJay Buddhabhatti }; 268*05d0cb4fSMaheedhar Bollapalli 269*05d0cb4fSMaheedhar Bollapalli enum pm_boot_mode_ids { 270*05d0cb4fSMaheedhar Bollapalli BOOT_MODE_INVALID = 0x000000FFU, 271*05d0cb4fSMaheedhar Bollapalli BOOT_MODES_MASK = 0x0000000FU, 272*05d0cb4fSMaheedhar Bollapalli QSPI_MODE_24BIT = 0x00000001U, 273*05d0cb4fSMaheedhar Bollapalli QSPI_MODE_32BIT = 0x00000002U, 274*05d0cb4fSMaheedhar Bollapalli SD_MODE = 0x00000003U, /* sd 0 */ 275*05d0cb4fSMaheedhar Bollapalli SD_MODE1 = 0x00000005U, /* sd 1 */ 276*05d0cb4fSMaheedhar Bollapalli EMMC_MODE = 0x00000006U, 277*05d0cb4fSMaheedhar Bollapalli USB_MODE = 0x00000007U, 278*05d0cb4fSMaheedhar Bollapalli OSPI_MODE = 0x00000008U, 279*05d0cb4fSMaheedhar Bollapalli SELECTMAP_MODE = 0x0000000AU, 280*05d0cb4fSMaheedhar Bollapalli SD1_LSHFT_MODE = 0x0000000EU, /* SD1 Level shifter */ 281*05d0cb4fSMaheedhar Bollapalli JTAG_MODE = 0x00000000U, 282*05d0cb4fSMaheedhar Bollapalli }; 28392f7de1eSJay Buddhabhatti #endif /* PM_DEFS_H */ 284