1 /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 3 * OMAP44xx PRM instance offset macros 4 * 5 * Copyright (C) 2009-2011 Texas Instruments, 6 * Copyright (C) 2009-2010 Nokia Corporation 7 * 8 * Paul Walmsley (paul@pwsan.com) 9 * Rajendra Nayak (rnayak@ti.com) 10 * Benoit Cousson (b-cousson@ti.com) 11 * 12 * This file is automatically generated from t 13 * We respectfully ask that any modifications 14 * with the public linux-omap@vger.kernel.org 15 * authors above to ensure that the autogenera 16 * up-to-date with the file contents. 17 * 18 * XXX This file needs to be updated to align 19 * or "OMAP4430". 20 */ 21 22 #ifndef __ARCH_ARM_MACH_OMAP2_PRM44XX_H 23 #define __ARCH_ARM_MACH_OMAP2_PRM44XX_H 24 25 #include "prm44xx_54xx.h" 26 #include "prm.h" 27 28 #define OMAP4430_PRM_BASE 0x4a30 29 30 #define OMAP44XX_PRM_REGADDR(inst, reg) 31 OMAP2_L4_IO_ADDRESS(OMAP4430_PRM_BASE 32 33 34 /* PRM instances */ 35 #define OMAP4430_PRM_OCP_SOCKET_INST 0x0000 36 #define OMAP4430_PRM_CKGEN_INST 0x0100 37 #define OMAP4430_PRM_MPU_INST 0x0300 38 #define OMAP4430_PRM_TESLA_INST 0x0400 39 #define OMAP4430_PRM_ABE_INST 0x0500 40 #define OMAP4430_PRM_ALWAYS_ON_INST 0x0600 41 #define OMAP4430_PRM_CORE_INST 0x0700 42 #define OMAP4430_PRM_IVAHD_INST 0x0f00 43 #define OMAP4430_PRM_CAM_INST 0x1000 44 #define OMAP4430_PRM_DSS_INST 0x1100 45 #define OMAP4430_PRM_GFX_INST 0x1200 46 #define OMAP4430_PRM_L3INIT_INST 0x1300 47 #define OMAP4430_PRM_L4PER_INST 0x1400 48 #define OMAP4430_PRM_CEFUSE_INST 0x1600 49 #define OMAP4430_PRM_WKUP_INST 0x1700 50 #define OMAP4430_PRM_WKUP_CM_INST 0x1800 51 #define OMAP4430_PRM_EMU_INST 0x1900 52 #define OMAP4430_PRM_EMU_CM_INST 0x1a00 53 #define OMAP4430_PRM_DEVICE_INST 0x1b00 54 55 /* PRM clockdomain register offsets (from inst 56 #define OMAP4430_PRM_WKUP_CM_WKUP_CDOFFS 57 #define OMAP4430_PRM_EMU_CM_EMU_CDOFFS 58 59 /* OMAP4 specific register offsets */ 60 #define OMAP4_RM_RSTST 61 #define OMAP4_PM_PWSTCTRL 62 #define OMAP4_PM_PWSTST 63 64 /* PRM.OCP_SOCKET_PRM register offsets */ 65 #define OMAP4_REVISION_PRM_OFFSET 66 #define OMAP4_PRM_IRQSTATUS_MPU_OFFSET 67 #define OMAP4430_PRM_IRQSTATUS_MPU 68 #define OMAP4_PRM_IRQSTATUS_MPU_2_OFFSET 69 #define OMAP4_PRM_IRQENABLE_MPU_OFFSET 70 #define OMAP4430_PRM_IRQENABLE_MPU 71 72 /* PRM.MPU_PRM register offsets */ 73 #define OMAP4_RM_MPU_MPU_CONTEXT_OFFSET 74 75 /* PRM.DEVICE_PRM register offsets */ 76 #define OMAP4_PRM_RSTCTRL_OFFSET 77 #define OMAP4_PRM_VOLTCTRL_OFFSET 78 #define OMAP4_PRM_IO_PMCTRL_OFFSET 79 #define OMAP4_PRM_VOLTSETUP_CORE_OFF_OFFSET 80 #define OMAP4_PRM_VOLTSETUP_MPU_OFF_OFFSET 81 #define OMAP4_PRM_VOLTSETUP_IVA_OFF_OFFSET 82 #define OMAP4_PRM_VOLTSETUP_CORE_RET_SLEEP_OFF 83 #define OMAP4_PRM_VOLTSETUP_MPU_RET_SLEEP_OFFS 84 #define OMAP4_PRM_VOLTSETUP_IVA_RET_SLEEP_OFFS 85 #define OMAP4_PRM_VP_CORE_CONFIG_OFFSET 86 #define OMAP4_PRM_VP_CORE_STATUS_OFFSET 87 #define OMAP4_PRM_VP_CORE_VLIMITTO_OFFSET 88 #define OMAP4_PRM_VP_CORE_VOLTAGE_OFFSET 89 #define OMAP4_PRM_VP_CORE_VSTEPMAX_OFFSET 90 #define OMAP4_PRM_VP_CORE_VSTEPMIN_OFFSET 91 #define OMAP4_PRM_VP_MPU_CONFIG_OFFSET 92 #define OMAP4_PRM_VP_MPU_STATUS_OFFSET 93 #define OMAP4_PRM_VP_MPU_VLIMITTO_OFFSET 94 #define OMAP4_PRM_VP_MPU_VOLTAGE_OFFSET 95 #define OMAP4_PRM_VP_MPU_VSTEPMAX_OFFSET 96 #define OMAP4_PRM_VP_MPU_VSTEPMIN_OFFSET 97 #define OMAP4_PRM_VP_IVA_CONFIG_OFFSET 98 #define OMAP4_PRM_VP_IVA_STATUS_OFFSET 99 #define OMAP4_PRM_VP_IVA_VLIMITTO_OFFSET 100 #define OMAP4_PRM_VP_IVA_VOLTAGE_OFFSET 101 #define OMAP4_PRM_VP_IVA_VSTEPMAX_OFFSET 102 #define OMAP4_PRM_VP_IVA_VSTEPMIN_OFFSET 103 #define OMAP4_PRM_VC_SMPS_SA_OFFSET 104 #define OMAP4_PRM_VC_VAL_SMPS_RA_VOL_OFFSET 105 #define OMAP4_PRM_VC_VAL_SMPS_RA_CMD_OFFSET 106 #define OMAP4_PRM_VC_VAL_CMD_VDD_CORE_L_OFFSET 107 #define OMAP4_PRM_VC_VAL_CMD_VDD_MPU_L_OFFSET 108 #define OMAP4_PRM_VC_VAL_CMD_VDD_IVA_L_OFFSET 109 #define OMAP4_PRM_VC_VAL_BYPASS_OFFSET 110 #define OMAP4_PRM_VC_CFG_CHANNEL_OFFSET 111 #define OMAP4_PRM_VC_CFG_I2C_MODE_OFFSET 112 #define OMAP4_PRM_VC_CFG_I2C_CLK_OFFSET 113 114 #endif 115
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.