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