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