blob: 336d94889e5b50ee1e613bb88e7dacc18dff4a3d [file] [log] [blame]
Rajendra Nayak9b472672009-12-08 18:24:50 -07001/*
2 * OMAP44xx CM1 & CM2 instance offset macros
3 *
Benoit Coussona6108552010-05-20 12:31:11 -06004 * Copyright (C) 2009-2010 Texas Instruments, Inc.
5 * Copyright (C) 2009-2010 Nokia Corporation
Rajendra Nayak9b472672009-12-08 18:24:50 -07006 *
7 * Paul Walmsley (paul@pwsan.com)
8 * Rajendra Nayak (rnayak@ti.com)
9 * Benoit Cousson (b-cousson@ti.com)
10 *
11 * This file is automatically generated from the OMAP hardware databases.
12 * We respectfully ask that any modifications to this file be coordinated
13 * with the public linux-omap@vger.kernel.org mailing list and the
14 * authors above to ensure that the autogeneration scripts are kept
15 * up-to-date with the file contents.
16 *
17 * This program is free software; you can redistribute it and/or modify
18 * it under the terms of the GNU General Public License version 2 as
19 * published by the Free Software Foundation.
20 */
21
22#ifndef __ARCH_ARM_MACH_OMAP2_CM44XX_H
23#define __ARCH_ARM_MACH_OMAP2_CM44XX_H
24
25
26/* CM1 */
27
Rajendra Nayak9b472672009-12-08 18:24:50 -070028/* CM1.OCP_SOCKET_CM1 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -060029#define OMAP4_REVISION_CM1_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -070030#define OMAP4430_REVISION_CM1 OMAP44XX_CM1_REGADDR(OMAP4430_CM1_OCP_SOCKET_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060031#define OMAP4_CM_CM1_PROFILING_CLKCTRL_OFFSET 0x0040
Rajendra Nayak9b472672009-12-08 18:24:50 -070032#define OMAP4430_CM_CM1_PROFILING_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_OCP_SOCKET_MOD, 0x0040)
33
34/* CM1.CKGEN_CM1 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -060035#define OMAP4_CM_CLKSEL_CORE_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -070036#define OMAP4430_CM_CLKSEL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060037#define OMAP4_CM_CLKSEL_ABE_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -070038#define OMAP4430_CM_CLKSEL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060039#define OMAP4_CM_DLL_CTRL_OFFSET 0x0010
Rajendra Nayak9b472672009-12-08 18:24:50 -070040#define OMAP4430_CM_DLL_CTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0010)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060041#define OMAP4_CM_CLKMODE_DPLL_CORE_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -070042#define OMAP4430_CM_CLKMODE_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060043#define OMAP4_CM_IDLEST_DPLL_CORE_OFFSET 0x0024
Rajendra Nayak9b472672009-12-08 18:24:50 -070044#define OMAP4430_CM_IDLEST_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0024)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060045#define OMAP4_CM_AUTOIDLE_DPLL_CORE_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -070046#define OMAP4430_CM_AUTOIDLE_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0028)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060047#define OMAP4_CM_CLKSEL_DPLL_CORE_OFFSET 0x002c
Rajendra Nayak9b472672009-12-08 18:24:50 -070048#define OMAP4430_CM_CLKSEL_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x002c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060049#define OMAP4_CM_DIV_M2_DPLL_CORE_OFFSET 0x0030
Rajendra Nayak9b472672009-12-08 18:24:50 -070050#define OMAP4430_CM_DIV_M2_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0030)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060051#define OMAP4_CM_DIV_M3_DPLL_CORE_OFFSET 0x0034
Rajendra Nayak9b472672009-12-08 18:24:50 -070052#define OMAP4430_CM_DIV_M3_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0034)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060053#define OMAP4_CM_DIV_M4_DPLL_CORE_OFFSET 0x0038
Rajendra Nayak9b472672009-12-08 18:24:50 -070054#define OMAP4430_CM_DIV_M4_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0038)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060055#define OMAP4_CM_DIV_M5_DPLL_CORE_OFFSET 0x003c
Rajendra Nayak9b472672009-12-08 18:24:50 -070056#define OMAP4430_CM_DIV_M5_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x003c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060057#define OMAP4_CM_DIV_M6_DPLL_CORE_OFFSET 0x0040
Rajendra Nayak9b472672009-12-08 18:24:50 -070058#define OMAP4430_CM_DIV_M6_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0040)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060059#define OMAP4_CM_DIV_M7_DPLL_CORE_OFFSET 0x0044
Rajendra Nayak9b472672009-12-08 18:24:50 -070060#define OMAP4430_CM_DIV_M7_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0044)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060061#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_CORE_OFFSET 0x0048
Rajendra Nayak9b472672009-12-08 18:24:50 -070062#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0048)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060063#define OMAP4_CM_SSC_MODFREQDIV_DPLL_CORE_OFFSET 0x004c
Rajendra Nayak9b472672009-12-08 18:24:50 -070064#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x004c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060065#define OMAP4_CM_EMU_OVERRIDE_DPLL_CORE_OFFSET 0x0050
Rajendra Nayak9b472672009-12-08 18:24:50 -070066#define OMAP4430_CM_EMU_OVERRIDE_DPLL_CORE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0050)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060067#define OMAP4_CM_CLKMODE_DPLL_MPU_OFFSET 0x0060
Rajendra Nayak9b472672009-12-08 18:24:50 -070068#define OMAP4430_CM_CLKMODE_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0060)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060069#define OMAP4_CM_IDLEST_DPLL_MPU_OFFSET 0x0064
Rajendra Nayak9b472672009-12-08 18:24:50 -070070#define OMAP4430_CM_IDLEST_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0064)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060071#define OMAP4_CM_AUTOIDLE_DPLL_MPU_OFFSET 0x0068
Rajendra Nayak9b472672009-12-08 18:24:50 -070072#define OMAP4430_CM_AUTOIDLE_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0068)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060073#define OMAP4_CM_CLKSEL_DPLL_MPU_OFFSET 0x006c
Rajendra Nayak9b472672009-12-08 18:24:50 -070074#define OMAP4430_CM_CLKSEL_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x006c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060075#define OMAP4_CM_DIV_M2_DPLL_MPU_OFFSET 0x0070
Rajendra Nayak9b472672009-12-08 18:24:50 -070076#define OMAP4430_CM_DIV_M2_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0070)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060077#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_MPU_OFFSET 0x0088
Rajendra Nayak9b472672009-12-08 18:24:50 -070078#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0088)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060079#define OMAP4_CM_SSC_MODFREQDIV_DPLL_MPU_OFFSET 0x008c
Rajendra Nayak9b472672009-12-08 18:24:50 -070080#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x008c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060081#define OMAP4_CM_BYPCLK_DPLL_MPU_OFFSET 0x009c
Rajendra Nayak9b472672009-12-08 18:24:50 -070082#define OMAP4430_CM_BYPCLK_DPLL_MPU OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x009c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060083#define OMAP4_CM_CLKMODE_DPLL_IVA_OFFSET 0x00a0
Rajendra Nayak9b472672009-12-08 18:24:50 -070084#define OMAP4430_CM_CLKMODE_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00a0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060085#define OMAP4_CM_IDLEST_DPLL_IVA_OFFSET 0x00a4
Rajendra Nayak9b472672009-12-08 18:24:50 -070086#define OMAP4430_CM_IDLEST_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00a4)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060087#define OMAP4_CM_AUTOIDLE_DPLL_IVA_OFFSET 0x00a8
Rajendra Nayak9b472672009-12-08 18:24:50 -070088#define OMAP4430_CM_AUTOIDLE_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00a8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060089#define OMAP4_CM_CLKSEL_DPLL_IVA_OFFSET 0x00ac
Rajendra Nayak9b472672009-12-08 18:24:50 -070090#define OMAP4430_CM_CLKSEL_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00ac)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060091#define OMAP4_CM_DIV_M4_DPLL_IVA_OFFSET 0x00b8
Rajendra Nayak9b472672009-12-08 18:24:50 -070092#define OMAP4430_CM_DIV_M4_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00b8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060093#define OMAP4_CM_DIV_M5_DPLL_IVA_OFFSET 0x00bc
Rajendra Nayak9b472672009-12-08 18:24:50 -070094#define OMAP4430_CM_DIV_M5_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00bc)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060095#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_IVA_OFFSET 0x00c8
Rajendra Nayak9b472672009-12-08 18:24:50 -070096#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00c8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060097#define OMAP4_CM_SSC_MODFREQDIV_DPLL_IVA_OFFSET 0x00cc
Rajendra Nayak9b472672009-12-08 18:24:50 -070098#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00cc)
Rajendra Nayakfe894d52010-05-20 12:31:12 -060099#define OMAP4_CM_BYPCLK_DPLL_IVA_OFFSET 0x00dc
Rajendra Nayak9b472672009-12-08 18:24:50 -0700100#define OMAP4430_CM_BYPCLK_DPLL_IVA OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00dc)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600101#define OMAP4_CM_CLKMODE_DPLL_ABE_OFFSET 0x00e0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700102#define OMAP4430_CM_CLKMODE_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00e0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600103#define OMAP4_CM_IDLEST_DPLL_ABE_OFFSET 0x00e4
Rajendra Nayak9b472672009-12-08 18:24:50 -0700104#define OMAP4430_CM_IDLEST_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00e4)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600105#define OMAP4_CM_AUTOIDLE_DPLL_ABE_OFFSET 0x00e8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700106#define OMAP4430_CM_AUTOIDLE_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00e8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600107#define OMAP4_CM_CLKSEL_DPLL_ABE_OFFSET 0x00ec
Rajendra Nayak9b472672009-12-08 18:24:50 -0700108#define OMAP4430_CM_CLKSEL_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00ec)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600109#define OMAP4_CM_DIV_M2_DPLL_ABE_OFFSET 0x00f0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700110#define OMAP4430_CM_DIV_M2_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00f0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600111#define OMAP4_CM_DIV_M3_DPLL_ABE_OFFSET 0x00f4
Rajendra Nayak9b472672009-12-08 18:24:50 -0700112#define OMAP4430_CM_DIV_M3_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x00f4)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600113#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_ABE_OFFSET 0x0108
Rajendra Nayak9b472672009-12-08 18:24:50 -0700114#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0108)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600115#define OMAP4_CM_SSC_MODFREQDIV_DPLL_ABE_OFFSET 0x010c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700116#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_ABE OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x010c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600117#define OMAP4_CM_CLKMODE_DPLL_DDRPHY_OFFSET 0x0120
Rajendra Nayak9b472672009-12-08 18:24:50 -0700118#define OMAP4430_CM_CLKMODE_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0120)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600119#define OMAP4_CM_IDLEST_DPLL_DDRPHY_OFFSET 0x0124
Rajendra Nayak9b472672009-12-08 18:24:50 -0700120#define OMAP4430_CM_IDLEST_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0124)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600121#define OMAP4_CM_AUTOIDLE_DPLL_DDRPHY_OFFSET 0x0128
Rajendra Nayak9b472672009-12-08 18:24:50 -0700122#define OMAP4430_CM_AUTOIDLE_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0128)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600123#define OMAP4_CM_CLKSEL_DPLL_DDRPHY_OFFSET 0x012c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700124#define OMAP4430_CM_CLKSEL_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x012c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600125#define OMAP4_CM_DIV_M2_DPLL_DDRPHY_OFFSET 0x0130
Rajendra Nayak9b472672009-12-08 18:24:50 -0700126#define OMAP4430_CM_DIV_M2_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0130)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600127#define OMAP4_CM_DIV_M4_DPLL_DDRPHY_OFFSET 0x0138
Rajendra Nayak9b472672009-12-08 18:24:50 -0700128#define OMAP4430_CM_DIV_M4_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0138)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600129#define OMAP4_CM_DIV_M5_DPLL_DDRPHY_OFFSET 0x013c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700130#define OMAP4430_CM_DIV_M5_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x013c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600131#define OMAP4_CM_DIV_M6_DPLL_DDRPHY_OFFSET 0x0140
Rajendra Nayak9b472672009-12-08 18:24:50 -0700132#define OMAP4430_CM_DIV_M6_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0140)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600133#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_DDRPHY_OFFSET 0x0148
Rajendra Nayak9b472672009-12-08 18:24:50 -0700134#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0148)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600135#define OMAP4_CM_SSC_MODFREQDIV_DPLL_DDRPHY_OFFSET 0x014c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700136#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_DDRPHY OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x014c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600137#define OMAP4_CM_SHADOW_FREQ_CONFIG1_OFFSET 0x0160
Rajendra Nayak9b472672009-12-08 18:24:50 -0700138#define OMAP4430_CM_SHADOW_FREQ_CONFIG1 OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0160)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600139#define OMAP4_CM_SHADOW_FREQ_CONFIG2_OFFSET 0x0164
Rajendra Nayak9b472672009-12-08 18:24:50 -0700140#define OMAP4430_CM_SHADOW_FREQ_CONFIG2 OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0164)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600141#define OMAP4_CM_DYN_DEP_PRESCAL_OFFSET 0x0170
Rajendra Nayak9b472672009-12-08 18:24:50 -0700142#define OMAP4430_CM_DYN_DEP_PRESCAL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0170)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600143#define OMAP4_CM_RESTORE_ST_OFFSET 0x0180
Rajendra Nayak9b472672009-12-08 18:24:50 -0700144#define OMAP4430_CM_RESTORE_ST OMAP44XX_CM1_REGADDR(OMAP4430_CM1_CKGEN_MOD, 0x0180)
145
146/* CM1.MPU_CM1 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600147#define OMAP4_CM_MPU_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700148#define OMAP4430_CM_MPU_CLKSTCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_MPU_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600149#define OMAP4_CM_MPU_STATICDEP_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700150#define OMAP4430_CM_MPU_STATICDEP OMAP44XX_CM1_REGADDR(OMAP4430_CM1_MPU_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600151#define OMAP4_CM_MPU_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700152#define OMAP4430_CM_MPU_DYNAMICDEP OMAP44XX_CM1_REGADDR(OMAP4430_CM1_MPU_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600153#define OMAP4_CM_MPU_MPU_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700154#define OMAP4430_CM_MPU_MPU_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_MPU_MOD, 0x0020)
155
156/* CM1.TESLA_CM1 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600157#define OMAP4_CM_TESLA_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700158#define OMAP4430_CM_TESLA_CLKSTCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_TESLA_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600159#define OMAP4_CM_TESLA_STATICDEP_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700160#define OMAP4430_CM_TESLA_STATICDEP OMAP44XX_CM1_REGADDR(OMAP4430_CM1_TESLA_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600161#define OMAP4_CM_TESLA_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700162#define OMAP4430_CM_TESLA_DYNAMICDEP OMAP44XX_CM1_REGADDR(OMAP4430_CM1_TESLA_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600163#define OMAP4_CM_TESLA_TESLA_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700164#define OMAP4430_CM_TESLA_TESLA_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_TESLA_MOD, 0x0020)
165
166/* CM1.ABE_CM1 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600167#define OMAP4_CM1_ABE_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700168#define OMAP4430_CM1_ABE_CLKSTCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600169#define OMAP4_CM1_ABE_L4ABE_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700170#define OMAP4430_CM1_ABE_L4ABE_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600171#define OMAP4_CM1_ABE_AESS_CLKCTRL_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700172#define OMAP4430_CM1_ABE_AESS_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0028)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600173#define OMAP4_CM1_ABE_PDM_CLKCTRL_OFFSET 0x0030
Rajendra Nayak9b472672009-12-08 18:24:50 -0700174#define OMAP4430_CM1_ABE_PDM_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0030)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600175#define OMAP4_CM1_ABE_DMIC_CLKCTRL_OFFSET 0x0038
Rajendra Nayak9b472672009-12-08 18:24:50 -0700176#define OMAP4430_CM1_ABE_DMIC_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0038)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600177#define OMAP4_CM1_ABE_MCASP_CLKCTRL_OFFSET 0x0040
Rajendra Nayak9b472672009-12-08 18:24:50 -0700178#define OMAP4430_CM1_ABE_MCASP_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0040)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600179#define OMAP4_CM1_ABE_MCBSP1_CLKCTRL_OFFSET 0x0048
Rajendra Nayak9b472672009-12-08 18:24:50 -0700180#define OMAP4430_CM1_ABE_MCBSP1_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0048)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600181#define OMAP4_CM1_ABE_MCBSP2_CLKCTRL_OFFSET 0x0050
Rajendra Nayak9b472672009-12-08 18:24:50 -0700182#define OMAP4430_CM1_ABE_MCBSP2_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0050)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600183#define OMAP4_CM1_ABE_MCBSP3_CLKCTRL_OFFSET 0x0058
Rajendra Nayak9b472672009-12-08 18:24:50 -0700184#define OMAP4430_CM1_ABE_MCBSP3_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0058)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600185#define OMAP4_CM1_ABE_SLIMBUS_CLKCTRL_OFFSET 0x0060
Rajendra Nayak9b472672009-12-08 18:24:50 -0700186#define OMAP4430_CM1_ABE_SLIMBUS_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0060)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600187#define OMAP4_CM1_ABE_TIMER5_CLKCTRL_OFFSET 0x0068
Rajendra Nayak9b472672009-12-08 18:24:50 -0700188#define OMAP4430_CM1_ABE_TIMER5_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0068)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600189#define OMAP4_CM1_ABE_TIMER6_CLKCTRL_OFFSET 0x0070
Rajendra Nayak9b472672009-12-08 18:24:50 -0700190#define OMAP4430_CM1_ABE_TIMER6_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0070)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600191#define OMAP4_CM1_ABE_TIMER7_CLKCTRL_OFFSET 0x0078
Rajendra Nayak9b472672009-12-08 18:24:50 -0700192#define OMAP4430_CM1_ABE_TIMER7_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0078)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600193#define OMAP4_CM1_ABE_TIMER8_CLKCTRL_OFFSET 0x0080
Rajendra Nayak9b472672009-12-08 18:24:50 -0700194#define OMAP4430_CM1_ABE_TIMER8_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0080)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600195#define OMAP4_CM1_ABE_WDT3_CLKCTRL_OFFSET 0x0088
Rajendra Nayak9b472672009-12-08 18:24:50 -0700196#define OMAP4430_CM1_ABE_WDT3_CLKCTRL OMAP44XX_CM1_REGADDR(OMAP4430_CM1_ABE_MOD, 0x0088)
197
Rajendra Nayak9b472672009-12-08 18:24:50 -0700198/* CM2 */
199
Rajendra Nayak9b472672009-12-08 18:24:50 -0700200/* CM2.OCP_SOCKET_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600201#define OMAP4_REVISION_CM2_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700202#define OMAP4430_REVISION_CM2 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_OCP_SOCKET_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600203#define OMAP4_CM_CM2_PROFILING_CLKCTRL_OFFSET 0x0040
Rajendra Nayak9b472672009-12-08 18:24:50 -0700204#define OMAP4430_CM_CM2_PROFILING_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_OCP_SOCKET_MOD, 0x0040)
205
206/* CM2.CKGEN_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600207#define OMAP4_CM_CLKSEL_DUCATI_ISS_ROOT_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700208#define OMAP4430_CM_CLKSEL_DUCATI_ISS_ROOT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600209#define OMAP4_CM_CLKSEL_USB_60MHZ_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700210#define OMAP4430_CM_CLKSEL_USB_60MHZ OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600211#define OMAP4_CM_SCALE_FCLK_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700212#define OMAP4430_CM_SCALE_FCLK OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600213#define OMAP4_CM_CORE_DVFS_PERF1_OFFSET 0x0010
Rajendra Nayak9b472672009-12-08 18:24:50 -0700214#define OMAP4430_CM_CORE_DVFS_PERF1 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0010)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600215#define OMAP4_CM_CORE_DVFS_PERF2_OFFSET 0x0014
Rajendra Nayak9b472672009-12-08 18:24:50 -0700216#define OMAP4430_CM_CORE_DVFS_PERF2 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0014)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600217#define OMAP4_CM_CORE_DVFS_PERF3_OFFSET 0x0018
Rajendra Nayak9b472672009-12-08 18:24:50 -0700218#define OMAP4430_CM_CORE_DVFS_PERF3 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0018)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600219#define OMAP4_CM_CORE_DVFS_PERF4_OFFSET 0x001c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700220#define OMAP4430_CM_CORE_DVFS_PERF4 OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x001c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600221#define OMAP4_CM_CORE_DVFS_CURRENT_OFFSET 0x0024
Rajendra Nayak9b472672009-12-08 18:24:50 -0700222#define OMAP4430_CM_CORE_DVFS_CURRENT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0024)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600223#define OMAP4_CM_IVA_DVFS_PERF_TESLA_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700224#define OMAP4430_CM_IVA_DVFS_PERF_TESLA OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0028)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600225#define OMAP4_CM_IVA_DVFS_PERF_IVAHD_OFFSET 0x002c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700226#define OMAP4430_CM_IVA_DVFS_PERF_IVAHD OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x002c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600227#define OMAP4_CM_IVA_DVFS_PERF_ABE_OFFSET 0x0030
Rajendra Nayak9b472672009-12-08 18:24:50 -0700228#define OMAP4430_CM_IVA_DVFS_PERF_ABE OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0030)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600229#define OMAP4_CM_IVA_DVFS_CURRENT_OFFSET 0x0038
Rajendra Nayak9b472672009-12-08 18:24:50 -0700230#define OMAP4430_CM_IVA_DVFS_CURRENT OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0038)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600231#define OMAP4_CM_CLKMODE_DPLL_PER_OFFSET 0x0040
Rajendra Nayak9b472672009-12-08 18:24:50 -0700232#define OMAP4430_CM_CLKMODE_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0040)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600233#define OMAP4_CM_IDLEST_DPLL_PER_OFFSET 0x0044
Rajendra Nayak9b472672009-12-08 18:24:50 -0700234#define OMAP4430_CM_IDLEST_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0044)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600235#define OMAP4_CM_AUTOIDLE_DPLL_PER_OFFSET 0x0048
Rajendra Nayak9b472672009-12-08 18:24:50 -0700236#define OMAP4430_CM_AUTOIDLE_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0048)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600237#define OMAP4_CM_CLKSEL_DPLL_PER_OFFSET 0x004c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700238#define OMAP4430_CM_CLKSEL_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x004c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600239#define OMAP4_CM_DIV_M2_DPLL_PER_OFFSET 0x0050
Rajendra Nayak9b472672009-12-08 18:24:50 -0700240#define OMAP4430_CM_DIV_M2_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0050)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600241#define OMAP4_CM_DIV_M3_DPLL_PER_OFFSET 0x0054
Rajendra Nayak9b472672009-12-08 18:24:50 -0700242#define OMAP4430_CM_DIV_M3_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0054)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600243#define OMAP4_CM_DIV_M4_DPLL_PER_OFFSET 0x0058
Rajendra Nayak9b472672009-12-08 18:24:50 -0700244#define OMAP4430_CM_DIV_M4_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0058)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600245#define OMAP4_CM_DIV_M5_DPLL_PER_OFFSET 0x005c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700246#define OMAP4430_CM_DIV_M5_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x005c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600247#define OMAP4_CM_DIV_M6_DPLL_PER_OFFSET 0x0060
Rajendra Nayak9b472672009-12-08 18:24:50 -0700248#define OMAP4430_CM_DIV_M6_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0060)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600249#define OMAP4_CM_DIV_M7_DPLL_PER_OFFSET 0x0064
Rajendra Nayak9b472672009-12-08 18:24:50 -0700250#define OMAP4430_CM_DIV_M7_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0064)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600251#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_PER_OFFSET 0x0068
Rajendra Nayak9b472672009-12-08 18:24:50 -0700252#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0068)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600253#define OMAP4_CM_SSC_MODFREQDIV_DPLL_PER_OFFSET 0x006c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700254#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x006c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600255#define OMAP4_CM_EMU_OVERRIDE_DPLL_PER_OFFSET 0x0070
Rajendra Nayak9b472672009-12-08 18:24:50 -0700256#define OMAP4430_CM_EMU_OVERRIDE_DPLL_PER OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0070)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600257#define OMAP4_CM_CLKMODE_DPLL_USB_OFFSET 0x0080
Rajendra Nayak9b472672009-12-08 18:24:50 -0700258#define OMAP4430_CM_CLKMODE_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0080)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600259#define OMAP4_CM_IDLEST_DPLL_USB_OFFSET 0x0084
Rajendra Nayak9b472672009-12-08 18:24:50 -0700260#define OMAP4430_CM_IDLEST_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0084)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600261#define OMAP4_CM_AUTOIDLE_DPLL_USB_OFFSET 0x0088
Rajendra Nayak9b472672009-12-08 18:24:50 -0700262#define OMAP4430_CM_AUTOIDLE_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0088)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600263#define OMAP4_CM_CLKSEL_DPLL_USB_OFFSET 0x008c
Rajendra Nayak9b472672009-12-08 18:24:50 -0700264#define OMAP4430_CM_CLKSEL_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x008c)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600265#define OMAP4_CM_DIV_M2_DPLL_USB_OFFSET 0x0090
Rajendra Nayak9b472672009-12-08 18:24:50 -0700266#define OMAP4430_CM_DIV_M2_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x0090)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600267#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_USB_OFFSET 0x00a8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700268#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00a8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600269#define OMAP4_CM_SSC_MODFREQDIV_DPLL_USB_OFFSET 0x00ac
Rajendra Nayak9b472672009-12-08 18:24:50 -0700270#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00ac)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600271#define OMAP4_CM_CLKDCOLDO_DPLL_USB_OFFSET 0x00b4
Rajendra Nayak9b472672009-12-08 18:24:50 -0700272#define OMAP4430_CM_CLKDCOLDO_DPLL_USB OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00b4)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600273#define OMAP4_CM_CLKMODE_DPLL_UNIPRO_OFFSET 0x00c0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700274#define OMAP4430_CM_CLKMODE_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00c0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600275#define OMAP4_CM_IDLEST_DPLL_UNIPRO_OFFSET 0x00c4
Rajendra Nayak9b472672009-12-08 18:24:50 -0700276#define OMAP4430_CM_IDLEST_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00c4)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600277#define OMAP4_CM_AUTOIDLE_DPLL_UNIPRO_OFFSET 0x00c8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700278#define OMAP4430_CM_AUTOIDLE_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00c8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600279#define OMAP4_CM_CLKSEL_DPLL_UNIPRO_OFFSET 0x00cc
Rajendra Nayak9b472672009-12-08 18:24:50 -0700280#define OMAP4430_CM_CLKSEL_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00cc)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600281#define OMAP4_CM_DIV_M2_DPLL_UNIPRO_OFFSET 0x00d0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700282#define OMAP4430_CM_DIV_M2_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00d0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600283#define OMAP4_CM_SSC_DELTAMSTEP_DPLL_UNIPRO_OFFSET 0x00e8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700284#define OMAP4430_CM_SSC_DELTAMSTEP_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00e8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600285#define OMAP4_CM_SSC_MODFREQDIV_DPLL_UNIPRO_OFFSET 0x00ec
Rajendra Nayak9b472672009-12-08 18:24:50 -0700286#define OMAP4430_CM_SSC_MODFREQDIV_DPLL_UNIPRO OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CKGEN_MOD, 0x00ec)
287
288/* CM2.ALWAYS_ON_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600289#define OMAP4_CM_ALWON_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700290#define OMAP4430_CM_ALWON_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600291#define OMAP4_CM_ALWON_MDMINTC_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700292#define OMAP4430_CM_ALWON_MDMINTC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600293#define OMAP4_CM_ALWON_SR_MPU_CLKCTRL_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700294#define OMAP4430_CM_ALWON_SR_MPU_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_MOD, 0x0028)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600295#define OMAP4_CM_ALWON_SR_IVA_CLKCTRL_OFFSET 0x0030
Rajendra Nayak9b472672009-12-08 18:24:50 -0700296#define OMAP4430_CM_ALWON_SR_IVA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_MOD, 0x0030)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600297#define OMAP4_CM_ALWON_SR_CORE_CLKCTRL_OFFSET 0x0038
Rajendra Nayak9b472672009-12-08 18:24:50 -0700298#define OMAP4430_CM_ALWON_SR_CORE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_ALWAYS_ON_MOD, 0x0038)
299
300/* CM2.CORE_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600301#define OMAP4_CM_L3_1_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700302#define OMAP4430_CM_L3_1_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600303#define OMAP4_CM_L3_1_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700304#define OMAP4430_CM_L3_1_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600305#define OMAP4_CM_L3_1_L3_1_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700306#define OMAP4430_CM_L3_1_L3_1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600307#define OMAP4_CM_L3_2_CLKSTCTRL_OFFSET 0x0100
Rajendra Nayak9b472672009-12-08 18:24:50 -0700308#define OMAP4430_CM_L3_2_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0100)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600309#define OMAP4_CM_L3_2_DYNAMICDEP_OFFSET 0x0108
Rajendra Nayak9b472672009-12-08 18:24:50 -0700310#define OMAP4430_CM_L3_2_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0108)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600311#define OMAP4_CM_L3_2_L3_2_CLKCTRL_OFFSET 0x0120
Rajendra Nayak9b472672009-12-08 18:24:50 -0700312#define OMAP4430_CM_L3_2_L3_2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0120)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600313#define OMAP4_CM_L3_2_GPMC_CLKCTRL_OFFSET 0x0128
Rajendra Nayak9b472672009-12-08 18:24:50 -0700314#define OMAP4430_CM_L3_2_GPMC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0128)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600315#define OMAP4_CM_L3_2_OCMC_RAM_CLKCTRL_OFFSET 0x0130
Rajendra Nayak9b472672009-12-08 18:24:50 -0700316#define OMAP4430_CM_L3_2_OCMC_RAM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0130)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600317#define OMAP4_CM_DUCATI_CLKSTCTRL_OFFSET 0x0200
Rajendra Nayak9b472672009-12-08 18:24:50 -0700318#define OMAP4430_CM_DUCATI_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0200)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600319#define OMAP4_CM_DUCATI_STATICDEP_OFFSET 0x0204
Rajendra Nayak9b472672009-12-08 18:24:50 -0700320#define OMAP4430_CM_DUCATI_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0204)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600321#define OMAP4_CM_DUCATI_DYNAMICDEP_OFFSET 0x0208
Rajendra Nayak9b472672009-12-08 18:24:50 -0700322#define OMAP4430_CM_DUCATI_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0208)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600323#define OMAP4_CM_DUCATI_DUCATI_CLKCTRL_OFFSET 0x0220
Rajendra Nayak9b472672009-12-08 18:24:50 -0700324#define OMAP4430_CM_DUCATI_DUCATI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0220)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600325#define OMAP4_CM_SDMA_CLKSTCTRL_OFFSET 0x0300
Rajendra Nayak9b472672009-12-08 18:24:50 -0700326#define OMAP4430_CM_SDMA_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0300)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600327#define OMAP4_CM_SDMA_STATICDEP_OFFSET 0x0304
Rajendra Nayak9b472672009-12-08 18:24:50 -0700328#define OMAP4430_CM_SDMA_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0304)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600329#define OMAP4_CM_SDMA_DYNAMICDEP_OFFSET 0x0308
Rajendra Nayak9b472672009-12-08 18:24:50 -0700330#define OMAP4430_CM_SDMA_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0308)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600331#define OMAP4_CM_SDMA_SDMA_CLKCTRL_OFFSET 0x0320
Rajendra Nayak9b472672009-12-08 18:24:50 -0700332#define OMAP4430_CM_SDMA_SDMA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0320)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600333#define OMAP4_CM_MEMIF_CLKSTCTRL_OFFSET 0x0400
Rajendra Nayak9b472672009-12-08 18:24:50 -0700334#define OMAP4430_CM_MEMIF_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0400)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600335#define OMAP4_CM_MEMIF_DMM_CLKCTRL_OFFSET 0x0420
Rajendra Nayak9b472672009-12-08 18:24:50 -0700336#define OMAP4430_CM_MEMIF_DMM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0420)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600337#define OMAP4_CM_MEMIF_EMIF_FW_CLKCTRL_OFFSET 0x0428
Rajendra Nayak9b472672009-12-08 18:24:50 -0700338#define OMAP4430_CM_MEMIF_EMIF_FW_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0428)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600339#define OMAP4_CM_MEMIF_EMIF_1_CLKCTRL_OFFSET 0x0430
Rajendra Nayak9b472672009-12-08 18:24:50 -0700340#define OMAP4430_CM_MEMIF_EMIF_1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0430)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600341#define OMAP4_CM_MEMIF_EMIF_2_CLKCTRL_OFFSET 0x0438
Rajendra Nayak9b472672009-12-08 18:24:50 -0700342#define OMAP4430_CM_MEMIF_EMIF_2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0438)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600343#define OMAP4_CM_MEMIF_DLL_CLKCTRL_OFFSET 0x0440
Rajendra Nayak9b472672009-12-08 18:24:50 -0700344#define OMAP4430_CM_MEMIF_DLL_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0440)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600345#define OMAP4_CM_MEMIF_EMIF_H1_CLKCTRL_OFFSET 0x0450
Rajendra Nayak9b472672009-12-08 18:24:50 -0700346#define OMAP4430_CM_MEMIF_EMIF_H1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0450)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600347#define OMAP4_CM_MEMIF_EMIF_H2_CLKCTRL_OFFSET 0x0458
Rajendra Nayak9b472672009-12-08 18:24:50 -0700348#define OMAP4430_CM_MEMIF_EMIF_H2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0458)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600349#define OMAP4_CM_MEMIF_DLL_H_CLKCTRL_OFFSET 0x0460
Rajendra Nayak9b472672009-12-08 18:24:50 -0700350#define OMAP4430_CM_MEMIF_DLL_H_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0460)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600351#define OMAP4_CM_D2D_CLKSTCTRL_OFFSET 0x0500
Rajendra Nayak9b472672009-12-08 18:24:50 -0700352#define OMAP4430_CM_D2D_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0500)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600353#define OMAP4_CM_D2D_STATICDEP_OFFSET 0x0504
Rajendra Nayak9b472672009-12-08 18:24:50 -0700354#define OMAP4430_CM_D2D_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0504)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600355#define OMAP4_CM_D2D_DYNAMICDEP_OFFSET 0x0508
Rajendra Nayak9b472672009-12-08 18:24:50 -0700356#define OMAP4430_CM_D2D_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0508)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600357#define OMAP4_CM_D2D_SAD2D_CLKCTRL_OFFSET 0x0520
Rajendra Nayak9b472672009-12-08 18:24:50 -0700358#define OMAP4430_CM_D2D_SAD2D_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0520)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600359#define OMAP4_CM_D2D_MODEM_ICR_CLKCTRL_OFFSET 0x0528
Rajendra Nayak9b472672009-12-08 18:24:50 -0700360#define OMAP4430_CM_D2D_MODEM_ICR_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0528)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600361#define OMAP4_CM_D2D_SAD2D_FW_CLKCTRL_OFFSET 0x0530
Rajendra Nayak9b472672009-12-08 18:24:50 -0700362#define OMAP4430_CM_D2D_SAD2D_FW_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0530)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600363#define OMAP4_CM_L4CFG_CLKSTCTRL_OFFSET 0x0600
Rajendra Nayak9b472672009-12-08 18:24:50 -0700364#define OMAP4430_CM_L4CFG_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0600)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600365#define OMAP4_CM_L4CFG_DYNAMICDEP_OFFSET 0x0608
Rajendra Nayak9b472672009-12-08 18:24:50 -0700366#define OMAP4430_CM_L4CFG_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0608)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600367#define OMAP4_CM_L4CFG_L4_CFG_CLKCTRL_OFFSET 0x0620
Rajendra Nayak9b472672009-12-08 18:24:50 -0700368#define OMAP4430_CM_L4CFG_L4_CFG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0620)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600369#define OMAP4_CM_L4CFG_HW_SEM_CLKCTRL_OFFSET 0x0628
Rajendra Nayak9b472672009-12-08 18:24:50 -0700370#define OMAP4430_CM_L4CFG_HW_SEM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0628)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600371#define OMAP4_CM_L4CFG_MAILBOX_CLKCTRL_OFFSET 0x0630
Rajendra Nayak9b472672009-12-08 18:24:50 -0700372#define OMAP4430_CM_L4CFG_MAILBOX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0630)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600373#define OMAP4_CM_L4CFG_SAR_ROM_CLKCTRL_OFFSET 0x0638
Rajendra Nayak9b472672009-12-08 18:24:50 -0700374#define OMAP4430_CM_L4CFG_SAR_ROM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0638)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600375#define OMAP4_CM_L3INSTR_CLKSTCTRL_OFFSET 0x0700
Rajendra Nayak9b472672009-12-08 18:24:50 -0700376#define OMAP4430_CM_L3INSTR_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0700)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600377#define OMAP4_CM_L3INSTR_L3_3_CLKCTRL_OFFSET 0x0720
Rajendra Nayak9b472672009-12-08 18:24:50 -0700378#define OMAP4430_CM_L3INSTR_L3_3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0720)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600379#define OMAP4_CM_L3INSTR_L3_INSTR_CLKCTRL_OFFSET 0x0728
Rajendra Nayak9b472672009-12-08 18:24:50 -0700380#define OMAP4430_CM_L3INSTR_L3_INSTR_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0728)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600381#define OMAP4_CM_L3INSTR_OCP_WP1_CLKCTRL_OFFSET 0x0740
Rajendra Nayak9b472672009-12-08 18:24:50 -0700382#define OMAP4430_CM_L3INSTR_OCP_WP1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CORE_MOD, 0x0740)
383
384/* CM2.IVAHD_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600385#define OMAP4_CM_IVAHD_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700386#define OMAP4430_CM_IVAHD_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600387#define OMAP4_CM_IVAHD_STATICDEP_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700388#define OMAP4430_CM_IVAHD_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600389#define OMAP4_CM_IVAHD_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700390#define OMAP4430_CM_IVAHD_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600391#define OMAP4_CM_IVAHD_IVAHD_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700392#define OMAP4430_CM_IVAHD_IVAHD_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600393#define OMAP4_CM_IVAHD_SL2_CLKCTRL_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700394#define OMAP4430_CM_IVAHD_SL2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_IVAHD_MOD, 0x0028)
395
396/* CM2.CAM_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600397#define OMAP4_CM_CAM_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700398#define OMAP4430_CM_CAM_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600399#define OMAP4_CM_CAM_STATICDEP_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700400#define OMAP4430_CM_CAM_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600401#define OMAP4_CM_CAM_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700402#define OMAP4430_CM_CAM_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600403#define OMAP4_CM_CAM_ISS_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700404#define OMAP4430_CM_CAM_ISS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600405#define OMAP4_CM_CAM_FDIF_CLKCTRL_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700406#define OMAP4430_CM_CAM_FDIF_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CAM_MOD, 0x0028)
407
408/* CM2.DSS_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600409#define OMAP4_CM_DSS_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700410#define OMAP4430_CM_DSS_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600411#define OMAP4_CM_DSS_STATICDEP_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700412#define OMAP4430_CM_DSS_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600413#define OMAP4_CM_DSS_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700414#define OMAP4430_CM_DSS_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600415#define OMAP4_CM_DSS_DSS_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700416#define OMAP4430_CM_DSS_DSS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600417#define OMAP4_CM_DSS_DEISS_CLKCTRL_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700418#define OMAP4430_CM_DSS_DEISS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_DSS_MOD, 0x0028)
419
420/* CM2.GFX_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600421#define OMAP4_CM_GFX_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700422#define OMAP4430_CM_GFX_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600423#define OMAP4_CM_GFX_STATICDEP_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700424#define OMAP4430_CM_GFX_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600425#define OMAP4_CM_GFX_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700426#define OMAP4430_CM_GFX_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600427#define OMAP4_CM_GFX_GFX_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700428#define OMAP4430_CM_GFX_GFX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_GFX_MOD, 0x0020)
429
430/* CM2.L3INIT_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600431#define OMAP4_CM_L3INIT_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700432#define OMAP4430_CM_L3INIT_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600433#define OMAP4_CM_L3INIT_STATICDEP_OFFSET 0x0004
Rajendra Nayak9b472672009-12-08 18:24:50 -0700434#define OMAP4430_CM_L3INIT_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0004)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600435#define OMAP4_CM_L3INIT_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700436#define OMAP4430_CM_L3INIT_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600437#define OMAP4_CM_L3INIT_MMC1_CLKCTRL_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700438#define OMAP4430_CM_L3INIT_MMC1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0028)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600439#define OMAP4_CM_L3INIT_MMC2_CLKCTRL_OFFSET 0x0030
Rajendra Nayak9b472672009-12-08 18:24:50 -0700440#define OMAP4430_CM_L3INIT_MMC2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0030)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600441#define OMAP4_CM_L3INIT_HSI_CLKCTRL_OFFSET 0x0038
Rajendra Nayak9b472672009-12-08 18:24:50 -0700442#define OMAP4430_CM_L3INIT_HSI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0038)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600443#define OMAP4_CM_L3INIT_UNIPRO1_CLKCTRL_OFFSET 0x0040
Rajendra Nayak9b472672009-12-08 18:24:50 -0700444#define OMAP4430_CM_L3INIT_UNIPRO1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0040)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600445#define OMAP4_CM_L3INIT_USB_HOST_CLKCTRL_OFFSET 0x0058
Rajendra Nayak9b472672009-12-08 18:24:50 -0700446#define OMAP4430_CM_L3INIT_USB_HOST_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0058)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600447#define OMAP4_CM_L3INIT_USB_OTG_CLKCTRL_OFFSET 0x0060
Rajendra Nayak9b472672009-12-08 18:24:50 -0700448#define OMAP4430_CM_L3INIT_USB_OTG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0060)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600449#define OMAP4_CM_L3INIT_USB_TLL_CLKCTRL_OFFSET 0x0068
Rajendra Nayak9b472672009-12-08 18:24:50 -0700450#define OMAP4430_CM_L3INIT_USB_TLL_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0068)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600451#define OMAP4_CM_L3INIT_P1500_CLKCTRL_OFFSET 0x0078
Rajendra Nayak9b472672009-12-08 18:24:50 -0700452#define OMAP4430_CM_L3INIT_P1500_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0078)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600453#define OMAP4_CM_L3INIT_EMAC_CLKCTRL_OFFSET 0x0080
Rajendra Nayak9b472672009-12-08 18:24:50 -0700454#define OMAP4430_CM_L3INIT_EMAC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0080)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600455#define OMAP4_CM_L3INIT_SATA_CLKCTRL_OFFSET 0x0088
Rajendra Nayak9b472672009-12-08 18:24:50 -0700456#define OMAP4430_CM_L3INIT_SATA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0088)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600457#define OMAP4_CM_L3INIT_TPPSS_CLKCTRL_OFFSET 0x0090
Rajendra Nayak9b472672009-12-08 18:24:50 -0700458#define OMAP4430_CM_L3INIT_TPPSS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0090)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600459#define OMAP4_CM_L3INIT_PCIESS_CLKCTRL_OFFSET 0x0098
Rajendra Nayak9b472672009-12-08 18:24:50 -0700460#define OMAP4430_CM_L3INIT_PCIESS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x0098)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600461#define OMAP4_CM_L3INIT_CCPTX_CLKCTRL_OFFSET 0x00a8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700462#define OMAP4430_CM_L3INIT_CCPTX_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x00a8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600463#define OMAP4_CM_L3INIT_XHPI_CLKCTRL_OFFSET 0x00c0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700464#define OMAP4430_CM_L3INIT_XHPI_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x00c0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600465#define OMAP4_CM_L3INIT_MMC6_CLKCTRL_OFFSET 0x00c8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700466#define OMAP4430_CM_L3INIT_MMC6_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x00c8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600467#define OMAP4_CM_L3INIT_USB_HOST_FS_CLKCTRL_OFFSET 0x00d0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700468#define OMAP4430_CM_L3INIT_USB_HOST_FS_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x00d0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600469#define OMAP4_CM_L3INIT_USBPHYOCP2SCP_CLKCTRL_OFFSET 0x00e0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700470#define OMAP4430_CM_L3INIT_USBPHYOCP2SCP_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L3INIT_MOD, 0x00e0)
471
472/* CM2.L4PER_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600473#define OMAP4_CM_L4PER_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700474#define OMAP4430_CM_L4PER_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600475#define OMAP4_CM_L4PER_DYNAMICDEP_OFFSET 0x0008
Rajendra Nayak9b472672009-12-08 18:24:50 -0700476#define OMAP4430_CM_L4PER_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0008)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600477#define OMAP4_CM_L4PER_ADC_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700478#define OMAP4430_CM_L4PER_ADC_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0020)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600479#define OMAP4_CM_L4PER_DMTIMER10_CLKCTRL_OFFSET 0x0028
Rajendra Nayak9b472672009-12-08 18:24:50 -0700480#define OMAP4430_CM_L4PER_DMTIMER10_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0028)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600481#define OMAP4_CM_L4PER_DMTIMER11_CLKCTRL_OFFSET 0x0030
Rajendra Nayak9b472672009-12-08 18:24:50 -0700482#define OMAP4430_CM_L4PER_DMTIMER11_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0030)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600483#define OMAP4_CM_L4PER_DMTIMER2_CLKCTRL_OFFSET 0x0038
Rajendra Nayak9b472672009-12-08 18:24:50 -0700484#define OMAP4430_CM_L4PER_DMTIMER2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0038)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600485#define OMAP4_CM_L4PER_DMTIMER3_CLKCTRL_OFFSET 0x0040
Rajendra Nayak9b472672009-12-08 18:24:50 -0700486#define OMAP4430_CM_L4PER_DMTIMER3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0040)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600487#define OMAP4_CM_L4PER_DMTIMER4_CLKCTRL_OFFSET 0x0048
Rajendra Nayak9b472672009-12-08 18:24:50 -0700488#define OMAP4430_CM_L4PER_DMTIMER4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0048)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600489#define OMAP4_CM_L4PER_DMTIMER9_CLKCTRL_OFFSET 0x0050
Rajendra Nayak9b472672009-12-08 18:24:50 -0700490#define OMAP4430_CM_L4PER_DMTIMER9_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0050)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600491#define OMAP4_CM_L4PER_ELM_CLKCTRL_OFFSET 0x0058
Rajendra Nayak9b472672009-12-08 18:24:50 -0700492#define OMAP4430_CM_L4PER_ELM_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0058)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600493#define OMAP4_CM_L4PER_GPIO2_CLKCTRL_OFFSET 0x0060
Rajendra Nayak9b472672009-12-08 18:24:50 -0700494#define OMAP4430_CM_L4PER_GPIO2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0060)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600495#define OMAP4_CM_L4PER_GPIO3_CLKCTRL_OFFSET 0x0068
Rajendra Nayak9b472672009-12-08 18:24:50 -0700496#define OMAP4430_CM_L4PER_GPIO3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0068)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600497#define OMAP4_CM_L4PER_GPIO4_CLKCTRL_OFFSET 0x0070
Rajendra Nayak9b472672009-12-08 18:24:50 -0700498#define OMAP4430_CM_L4PER_GPIO4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0070)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600499#define OMAP4_CM_L4PER_GPIO5_CLKCTRL_OFFSET 0x0078
Rajendra Nayak9b472672009-12-08 18:24:50 -0700500#define OMAP4430_CM_L4PER_GPIO5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0078)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600501#define OMAP4_CM_L4PER_GPIO6_CLKCTRL_OFFSET 0x0080
Rajendra Nayak9b472672009-12-08 18:24:50 -0700502#define OMAP4430_CM_L4PER_GPIO6_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0080)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600503#define OMAP4_CM_L4PER_HDQ1W_CLKCTRL_OFFSET 0x0088
Rajendra Nayak9b472672009-12-08 18:24:50 -0700504#define OMAP4430_CM_L4PER_HDQ1W_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0088)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600505#define OMAP4_CM_L4PER_HECC1_CLKCTRL_OFFSET 0x0090
Rajendra Nayak9b472672009-12-08 18:24:50 -0700506#define OMAP4430_CM_L4PER_HECC1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0090)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600507#define OMAP4_CM_L4PER_HECC2_CLKCTRL_OFFSET 0x0098
Rajendra Nayak9b472672009-12-08 18:24:50 -0700508#define OMAP4430_CM_L4PER_HECC2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0098)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600509#define OMAP4_CM_L4PER_I2C1_CLKCTRL_OFFSET 0x00a0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700510#define OMAP4430_CM_L4PER_I2C1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00a0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600511#define OMAP4_CM_L4PER_I2C2_CLKCTRL_OFFSET 0x00a8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700512#define OMAP4430_CM_L4PER_I2C2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00a8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600513#define OMAP4_CM_L4PER_I2C3_CLKCTRL_OFFSET 0x00b0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700514#define OMAP4430_CM_L4PER_I2C3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00b0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600515#define OMAP4_CM_L4PER_I2C4_CLKCTRL_OFFSET 0x00b8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700516#define OMAP4430_CM_L4PER_I2C4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00b8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600517#define OMAP4_CM_L4PER_L4PER_CLKCTRL_OFFSET 0x00c0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700518#define OMAP4430_CM_L4PER_L4PER_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00c0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600519#define OMAP4_CM_L4PER_MCASP2_CLKCTRL_OFFSET 0x00d0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700520#define OMAP4430_CM_L4PER_MCASP2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00d0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600521#define OMAP4_CM_L4PER_MCASP3_CLKCTRL_OFFSET 0x00d8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700522#define OMAP4430_CM_L4PER_MCASP3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00d8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600523#define OMAP4_CM_L4PER_MCBSP4_CLKCTRL_OFFSET 0x00e0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700524#define OMAP4430_CM_L4PER_MCBSP4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00e0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600525#define OMAP4_CM_L4PER_MGATE_CLKCTRL_OFFSET 0x00e8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700526#define OMAP4430_CM_L4PER_MGATE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00e8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600527#define OMAP4_CM_L4PER_MCSPI1_CLKCTRL_OFFSET 0x00f0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700528#define OMAP4430_CM_L4PER_MCSPI1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00f0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600529#define OMAP4_CM_L4PER_MCSPI2_CLKCTRL_OFFSET 0x00f8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700530#define OMAP4430_CM_L4PER_MCSPI2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x00f8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600531#define OMAP4_CM_L4PER_MCSPI3_CLKCTRL_OFFSET 0x0100
Rajendra Nayak9b472672009-12-08 18:24:50 -0700532#define OMAP4430_CM_L4PER_MCSPI3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0100)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600533#define OMAP4_CM_L4PER_MCSPI4_CLKCTRL_OFFSET 0x0108
Rajendra Nayak9b472672009-12-08 18:24:50 -0700534#define OMAP4430_CM_L4PER_MCSPI4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0108)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600535#define OMAP4_CM_L4PER_MMCSD3_CLKCTRL_OFFSET 0x0120
Rajendra Nayak9b472672009-12-08 18:24:50 -0700536#define OMAP4430_CM_L4PER_MMCSD3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0120)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600537#define OMAP4_CM_L4PER_MMCSD4_CLKCTRL_OFFSET 0x0128
Rajendra Nayak9b472672009-12-08 18:24:50 -0700538#define OMAP4430_CM_L4PER_MMCSD4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0128)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600539#define OMAP4_CM_L4PER_MSPROHG_CLKCTRL_OFFSET 0x0130
Rajendra Nayak9b472672009-12-08 18:24:50 -0700540#define OMAP4430_CM_L4PER_MSPROHG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0130)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600541#define OMAP4_CM_L4PER_SLIMBUS2_CLKCTRL_OFFSET 0x0138
Rajendra Nayak9b472672009-12-08 18:24:50 -0700542#define OMAP4430_CM_L4PER_SLIMBUS2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0138)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600543#define OMAP4_CM_L4PER_UART1_CLKCTRL_OFFSET 0x0140
Rajendra Nayak9b472672009-12-08 18:24:50 -0700544#define OMAP4430_CM_L4PER_UART1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0140)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600545#define OMAP4_CM_L4PER_UART2_CLKCTRL_OFFSET 0x0148
Rajendra Nayak9b472672009-12-08 18:24:50 -0700546#define OMAP4430_CM_L4PER_UART2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0148)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600547#define OMAP4_CM_L4PER_UART3_CLKCTRL_OFFSET 0x0150
Rajendra Nayak9b472672009-12-08 18:24:50 -0700548#define OMAP4430_CM_L4PER_UART3_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0150)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600549#define OMAP4_CM_L4PER_UART4_CLKCTRL_OFFSET 0x0158
Rajendra Nayak9b472672009-12-08 18:24:50 -0700550#define OMAP4430_CM_L4PER_UART4_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0158)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600551#define OMAP4_CM_L4PER_MMCSD5_CLKCTRL_OFFSET 0x0160
Rajendra Nayak9b472672009-12-08 18:24:50 -0700552#define OMAP4430_CM_L4PER_MMCSD5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0160)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600553#define OMAP4_CM_L4PER_I2C5_CLKCTRL_OFFSET 0x0168
Rajendra Nayak9b472672009-12-08 18:24:50 -0700554#define OMAP4430_CM_L4PER_I2C5_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0168)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600555#define OMAP4_CM_L4SEC_CLKSTCTRL_OFFSET 0x0180
Rajendra Nayak9b472672009-12-08 18:24:50 -0700556#define OMAP4430_CM_L4SEC_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0180)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600557#define OMAP4_CM_L4SEC_STATICDEP_OFFSET 0x0184
Rajendra Nayak9b472672009-12-08 18:24:50 -0700558#define OMAP4430_CM_L4SEC_STATICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0184)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600559#define OMAP4_CM_L4SEC_DYNAMICDEP_OFFSET 0x0188
Rajendra Nayak9b472672009-12-08 18:24:50 -0700560#define OMAP4430_CM_L4SEC_DYNAMICDEP OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x0188)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600561#define OMAP4_CM_L4SEC_AES1_CLKCTRL_OFFSET 0x01a0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700562#define OMAP4430_CM_L4SEC_AES1_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x01a0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600563#define OMAP4_CM_L4SEC_AES2_CLKCTRL_OFFSET 0x01a8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700564#define OMAP4430_CM_L4SEC_AES2_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x01a8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600565#define OMAP4_CM_L4SEC_DES3DES_CLKCTRL_OFFSET 0x01b0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700566#define OMAP4430_CM_L4SEC_DES3DES_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x01b0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600567#define OMAP4_CM_L4SEC_PKAEIP29_CLKCTRL_OFFSET 0x01b8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700568#define OMAP4430_CM_L4SEC_PKAEIP29_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x01b8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600569#define OMAP4_CM_L4SEC_RNG_CLKCTRL_OFFSET 0x01c0
Rajendra Nayak9b472672009-12-08 18:24:50 -0700570#define OMAP4430_CM_L4SEC_RNG_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x01c0)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600571#define OMAP4_CM_L4SEC_SHA2MD51_CLKCTRL_OFFSET 0x01c8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700572#define OMAP4430_CM_L4SEC_SHA2MD51_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x01c8)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600573#define OMAP4_CM_L4SEC_CRYPTODMA_CLKCTRL_OFFSET 0x01d8
Rajendra Nayak9b472672009-12-08 18:24:50 -0700574#define OMAP4430_CM_L4SEC_CRYPTODMA_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_L4PER_MOD, 0x01d8)
575
576/* CM2.CEFUSE_CM2 register offsets */
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600577#define OMAP4_CM_CEFUSE_CLKSTCTRL_OFFSET 0x0000
Rajendra Nayak9b472672009-12-08 18:24:50 -0700578#define OMAP4430_CM_CEFUSE_CLKSTCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CEFUSE_MOD, 0x0000)
Rajendra Nayakfe894d52010-05-20 12:31:12 -0600579#define OMAP4_CM_CEFUSE_CEFUSE_CLKCTRL_OFFSET 0x0020
Rajendra Nayak9b472672009-12-08 18:24:50 -0700580#define OMAP4430_CM_CEFUSE_CEFUSE_CLKCTRL OMAP44XX_CM2_REGADDR(OMAP4430_CM2_CEFUSE_MOD, 0x0020)
Rajendra Nayak9b472672009-12-08 18:24:50 -0700581#endif