1d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 2d198b514SPaul Walmsley /* 3d198b514SPaul Walmsley * OMAP44xx CM2 instance offset macros 4d198b514SPaul Walmsley * 5ad98a18bSBenoit Cousson * Copyright (C) 2009-2011 Texas Instruments, Inc. 6d198b514SPaul Walmsley * Copyright (C) 2009-2010 Nokia Corporation 7d198b514SPaul Walmsley * 8d198b514SPaul Walmsley * Paul Walmsley (paul@pwsan.com) 9d198b514SPaul Walmsley * Rajendra Nayak (rnayak@ti.com) 10d198b514SPaul Walmsley * Benoit Cousson (b-cousson@ti.com) 11d198b514SPaul Walmsley * 12d198b514SPaul Walmsley * This file is automatically generated from the OMAP hardware databases. 13d198b514SPaul Walmsley * We respectfully ask that any modifications to this file be coordinated 14d198b514SPaul Walmsley * with the public linux-omap@vger.kernel.org mailing list and the 15d198b514SPaul Walmsley * authors above to ensure that the autogeneration scripts are kept 16d198b514SPaul Walmsley * up-to-date with the file contents. 17d198b514SPaul Walmsley * 18d198b514SPaul Walmsley * XXX This file needs to be updated to align on one of "OMAP4", "OMAP44XX", 19d198b514SPaul Walmsley * or "OMAP4430". 20d198b514SPaul Walmsley */ 21d198b514SPaul Walmsley 22d198b514SPaul Walmsley #ifndef __ARCH_ARM_MACH_OMAP2_CM2_44XX_H 23d198b514SPaul Walmsley #define __ARCH_ARM_MACH_OMAP2_CM2_44XX_H 24d198b514SPaul Walmsley 25d198b514SPaul Walmsley /* CM2 base address */ 26d198b514SPaul Walmsley #define OMAP4430_CM2_BASE 0x4a008000 27d198b514SPaul Walmsley 28cdb54c44SPaul Walmsley #define OMAP44XX_CM2_REGADDR(inst, reg) \ 29cdb54c44SPaul Walmsley OMAP2_L4_IO_ADDRESS(OMAP4430_CM2_BASE + (inst) + (reg)) 30d198b514SPaul Walmsley 31d198b514SPaul Walmsley /* CM2 instances */ 32cdb54c44SPaul Walmsley #define OMAP4430_CM2_OCP_SOCKET_INST 0x0000 33cdb54c44SPaul Walmsley #define OMAP4430_CM2_CKGEN_INST 0x0100 34cdb54c44SPaul Walmsley #define OMAP4430_CM2_ALWAYS_ON_INST 0x0600 35cdb54c44SPaul Walmsley #define OMAP4430_CM2_CORE_INST 0x0700 36cdb54c44SPaul Walmsley #define OMAP4430_CM2_IVAHD_INST 0x0f00 37cdb54c44SPaul Walmsley #define OMAP4430_CM2_CAM_INST 0x1000 38cdb54c44SPaul Walmsley #define OMAP4430_CM2_DSS_INST 0x1100 39cdb54c44SPaul Walmsley #define OMAP4430_CM2_GFX_INST 0x1200 40cdb54c44SPaul Walmsley #define OMAP4430_CM2_L3INIT_INST 0x1300 41cdb54c44SPaul Walmsley #define OMAP4430_CM2_L4PER_INST 0x1400 42cdb54c44SPaul Walmsley #define OMAP4430_CM2_CEFUSE_INST 0x1600 43cdb54c44SPaul Walmsley #define OMAP4430_CM2_RESTORE_INST 0x1e00 44cdb54c44SPaul Walmsley #define OMAP4430_CM2_INSTR_INST 0x1f00 45d198b514SPaul Walmsley 46e4156ee5SPaul Walmsley /* CM2 clockdomain register offsets (from instance start) */ 47e4156ee5SPaul Walmsley #define OMAP4430_CM2_ALWAYS_ON_ALWON_CDOFFS 0x0000 48e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_L3_1_CDOFFS 0x0000 49e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_L3_2_CDOFFS 0x0100 50e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_DUCATI_CDOFFS 0x0200 51e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_SDMA_CDOFFS 0x0300 52e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_MEMIF_CDOFFS 0x0400 53e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_D2D_CDOFFS 0x0500 54e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_L4CFG_CDOFFS 0x0600 55e4156ee5SPaul Walmsley #define OMAP4430_CM2_CORE_L3INSTR_CDOFFS 0x0700 56e4156ee5SPaul Walmsley #define OMAP4430_CM2_IVAHD_IVAHD_CDOFFS 0x0000 57e4156ee5SPaul Walmsley #define OMAP4430_CM2_CAM_CAM_CDOFFS 0x0000 58e4156ee5SPaul Walmsley #define OMAP4430_CM2_DSS_DSS_CDOFFS 0x0000 59e4156ee5SPaul Walmsley #define OMAP4430_CM2_GFX_GFX_CDOFFS 0x0000 60e4156ee5SPaul Walmsley #define OMAP4430_CM2_L3INIT_L3INIT_CDOFFS 0x0000 61e4156ee5SPaul Walmsley #define OMAP4430_CM2_L4PER_L4PER_CDOFFS 0x0000 62e4156ee5SPaul Walmsley #define OMAP4430_CM2_L4PER_L4SEC_CDOFFS 0x0180 63e4156ee5SPaul Walmsley #define OMAP4430_CM2_CEFUSE_CEFUSE_CDOFFS 0x0000 64e4156ee5SPaul Walmsley 65d198b514SPaul Walmsley /* CM2 */ 66d198b514SPaul Walmsley 67d198b514SPaul Walmsley /* CM2.OCP_SOCKET_CM2 register offsets */ 68d198b514SPaul Walmsley #define OMAP4_REVISION_CM2_OFFSET 0x0000 69cdb54c44SPaul Walmsley #define OMAP4430_REVISION_CM2 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_OCP_SOCKET_INST, 0x0000) 70d198b514SPaul Walmsley #define OMAP4_CM_CM2_PROFILING_CLKCTRL_OFFSET 0x0040 71cdb54c44SPaul Walmsley #define OMAP4430_CM_CM2_PROFILING_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_OCP_SOCKET_INST, 0x0040) 72d198b514SPaul Walmsley 73d198b514SPaul Walmsley /* CM2.CKGEN_CM2 register offsets */ 74d198b514SPaul Walmsley #define OMAP4_CM_CLKSEL_DUCATI_ISS_ROOT_OFFSET 0x0000 75cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKSEL_DUCATI_ISS_ROOT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0000) 76d198b514SPaul Walmsley #define OMAP4_CM_CLKSEL_USB_60MHZ_OFFSET 0x0004 77cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKSEL_USB_60MHZ OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0004) 78d198b514SPaul Walmsley #define OMAP4_CM_SCALE_FCLK_OFFSET 0x0008 79cdb54c44SPaul Walmsley #define OMAP4430_CM_SCALE_FCLK OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0008) 80d198b514SPaul Walmsley #define OMAP4_CM_CORE_DVFS_PERF1_OFFSET 0x0010 81cdb54c44SPaul Walmsley #define OMAP4430_CM_CORE_DVFS_PERF1 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0010) 82d198b514SPaul Walmsley #define OMAP4_CM_CORE_DVFS_PERF2_OFFSET 0x0014 83cdb54c44SPaul Walmsley #define OMAP4430_CM_CORE_DVFS_PERF2 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0014) 84d198b514SPaul Walmsley #define OMAP4_CM_CORE_DVFS_PERF3_OFFSET 0x0018 85cdb54c44SPaul Walmsley #define OMAP4430_CM_CORE_DVFS_PERF3 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0018) 86d198b514SPaul Walmsley #define OMAP4_CM_CORE_DVFS_PERF4_OFFSET 0x001c 87cdb54c44SPaul Walmsley #define OMAP4430_CM_CORE_DVFS_PERF4 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x001c) 88d198b514SPaul Walmsley #define OMAP4_CM_CORE_DVFS_CURRENT_OFFSET 0x0024 89cdb54c44SPaul Walmsley #define OMAP4430_CM_CORE_DVFS_CURRENT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0024) 90d198b514SPaul Walmsley #define OMAP4_CM_IVA_DVFS_PERF_TESLA_OFFSET 0x0028 91cdb54c44SPaul Walmsley #define OMAP4430_CM_IVA_DVFS_PERF_TESLA OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0028) 92d198b514SPaul Walmsley #define OMAP4_CM_IVA_DVFS_PERF_IVAHD_OFFSET 0x002c 93cdb54c44SPaul Walmsley #define OMAP4430_CM_IVA_DVFS_PERF_IVAHD OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x002c) 94d198b514SPaul Walmsley #define OMAP4_CM_IVA_DVFS_PERF_ABE_OFFSET 0x0030 95cdb54c44SPaul Walmsley #define OMAP4430_CM_IVA_DVFS_PERF_ABE OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0030) 96d198b514SPaul Walmsley #define OMAP4_CM_IVA_DVFS_CURRENT_OFFSET 0x0038 97cdb54c44SPaul Walmsley #define OMAP4430_CM_IVA_DVFS_CURRENT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0038) 98d198b514SPaul Walmsley #define OMAP4_CM_CLKMODE_DPLL_PER_OFFSET 0x0040 99cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKMODE_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0040) 100d198b514SPaul Walmsley #define OMAP4_CM_IDLEST_DPLL_PER_OFFSET 0x0044 101cdb54c44SPaul Walmsley #define OMAP4430_CM_IDLEST_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0044) 102d198b514SPaul Walmsley #define OMAP4_CM_AUTOIDLE_DPLL_PER_OFFSET 0x0048 103cdb54c44SPaul Walmsley #define OMAP4430_CM_AUTOIDLE_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0048) 104d198b514SPaul Walmsley #define OMAP4_CM_CLKSEL_DPLL_PER_OFFSET 0x004c 105cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKSEL_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x004c) 106d198b514SPaul Walmsley #define OMAP4_CM_DIV_M2_DPLL_PER_OFFSET 0x0050 107cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M2_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0050) 108d198b514SPaul Walmsley #define OMAP4_CM_DIV_M3_DPLL_PER_OFFSET 0x0054 109cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M3_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0054) 110d198b514SPaul Walmsley #define OMAP4_CM_DIV_M4_DPLL_PER_OFFSET 0x0058 111cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M4_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0058) 112d198b514SPaul Walmsley #define OMAP4_CM_DIV_M5_DPLL_PER_OFFSET 0x005c 113cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M5_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x005c) 114d198b514SPaul Walmsley #define OMAP4_CM_DIV_M6_DPLL_PER_OFFSET 0x0060 115cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M6_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0060) 116d198b514SPaul Walmsley #define OMAP4_CM_DIV_M7_DPLL_PER_OFFSET 0x0064 117cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M7_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0064) 118d198b514SPaul Walmsley #define OMAP4_CM_SSC_DELTAMSTEP_DPLL_PER_OFFSET 0x0068 119cdb54c44SPaul Walmsley #define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0068) 120ad98a18bSBenoit Cousson #define OMAP4_CM_SSC_MODFREQDIV_DPLL_PER_OFFSET 0x006c 121ad98a18bSBenoit Cousson #define OMAP4430_CM_SSC_MODFREQDIV_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x006c) 122d198b514SPaul Walmsley #define OMAP4_CM_CLKMODE_DPLL_USB_OFFSET 0x0080 123cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKMODE_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0080) 124d198b514SPaul Walmsley #define OMAP4_CM_IDLEST_DPLL_USB_OFFSET 0x0084 125cdb54c44SPaul Walmsley #define OMAP4430_CM_IDLEST_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0084) 126d198b514SPaul Walmsley #define OMAP4_CM_AUTOIDLE_DPLL_USB_OFFSET 0x0088 127cdb54c44SPaul Walmsley #define OMAP4430_CM_AUTOIDLE_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0088) 128d198b514SPaul Walmsley #define OMAP4_CM_CLKSEL_DPLL_USB_OFFSET 0x008c 129cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKSEL_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x008c) 130d198b514SPaul Walmsley #define OMAP4_CM_DIV_M2_DPLL_USB_OFFSET 0x0090 131cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M2_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x0090) 132d198b514SPaul Walmsley #define OMAP4_CM_SSC_DELTAMSTEP_DPLL_USB_OFFSET 0x00a8 133cdb54c44SPaul Walmsley #define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00a8) 134ad98a18bSBenoit Cousson #define OMAP4_CM_SSC_MODFREQDIV_DPLL_USB_OFFSET 0x00ac 135ad98a18bSBenoit Cousson #define OMAP4430_CM_SSC_MODFREQDIV_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00ac) 136d198b514SPaul Walmsley #define OMAP4_CM_CLKDCOLDO_DPLL_USB_OFFSET 0x00b4 137cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKDCOLDO_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00b4) 138d198b514SPaul Walmsley #define OMAP4_CM_CLKMODE_DPLL_UNIPRO_OFFSET 0x00c0 139cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKMODE_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00c0) 140d198b514SPaul Walmsley #define OMAP4_CM_IDLEST_DPLL_UNIPRO_OFFSET 0x00c4 141cdb54c44SPaul Walmsley #define OMAP4430_CM_IDLEST_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00c4) 142d198b514SPaul Walmsley #define OMAP4_CM_AUTOIDLE_DPLL_UNIPRO_OFFSET 0x00c8 143cdb54c44SPaul Walmsley #define OMAP4430_CM_AUTOIDLE_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00c8) 144d198b514SPaul Walmsley #define OMAP4_CM_CLKSEL_DPLL_UNIPRO_OFFSET 0x00cc 145cdb54c44SPaul Walmsley #define OMAP4430_CM_CLKSEL_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00cc) 146d198b514SPaul Walmsley #define OMAP4_CM_DIV_M2_DPLL_UNIPRO_OFFSET 0x00d0 147cdb54c44SPaul Walmsley #define OMAP4430_CM_DIV_M2_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00d0) 148d198b514SPaul Walmsley #define OMAP4_CM_SSC_DELTAMSTEP_DPLL_UNIPRO_OFFSET 0x00e8 149cdb54c44SPaul Walmsley #define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00e8) 150ad98a18bSBenoit Cousson #define OMAP4_CM_SSC_MODFREQDIV_DPLL_UNIPRO_OFFSET 0x00ec 151ad98a18bSBenoit Cousson #define OMAP4430_CM_SSC_MODFREQDIV_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_INST, 0x00ec) 152d198b514SPaul Walmsley 153d198b514SPaul Walmsley /* CM2.ALWAYS_ON_CM2 register offsets */ 154d198b514SPaul Walmsley #define OMAP4_CM_ALWON_CLKSTCTRL_OFFSET 0x0000 155cdb54c44SPaul Walmsley #define OMAP4430_CM_ALWON_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0000) 156d198b514SPaul Walmsley #define OMAP4_CM_ALWON_MDMINTC_CLKCTRL_OFFSET 0x0020 157cdb54c44SPaul Walmsley #define OMAP4430_CM_ALWON_MDMINTC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0020) 158d198b514SPaul Walmsley #define OMAP4_CM_ALWON_SR_MPU_CLKCTRL_OFFSET 0x0028 159cdb54c44SPaul Walmsley #define OMAP4430_CM_ALWON_SR_MPU_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0028) 160d198b514SPaul Walmsley #define OMAP4_CM_ALWON_SR_IVA_CLKCTRL_OFFSET 0x0030 161cdb54c44SPaul Walmsley #define OMAP4430_CM_ALWON_SR_IVA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0030) 162d198b514SPaul Walmsley #define OMAP4_CM_ALWON_SR_CORE_CLKCTRL_OFFSET 0x0038 163cdb54c44SPaul Walmsley #define OMAP4430_CM_ALWON_SR_CORE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0038) 164d198b514SPaul Walmsley #define OMAP4_CM_ALWON_USBPHY_CLKCTRL_OFFSET 0x0040 165cdb54c44SPaul Walmsley #define OMAP4430_CM_ALWON_USBPHY_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_INST, 0x0040) 166d198b514SPaul Walmsley 167d198b514SPaul Walmsley /* CM2.CORE_CM2 register offsets */ 168d198b514SPaul Walmsley #define OMAP4_CM_L3_1_CLKSTCTRL_OFFSET 0x0000 169cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_1_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0000) 170d198b514SPaul Walmsley #define OMAP4_CM_L3_1_DYNAMICDEP_OFFSET 0x0008 171cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_1_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0008) 172d198b514SPaul Walmsley #define OMAP4_CM_L3_1_L3_1_CLKCTRL_OFFSET 0x0020 173cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_1_L3_1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0020) 174d198b514SPaul Walmsley #define OMAP4_CM_L3_2_CLKSTCTRL_OFFSET 0x0100 175cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_2_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0100) 176d198b514SPaul Walmsley #define OMAP4_CM_L3_2_DYNAMICDEP_OFFSET 0x0108 177cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_2_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0108) 178d198b514SPaul Walmsley #define OMAP4_CM_L3_2_L3_2_CLKCTRL_OFFSET 0x0120 179cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_2_L3_2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0120) 180d198b514SPaul Walmsley #define OMAP4_CM_L3_2_GPMC_CLKCTRL_OFFSET 0x0128 181cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_2_GPMC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0128) 182d198b514SPaul Walmsley #define OMAP4_CM_L3_2_OCMC_RAM_CLKCTRL_OFFSET 0x0130 183cdb54c44SPaul Walmsley #define OMAP4430_CM_L3_2_OCMC_RAM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0130) 184d198b514SPaul Walmsley #define OMAP4_CM_DUCATI_CLKSTCTRL_OFFSET 0x0200 185cdb54c44SPaul Walmsley #define OMAP4430_CM_DUCATI_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0200) 186d198b514SPaul Walmsley #define OMAP4_CM_DUCATI_STATICDEP_OFFSET 0x0204 187cdb54c44SPaul Walmsley #define OMAP4430_CM_DUCATI_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0204) 188d198b514SPaul Walmsley #define OMAP4_CM_DUCATI_DYNAMICDEP_OFFSET 0x0208 189cdb54c44SPaul Walmsley #define OMAP4430_CM_DUCATI_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0208) 190d198b514SPaul Walmsley #define OMAP4_CM_DUCATI_DUCATI_CLKCTRL_OFFSET 0x0220 191cdb54c44SPaul Walmsley #define OMAP4430_CM_DUCATI_DUCATI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0220) 192d198b514SPaul Walmsley #define OMAP4_CM_SDMA_CLKSTCTRL_OFFSET 0x0300 193cdb54c44SPaul Walmsley #define OMAP4430_CM_SDMA_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0300) 194d198b514SPaul Walmsley #define OMAP4_CM_SDMA_STATICDEP_OFFSET 0x0304 195cdb54c44SPaul Walmsley #define OMAP4430_CM_SDMA_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0304) 196d198b514SPaul Walmsley #define OMAP4_CM_SDMA_DYNAMICDEP_OFFSET 0x0308 197cdb54c44SPaul Walmsley #define OMAP4430_CM_SDMA_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0308) 198d198b514SPaul Walmsley #define OMAP4_CM_SDMA_SDMA_CLKCTRL_OFFSET 0x0320 199cdb54c44SPaul Walmsley #define OMAP4430_CM_SDMA_SDMA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0320) 200d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_CLKSTCTRL_OFFSET 0x0400 201cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0400) 202d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_DMM_CLKCTRL_OFFSET 0x0420 203cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_DMM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0420) 204d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_EMIF_FW_CLKCTRL_OFFSET 0x0428 205cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_EMIF_FW_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0428) 206d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_EMIF_1_CLKCTRL_OFFSET 0x0430 207cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_EMIF_1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0430) 208d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_EMIF_2_CLKCTRL_OFFSET 0x0438 209cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_EMIF_2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0438) 210d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_DLL_CLKCTRL_OFFSET 0x0440 211cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_DLL_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0440) 212d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_EMIF_H1_CLKCTRL_OFFSET 0x0450 213cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_EMIF_H1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0450) 214d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_EMIF_H2_CLKCTRL_OFFSET 0x0458 215cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_EMIF_H2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0458) 216d198b514SPaul Walmsley #define OMAP4_CM_MEMIF_DLL_H_CLKCTRL_OFFSET 0x0460 217cdb54c44SPaul Walmsley #define OMAP4430_CM_MEMIF_DLL_H_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0460) 218d198b514SPaul Walmsley #define OMAP4_CM_D2D_CLKSTCTRL_OFFSET 0x0500 219cdb54c44SPaul Walmsley #define OMAP4430_CM_D2D_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0500) 220d198b514SPaul Walmsley #define OMAP4_CM_D2D_STATICDEP_OFFSET 0x0504 221cdb54c44SPaul Walmsley #define OMAP4430_CM_D2D_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0504) 222d198b514SPaul Walmsley #define OMAP4_CM_D2D_DYNAMICDEP_OFFSET 0x0508 223cdb54c44SPaul Walmsley #define OMAP4430_CM_D2D_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0508) 224d198b514SPaul Walmsley #define OMAP4_CM_D2D_SAD2D_CLKCTRL_OFFSET 0x0520 225cdb54c44SPaul Walmsley #define OMAP4430_CM_D2D_SAD2D_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0520) 226ad98a18bSBenoit Cousson #define OMAP4_CM_D2D_MODEM_ICR_CLKCTRL_OFFSET 0x0528 227ad98a18bSBenoit Cousson #define OMAP4430_CM_D2D_MODEM_ICR_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0528) 228d198b514SPaul Walmsley #define OMAP4_CM_D2D_SAD2D_FW_CLKCTRL_OFFSET 0x0530 229cdb54c44SPaul Walmsley #define OMAP4430_CM_D2D_SAD2D_FW_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0530) 230d198b514SPaul Walmsley #define OMAP4_CM_L4CFG_CLKSTCTRL_OFFSET 0x0600 231cdb54c44SPaul Walmsley #define OMAP4430_CM_L4CFG_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0600) 232d198b514SPaul Walmsley #define OMAP4_CM_L4CFG_DYNAMICDEP_OFFSET 0x0608 233cdb54c44SPaul Walmsley #define OMAP4430_CM_L4CFG_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0608) 234d198b514SPaul Walmsley #define OMAP4_CM_L4CFG_L4_CFG_CLKCTRL_OFFSET 0x0620 235cdb54c44SPaul Walmsley #define OMAP4430_CM_L4CFG_L4_CFG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0620) 236d198b514SPaul Walmsley #define OMAP4_CM_L4CFG_HW_SEM_CLKCTRL_OFFSET 0x0628 237cdb54c44SPaul Walmsley #define OMAP4430_CM_L4CFG_HW_SEM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0628) 238d198b514SPaul Walmsley #define OMAP4_CM_L4CFG_MAILBOX_CLKCTRL_OFFSET 0x0630 239cdb54c44SPaul Walmsley #define OMAP4430_CM_L4CFG_MAILBOX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0630) 240d198b514SPaul Walmsley #define OMAP4_CM_L4CFG_SAR_ROM_CLKCTRL_OFFSET 0x0638 241cdb54c44SPaul Walmsley #define OMAP4430_CM_L4CFG_SAR_ROM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0638) 242d198b514SPaul Walmsley #define OMAP4_CM_L3INSTR_CLKSTCTRL_OFFSET 0x0700 243cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INSTR_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0700) 244d198b514SPaul Walmsley #define OMAP4_CM_L3INSTR_L3_3_CLKCTRL_OFFSET 0x0720 245cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INSTR_L3_3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0720) 246d198b514SPaul Walmsley #define OMAP4_CM_L3INSTR_L3_INSTR_CLKCTRL_OFFSET 0x0728 247cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INSTR_L3_INSTR_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0728) 248d198b514SPaul Walmsley #define OMAP4_CM_L3INSTR_OCP_WP1_CLKCTRL_OFFSET 0x0740 249cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INSTR_OCP_WP1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_INST, 0x0740) 250d198b514SPaul Walmsley 251d198b514SPaul Walmsley /* CM2.IVAHD_CM2 register offsets */ 252d198b514SPaul Walmsley #define OMAP4_CM_IVAHD_CLKSTCTRL_OFFSET 0x0000 253cdb54c44SPaul Walmsley #define OMAP4430_CM_IVAHD_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0000) 254d198b514SPaul Walmsley #define OMAP4_CM_IVAHD_STATICDEP_OFFSET 0x0004 255cdb54c44SPaul Walmsley #define OMAP4430_CM_IVAHD_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0004) 256d198b514SPaul Walmsley #define OMAP4_CM_IVAHD_DYNAMICDEP_OFFSET 0x0008 257cdb54c44SPaul Walmsley #define OMAP4430_CM_IVAHD_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0008) 258d198b514SPaul Walmsley #define OMAP4_CM_IVAHD_IVAHD_CLKCTRL_OFFSET 0x0020 259cdb54c44SPaul Walmsley #define OMAP4430_CM_IVAHD_IVAHD_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0020) 260d198b514SPaul Walmsley #define OMAP4_CM_IVAHD_SL2_CLKCTRL_OFFSET 0x0028 261cdb54c44SPaul Walmsley #define OMAP4430_CM_IVAHD_SL2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_INST, 0x0028) 262d198b514SPaul Walmsley 263d198b514SPaul Walmsley /* CM2.CAM_CM2 register offsets */ 264d198b514SPaul Walmsley #define OMAP4_CM_CAM_CLKSTCTRL_OFFSET 0x0000 265cdb54c44SPaul Walmsley #define OMAP4430_CM_CAM_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0000) 266d198b514SPaul Walmsley #define OMAP4_CM_CAM_STATICDEP_OFFSET 0x0004 267cdb54c44SPaul Walmsley #define OMAP4430_CM_CAM_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0004) 268d198b514SPaul Walmsley #define OMAP4_CM_CAM_DYNAMICDEP_OFFSET 0x0008 269cdb54c44SPaul Walmsley #define OMAP4430_CM_CAM_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0008) 270d198b514SPaul Walmsley #define OMAP4_CM_CAM_ISS_CLKCTRL_OFFSET 0x0020 271cdb54c44SPaul Walmsley #define OMAP4430_CM_CAM_ISS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0020) 272d198b514SPaul Walmsley #define OMAP4_CM_CAM_FDIF_CLKCTRL_OFFSET 0x0028 273cdb54c44SPaul Walmsley #define OMAP4430_CM_CAM_FDIF_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_INST, 0x0028) 274d198b514SPaul Walmsley 275d198b514SPaul Walmsley /* CM2.DSS_CM2 register offsets */ 276d198b514SPaul Walmsley #define OMAP4_CM_DSS_CLKSTCTRL_OFFSET 0x0000 277cdb54c44SPaul Walmsley #define OMAP4430_CM_DSS_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0000) 278d198b514SPaul Walmsley #define OMAP4_CM_DSS_STATICDEP_OFFSET 0x0004 279cdb54c44SPaul Walmsley #define OMAP4430_CM_DSS_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0004) 280d198b514SPaul Walmsley #define OMAP4_CM_DSS_DYNAMICDEP_OFFSET 0x0008 281cdb54c44SPaul Walmsley #define OMAP4430_CM_DSS_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0008) 282d198b514SPaul Walmsley #define OMAP4_CM_DSS_DSS_CLKCTRL_OFFSET 0x0020 283cdb54c44SPaul Walmsley #define OMAP4430_CM_DSS_DSS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0020) 284d198b514SPaul Walmsley #define OMAP4_CM_DSS_DEISS_CLKCTRL_OFFSET 0x0028 285cdb54c44SPaul Walmsley #define OMAP4430_CM_DSS_DEISS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_INST, 0x0028) 286d198b514SPaul Walmsley 287d198b514SPaul Walmsley /* CM2.GFX_CM2 register offsets */ 288d198b514SPaul Walmsley #define OMAP4_CM_GFX_CLKSTCTRL_OFFSET 0x0000 289cdb54c44SPaul Walmsley #define OMAP4430_CM_GFX_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0000) 290d198b514SPaul Walmsley #define OMAP4_CM_GFX_STATICDEP_OFFSET 0x0004 291cdb54c44SPaul Walmsley #define OMAP4430_CM_GFX_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0004) 292d198b514SPaul Walmsley #define OMAP4_CM_GFX_DYNAMICDEP_OFFSET 0x0008 293cdb54c44SPaul Walmsley #define OMAP4430_CM_GFX_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0008) 294d198b514SPaul Walmsley #define OMAP4_CM_GFX_GFX_CLKCTRL_OFFSET 0x0020 295cdb54c44SPaul Walmsley #define OMAP4430_CM_GFX_GFX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_INST, 0x0020) 296d198b514SPaul Walmsley 297d198b514SPaul Walmsley /* CM2.L3INIT_CM2 register offsets */ 298d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_CLKSTCTRL_OFFSET 0x0000 299cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0000) 300d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_STATICDEP_OFFSET 0x0004 301cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0004) 302d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_DYNAMICDEP_OFFSET 0x0008 303cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0008) 304d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_MMC1_CLKCTRL_OFFSET 0x0028 305cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_MMC1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0028) 306d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_MMC2_CLKCTRL_OFFSET 0x0030 307cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_MMC2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0030) 308d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_HSI_CLKCTRL_OFFSET 0x0038 309cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_HSI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0038) 310d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_UNIPRO1_CLKCTRL_OFFSET 0x0040 311cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_UNIPRO1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0040) 312d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_USB_HOST_CLKCTRL_OFFSET 0x0058 313cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_USB_HOST_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0058) 314d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_USB_OTG_CLKCTRL_OFFSET 0x0060 315cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_USB_OTG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0060) 316d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_USB_TLL_CLKCTRL_OFFSET 0x0068 317cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_USB_TLL_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0068) 318d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_P1500_CLKCTRL_OFFSET 0x0078 319cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_P1500_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0078) 320d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_EMAC_CLKCTRL_OFFSET 0x0080 321cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_EMAC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0080) 322d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_SATA_CLKCTRL_OFFSET 0x0088 323cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_SATA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0088) 324d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_TPPSS_CLKCTRL_OFFSET 0x0090 325cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_TPPSS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0090) 326d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_PCIESS_CLKCTRL_OFFSET 0x0098 327cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_PCIESS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x0098) 328d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_CCPTX_CLKCTRL_OFFSET 0x00a8 329cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_CCPTX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00a8) 330d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_XHPI_CLKCTRL_OFFSET 0x00c0 331cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_XHPI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00c0) 332d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_MMC6_CLKCTRL_OFFSET 0x00c8 333cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_MMC6_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00c8) 334d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_USB_HOST_FS_CLKCTRL_OFFSET 0x00d0 335cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_USB_HOST_FS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00d0) 336d198b514SPaul Walmsley #define OMAP4_CM_L3INIT_USBPHYOCP2SCP_CLKCTRL_OFFSET 0x00e0 337cdb54c44SPaul Walmsley #define OMAP4430_CM_L3INIT_USBPHYOCP2SCP_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_INST, 0x00e0) 338d198b514SPaul Walmsley 339d198b514SPaul Walmsley /* CM2.L4PER_CM2 register offsets */ 340d198b514SPaul Walmsley #define OMAP4_CM_L4PER_CLKSTCTRL_OFFSET 0x0000 341cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0000) 342d198b514SPaul Walmsley #define OMAP4_CM_L4PER_DYNAMICDEP_OFFSET 0x0008 343cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0008) 344d198b514SPaul Walmsley #define OMAP4_CM_L4PER_ADC_CLKCTRL_OFFSET 0x0020 345cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_ADC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0020) 346d198b514SPaul Walmsley #define OMAP4_CM_L4PER_DMTIMER10_CLKCTRL_OFFSET 0x0028 347cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_DMTIMER10_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0028) 348d198b514SPaul Walmsley #define OMAP4_CM_L4PER_DMTIMER11_CLKCTRL_OFFSET 0x0030 349cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_DMTIMER11_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0030) 350d198b514SPaul Walmsley #define OMAP4_CM_L4PER_DMTIMER2_CLKCTRL_OFFSET 0x0038 351cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_DMTIMER2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0038) 352d198b514SPaul Walmsley #define OMAP4_CM_L4PER_DMTIMER3_CLKCTRL_OFFSET 0x0040 353cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_DMTIMER3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0040) 354d198b514SPaul Walmsley #define OMAP4_CM_L4PER_DMTIMER4_CLKCTRL_OFFSET 0x0048 355cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_DMTIMER4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0048) 356d198b514SPaul Walmsley #define OMAP4_CM_L4PER_DMTIMER9_CLKCTRL_OFFSET 0x0050 357cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_DMTIMER9_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0050) 358d198b514SPaul Walmsley #define OMAP4_CM_L4PER_ELM_CLKCTRL_OFFSET 0x0058 359cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_ELM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0058) 360d198b514SPaul Walmsley #define OMAP4_CM_L4PER_GPIO2_CLKCTRL_OFFSET 0x0060 361cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_GPIO2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0060) 362d198b514SPaul Walmsley #define OMAP4_CM_L4PER_GPIO3_CLKCTRL_OFFSET 0x0068 363cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_GPIO3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0068) 364d198b514SPaul Walmsley #define OMAP4_CM_L4PER_GPIO4_CLKCTRL_OFFSET 0x0070 365cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_GPIO4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0070) 366d198b514SPaul Walmsley #define OMAP4_CM_L4PER_GPIO5_CLKCTRL_OFFSET 0x0078 367cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_GPIO5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0078) 368d198b514SPaul Walmsley #define OMAP4_CM_L4PER_GPIO6_CLKCTRL_OFFSET 0x0080 369cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_GPIO6_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0080) 370d198b514SPaul Walmsley #define OMAP4_CM_L4PER_HDQ1W_CLKCTRL_OFFSET 0x0088 371cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_HDQ1W_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0088) 372d198b514SPaul Walmsley #define OMAP4_CM_L4PER_HECC1_CLKCTRL_OFFSET 0x0090 373cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_HECC1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0090) 374d198b514SPaul Walmsley #define OMAP4_CM_L4PER_HECC2_CLKCTRL_OFFSET 0x0098 375cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_HECC2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0098) 376d198b514SPaul Walmsley #define OMAP4_CM_L4PER_I2C1_CLKCTRL_OFFSET 0x00a0 377cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_I2C1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00a0) 378d198b514SPaul Walmsley #define OMAP4_CM_L4PER_I2C2_CLKCTRL_OFFSET 0x00a8 379cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_I2C2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00a8) 380d198b514SPaul Walmsley #define OMAP4_CM_L4PER_I2C3_CLKCTRL_OFFSET 0x00b0 381cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_I2C3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00b0) 382d198b514SPaul Walmsley #define OMAP4_CM_L4PER_I2C4_CLKCTRL_OFFSET 0x00b8 383cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_I2C4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00b8) 384d198b514SPaul Walmsley #define OMAP4_CM_L4PER_L4PER_CLKCTRL_OFFSET 0x00c0 385cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_L4PER_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00c0) 386d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MCASP2_CLKCTRL_OFFSET 0x00d0 387cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MCASP2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00d0) 388d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MCASP3_CLKCTRL_OFFSET 0x00d8 389cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MCASP3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00d8) 390d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MCBSP4_CLKCTRL_OFFSET 0x00e0 391cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MCBSP4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00e0) 392d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MGATE_CLKCTRL_OFFSET 0x00e8 393cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MGATE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00e8) 394d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MCSPI1_CLKCTRL_OFFSET 0x00f0 395cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MCSPI1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00f0) 396d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MCSPI2_CLKCTRL_OFFSET 0x00f8 397cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MCSPI2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x00f8) 398d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MCSPI3_CLKCTRL_OFFSET 0x0100 399cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MCSPI3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0100) 400d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MCSPI4_CLKCTRL_OFFSET 0x0108 401cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MCSPI4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0108) 402d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MMCSD3_CLKCTRL_OFFSET 0x0120 403cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MMCSD3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0120) 404d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MMCSD4_CLKCTRL_OFFSET 0x0128 405cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MMCSD4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0128) 406d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MSPROHG_CLKCTRL_OFFSET 0x0130 407cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MSPROHG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0130) 408d198b514SPaul Walmsley #define OMAP4_CM_L4PER_SLIMBUS2_CLKCTRL_OFFSET 0x0138 409cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_SLIMBUS2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0138) 410d198b514SPaul Walmsley #define OMAP4_CM_L4PER_UART1_CLKCTRL_OFFSET 0x0140 411cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_UART1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0140) 412d198b514SPaul Walmsley #define OMAP4_CM_L4PER_UART2_CLKCTRL_OFFSET 0x0148 413cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_UART2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0148) 414d198b514SPaul Walmsley #define OMAP4_CM_L4PER_UART3_CLKCTRL_OFFSET 0x0150 415cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_UART3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0150) 416d198b514SPaul Walmsley #define OMAP4_CM_L4PER_UART4_CLKCTRL_OFFSET 0x0158 417cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_UART4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0158) 418d198b514SPaul Walmsley #define OMAP4_CM_L4PER_MMCSD5_CLKCTRL_OFFSET 0x0160 419cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_MMCSD5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0160) 420d198b514SPaul Walmsley #define OMAP4_CM_L4PER_I2C5_CLKCTRL_OFFSET 0x0168 421cdb54c44SPaul Walmsley #define OMAP4430_CM_L4PER_I2C5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0168) 422d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_CLKSTCTRL_OFFSET 0x0180 423cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0180) 424d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_STATICDEP_OFFSET 0x0184 425cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0184) 426d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_DYNAMICDEP_OFFSET 0x0188 427cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x0188) 428d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_AES1_CLKCTRL_OFFSET 0x01a0 429cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_AES1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01a0) 430d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_AES2_CLKCTRL_OFFSET 0x01a8 431cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_AES2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01a8) 432d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_DES3DES_CLKCTRL_OFFSET 0x01b0 433cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_DES3DES_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01b0) 434d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_PKAEIP29_CLKCTRL_OFFSET 0x01b8 435cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_PKAEIP29_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01b8) 436d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_RNG_CLKCTRL_OFFSET 0x01c0 437cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_RNG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01c0) 438d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_SHA2MD51_CLKCTRL_OFFSET 0x01c8 439cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_SHA2MD51_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01c8) 440d198b514SPaul Walmsley #define OMAP4_CM_L4SEC_CRYPTODMA_CLKCTRL_OFFSET 0x01d8 441cdb54c44SPaul Walmsley #define OMAP4430_CM_L4SEC_CRYPTODMA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_INST, 0x01d8) 442d198b514SPaul Walmsley 443d198b514SPaul Walmsley /* CM2.CEFUSE_CM2 register offsets */ 444d198b514SPaul Walmsley #define OMAP4_CM_CEFUSE_CLKSTCTRL_OFFSET 0x0000 445cdb54c44SPaul Walmsley #define OMAP4430_CM_CEFUSE_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CEFUSE_INST, 0x0000) 446d198b514SPaul Walmsley #define OMAP4_CM_CEFUSE_CEFUSE_CLKCTRL_OFFSET 0x0020 447cdb54c44SPaul Walmsley #define OMAP4430_CM_CEFUSE_CEFUSE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CEFUSE_INST, 0x0020) 448d198b514SPaul Walmsley 449d198b514SPaul Walmsley #endif 450