blob: 304ac1c17360c2242970fd3d53dae4b53cf25724 [file] [log] [blame]
SRICHARAN Rfb6aa1f2013-02-04 04:22:00 +00001/*
2 *
3 * HW regs data for OMAP5 Soc
4 *
5 * (C) Copyright 2013
6 * Texas Instruments, <www.ti.com>
7 *
8 * Sricharan R <r.sricharan@ti.com>
9 *
Wolfgang Denkd79de1d2013-07-08 09:37:19 +020010 * SPDX-License-Identifier: GPL-2.0+
SRICHARAN Rfb6aa1f2013-02-04 04:22:00 +000011 */
12
13#include <asm/omap_common.h>
14
15struct prcm_regs const omap5_es1_prcm = {
16 /* cm1.ckgen */
17 .cm_clksel_core = 0x4a004100,
18 .cm_clksel_abe = 0x4a004108,
19 .cm_dll_ctrl = 0x4a004110,
20 .cm_clkmode_dpll_core = 0x4a004120,
21 .cm_idlest_dpll_core = 0x4a004124,
22 .cm_autoidle_dpll_core = 0x4a004128,
23 .cm_clksel_dpll_core = 0x4a00412c,
24 .cm_div_m2_dpll_core = 0x4a004130,
25 .cm_div_m3_dpll_core = 0x4a004134,
26 .cm_div_h11_dpll_core = 0x4a004138,
27 .cm_div_h12_dpll_core = 0x4a00413c,
28 .cm_div_h13_dpll_core = 0x4a004140,
29 .cm_div_h14_dpll_core = 0x4a004144,
30 .cm_ssc_deltamstep_dpll_core = 0x4a004148,
31 .cm_ssc_modfreqdiv_dpll_core = 0x4a00414c,
32 .cm_emu_override_dpll_core = 0x4a004150,
33 .cm_div_h22_dpllcore = 0x4a004154,
34 .cm_div_h23_dpll_core = 0x4a004158,
35 .cm_clkmode_dpll_mpu = 0x4a004160,
36 .cm_idlest_dpll_mpu = 0x4a004164,
37 .cm_autoidle_dpll_mpu = 0x4a004168,
38 .cm_clksel_dpll_mpu = 0x4a00416c,
39 .cm_div_m2_dpll_mpu = 0x4a004170,
40 .cm_ssc_deltamstep_dpll_mpu = 0x4a004188,
41 .cm_ssc_modfreqdiv_dpll_mpu = 0x4a00418c,
42 .cm_bypclk_dpll_mpu = 0x4a00419c,
43 .cm_clkmode_dpll_iva = 0x4a0041a0,
44 .cm_idlest_dpll_iva = 0x4a0041a4,
45 .cm_autoidle_dpll_iva = 0x4a0041a8,
46 .cm_clksel_dpll_iva = 0x4a0041ac,
47 .cm_div_h11_dpll_iva = 0x4a0041b8,
48 .cm_div_h12_dpll_iva = 0x4a0041bc,
49 .cm_ssc_deltamstep_dpll_iva = 0x4a0041c8,
50 .cm_ssc_modfreqdiv_dpll_iva = 0x4a0041cc,
51 .cm_bypclk_dpll_iva = 0x4a0041dc,
52 .cm_clkmode_dpll_abe = 0x4a0041e0,
53 .cm_idlest_dpll_abe = 0x4a0041e4,
54 .cm_autoidle_dpll_abe = 0x4a0041e8,
55 .cm_clksel_dpll_abe = 0x4a0041ec,
56 .cm_div_m2_dpll_abe = 0x4a0041f0,
57 .cm_div_m3_dpll_abe = 0x4a0041f4,
58 .cm_ssc_deltamstep_dpll_abe = 0x4a004208,
59 .cm_ssc_modfreqdiv_dpll_abe = 0x4a00420c,
60 .cm_clkmode_dpll_ddrphy = 0x4a004220,
61 .cm_idlest_dpll_ddrphy = 0x4a004224,
62 .cm_autoidle_dpll_ddrphy = 0x4a004228,
63 .cm_clksel_dpll_ddrphy = 0x4a00422c,
64 .cm_div_m2_dpll_ddrphy = 0x4a004230,
65 .cm_div_h11_dpll_ddrphy = 0x4a004238,
66 .cm_div_h12_dpll_ddrphy = 0x4a00423c,
67 .cm_div_h13_dpll_ddrphy = 0x4a004240,
68 .cm_ssc_deltamstep_dpll_ddrphy = 0x4a004248,
69 .cm_shadow_freq_config1 = 0x4a004260,
70 .cm_mpu_mpu_clkctrl = 0x4a004320,
71
72 /* cm1.dsp */
73 .cm_dsp_clkstctrl = 0x4a004400,
74 .cm_dsp_dsp_clkctrl = 0x4a004420,
75
76 /* cm1.abe */
77 .cm1_abe_clkstctrl = 0x4a004500,
78 .cm1_abe_l4abe_clkctrl = 0x4a004520,
79 .cm1_abe_aess_clkctrl = 0x4a004528,
80 .cm1_abe_pdm_clkctrl = 0x4a004530,
81 .cm1_abe_dmic_clkctrl = 0x4a004538,
82 .cm1_abe_mcasp_clkctrl = 0x4a004540,
83 .cm1_abe_mcbsp1_clkctrl = 0x4a004548,
84 .cm1_abe_mcbsp2_clkctrl = 0x4a004550,
85 .cm1_abe_mcbsp3_clkctrl = 0x4a004558,
86 .cm1_abe_slimbus_clkctrl = 0x4a004560,
87 .cm1_abe_timer5_clkctrl = 0x4a004568,
88 .cm1_abe_timer6_clkctrl = 0x4a004570,
89 .cm1_abe_timer7_clkctrl = 0x4a004578,
90 .cm1_abe_timer8_clkctrl = 0x4a004580,
91 .cm1_abe_wdt3_clkctrl = 0x4a004588,
92
93 /* cm2.ckgen */
94 .cm_clksel_mpu_m3_iss_root = 0x4a008100,
95 .cm_clksel_usb_60mhz = 0x4a008104,
96 .cm_scale_fclk = 0x4a008108,
97 .cm_core_dvfs_perf1 = 0x4a008110,
98 .cm_core_dvfs_perf2 = 0x4a008114,
99 .cm_core_dvfs_perf3 = 0x4a008118,
100 .cm_core_dvfs_perf4 = 0x4a00811c,
101 .cm_core_dvfs_current = 0x4a008124,
102 .cm_iva_dvfs_perf_tesla = 0x4a008128,
103 .cm_iva_dvfs_perf_ivahd = 0x4a00812c,
104 .cm_iva_dvfs_perf_abe = 0x4a008130,
105 .cm_iva_dvfs_current = 0x4a008138,
106 .cm_clkmode_dpll_per = 0x4a008140,
107 .cm_idlest_dpll_per = 0x4a008144,
108 .cm_autoidle_dpll_per = 0x4a008148,
109 .cm_clksel_dpll_per = 0x4a00814c,
110 .cm_div_m2_dpll_per = 0x4a008150,
111 .cm_div_m3_dpll_per = 0x4a008154,
112 .cm_div_h11_dpll_per = 0x4a008158,
113 .cm_div_h12_dpll_per = 0x4a00815c,
114 .cm_div_h14_dpll_per = 0x4a008164,
115 .cm_ssc_deltamstep_dpll_per = 0x4a008168,
116 .cm_ssc_modfreqdiv_dpll_per = 0x4a00816c,
117 .cm_emu_override_dpll_per = 0x4a008170,
118 .cm_clkmode_dpll_usb = 0x4a008180,
119 .cm_idlest_dpll_usb = 0x4a008184,
120 .cm_autoidle_dpll_usb = 0x4a008188,
121 .cm_clksel_dpll_usb = 0x4a00818c,
122 .cm_div_m2_dpll_usb = 0x4a008190,
123 .cm_ssc_deltamstep_dpll_usb = 0x4a0081a8,
124 .cm_ssc_modfreqdiv_dpll_usb = 0x4a0081ac,
125 .cm_clkdcoldo_dpll_usb = 0x4a0081b4,
126 .cm_clkmode_dpll_unipro = 0x4a0081c0,
127 .cm_idlest_dpll_unipro = 0x4a0081c4,
128 .cm_autoidle_dpll_unipro = 0x4a0081c8,
129 .cm_clksel_dpll_unipro = 0x4a0081cc,
130 .cm_div_m2_dpll_unipro = 0x4a0081d0,
131 .cm_ssc_deltamstep_dpll_unipro = 0x4a0081e8,
132 .cm_ssc_modfreqdiv_dpll_unipro = 0x4a0081ec,
133
134 /* cm2.core */
135 .cm_coreaon_bandgap_clkctrl = 0x4a008648,
Lokesh Vutla28049632013-02-12 01:33:45 +0000136 .cm_coreaon_io_srcomp_clkctrl = 0x4a008650,
SRICHARAN Rfb6aa1f2013-02-04 04:22:00 +0000137 .cm_l3_1_clkstctrl = 0x4a008700,
138 .cm_l3_1_dynamicdep = 0x4a008708,
139 .cm_l3_1_l3_1_clkctrl = 0x4a008720,
140 .cm_l3_2_clkstctrl = 0x4a008800,
141 .cm_l3_2_dynamicdep = 0x4a008808,
142 .cm_l3_2_l3_2_clkctrl = 0x4a008820,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000143 .cm_l3_gpmc_clkctrl = 0x4a008828,
SRICHARAN Rfb6aa1f2013-02-04 04:22:00 +0000144 .cm_l3_2_ocmc_ram_clkctrl = 0x4a008830,
145 .cm_mpu_m3_clkstctrl = 0x4a008900,
146 .cm_mpu_m3_staticdep = 0x4a008904,
147 .cm_mpu_m3_dynamicdep = 0x4a008908,
148 .cm_mpu_m3_mpu_m3_clkctrl = 0x4a008920,
149 .cm_sdma_clkstctrl = 0x4a008a00,
150 .cm_sdma_staticdep = 0x4a008a04,
151 .cm_sdma_dynamicdep = 0x4a008a08,
152 .cm_sdma_sdma_clkctrl = 0x4a008a20,
153 .cm_memif_clkstctrl = 0x4a008b00,
154 .cm_memif_dmm_clkctrl = 0x4a008b20,
155 .cm_memif_emif_fw_clkctrl = 0x4a008b28,
156 .cm_memif_emif_1_clkctrl = 0x4a008b30,
157 .cm_memif_emif_2_clkctrl = 0x4a008b38,
158 .cm_memif_dll_clkctrl = 0x4a008b40,
159 .cm_memif_emif_h1_clkctrl = 0x4a008b50,
160 .cm_memif_emif_h2_clkctrl = 0x4a008b58,
161 .cm_memif_dll_h_clkctrl = 0x4a008b60,
162 .cm_c2c_clkstctrl = 0x4a008c00,
163 .cm_c2c_staticdep = 0x4a008c04,
164 .cm_c2c_dynamicdep = 0x4a008c08,
165 .cm_c2c_sad2d_clkctrl = 0x4a008c20,
166 .cm_c2c_modem_icr_clkctrl = 0x4a008c28,
167 .cm_c2c_sad2d_fw_clkctrl = 0x4a008c30,
168 .cm_l4cfg_clkstctrl = 0x4a008d00,
169 .cm_l4cfg_dynamicdep = 0x4a008d08,
170 .cm_l4cfg_l4_cfg_clkctrl = 0x4a008d20,
171 .cm_l4cfg_hw_sem_clkctrl = 0x4a008d28,
172 .cm_l4cfg_mailbox_clkctrl = 0x4a008d30,
173 .cm_l4cfg_sar_rom_clkctrl = 0x4a008d38,
174 .cm_l3instr_clkstctrl = 0x4a008e00,
175 .cm_l3instr_l3_3_clkctrl = 0x4a008e20,
176 .cm_l3instr_l3_instr_clkctrl = 0x4a008e28,
177 .cm_l3instr_intrconn_wp1_clkctrl = 0x4a008e40,
178
179 /* cm2.ivahd */
180 .cm_ivahd_clkstctrl = 0x4a008f00,
181 .cm_ivahd_ivahd_clkctrl = 0x4a008f20,
182 .cm_ivahd_sl2_clkctrl = 0x4a008f28,
183
184 /* cm2.cam */
185 .cm_cam_clkstctrl = 0x4a009000,
186 .cm_cam_iss_clkctrl = 0x4a009020,
187 .cm_cam_fdif_clkctrl = 0x4a009028,
188
189 /* cm2.dss */
190 .cm_dss_clkstctrl = 0x4a009100,
191 .cm_dss_dss_clkctrl = 0x4a009120,
192
193 /* cm2.sgx */
194 .cm_sgx_clkstctrl = 0x4a009200,
195 .cm_sgx_sgx_clkctrl = 0x4a009220,
196
197 /* cm2.l3init */
198 .cm_l3init_clkstctrl = 0x4a009300,
199 .cm_l3init_hsmmc1_clkctrl = 0x4a009328,
200 .cm_l3init_hsmmc2_clkctrl = 0x4a009330,
201 .cm_l3init_hsi_clkctrl = 0x4a009338,
202 .cm_l3init_hsusbhost_clkctrl = 0x4a009358,
203 .cm_l3init_hsusbotg_clkctrl = 0x4a009360,
204 .cm_l3init_hsusbtll_clkctrl = 0x4a009368,
205 .cm_l3init_p1500_clkctrl = 0x4a009378,
206 .cm_l3init_fsusb_clkctrl = 0x4a0093d0,
207 .cm_l3init_ocp2scp1_clkctrl = 0x4a0093e0,
208
209 /* cm2.l4per */
210 .cm_l4per_clkstctrl = 0x4a009400,
211 .cm_l4per_dynamicdep = 0x4a009408,
212 .cm_l4per_adc_clkctrl = 0x4a009420,
213 .cm_l4per_gptimer10_clkctrl = 0x4a009428,
214 .cm_l4per_gptimer11_clkctrl = 0x4a009430,
215 .cm_l4per_gptimer2_clkctrl = 0x4a009438,
216 .cm_l4per_gptimer3_clkctrl = 0x4a009440,
217 .cm_l4per_gptimer4_clkctrl = 0x4a009448,
218 .cm_l4per_gptimer9_clkctrl = 0x4a009450,
219 .cm_l4per_elm_clkctrl = 0x4a009458,
220 .cm_l4per_gpio2_clkctrl = 0x4a009460,
221 .cm_l4per_gpio3_clkctrl = 0x4a009468,
222 .cm_l4per_gpio4_clkctrl = 0x4a009470,
223 .cm_l4per_gpio5_clkctrl = 0x4a009478,
224 .cm_l4per_gpio6_clkctrl = 0x4a009480,
225 .cm_l4per_hdq1w_clkctrl = 0x4a009488,
226 .cm_l4per_hecc1_clkctrl = 0x4a009490,
227 .cm_l4per_hecc2_clkctrl = 0x4a009498,
228 .cm_l4per_i2c1_clkctrl = 0x4a0094a0,
229 .cm_l4per_i2c2_clkctrl = 0x4a0094a8,
230 .cm_l4per_i2c3_clkctrl = 0x4a0094b0,
231 .cm_l4per_i2c4_clkctrl = 0x4a0094b8,
232 .cm_l4per_l4per_clkctrl = 0x4a0094c0,
233 .cm_l4per_mcasp2_clkctrl = 0x4a0094d0,
234 .cm_l4per_mcasp3_clkctrl = 0x4a0094d8,
235 .cm_l4per_mgate_clkctrl = 0x4a0094e8,
236 .cm_l4per_mcspi1_clkctrl = 0x4a0094f0,
237 .cm_l4per_mcspi2_clkctrl = 0x4a0094f8,
238 .cm_l4per_mcspi3_clkctrl = 0x4a009500,
239 .cm_l4per_mcspi4_clkctrl = 0x4a009508,
240 .cm_l4per_gpio7_clkctrl = 0x4a009510,
241 .cm_l4per_gpio8_clkctrl = 0x4a009518,
242 .cm_l4per_mmcsd3_clkctrl = 0x4a009520,
243 .cm_l4per_mmcsd4_clkctrl = 0x4a009528,
244 .cm_l4per_msprohg_clkctrl = 0x4a009530,
245 .cm_l4per_slimbus2_clkctrl = 0x4a009538,
246 .cm_l4per_uart1_clkctrl = 0x4a009540,
247 .cm_l4per_uart2_clkctrl = 0x4a009548,
248 .cm_l4per_uart3_clkctrl = 0x4a009550,
249 .cm_l4per_uart4_clkctrl = 0x4a009558,
250 .cm_l4per_mmcsd5_clkctrl = 0x4a009560,
251 .cm_l4per_i2c5_clkctrl = 0x4a009568,
252 .cm_l4per_uart5_clkctrl = 0x4a009570,
253 .cm_l4per_uart6_clkctrl = 0x4a009578,
254 .cm_l4sec_clkstctrl = 0x4a009580,
255 .cm_l4sec_staticdep = 0x4a009584,
256 .cm_l4sec_dynamicdep = 0x4a009588,
257 .cm_l4sec_aes1_clkctrl = 0x4a0095a0,
258 .cm_l4sec_aes2_clkctrl = 0x4a0095a8,
259 .cm_l4sec_des3des_clkctrl = 0x4a0095b0,
260 .cm_l4sec_pkaeip29_clkctrl = 0x4a0095b8,
261 .cm_l4sec_rng_clkctrl = 0x4a0095c0,
262 .cm_l4sec_sha2md51_clkctrl = 0x4a0095c8,
263 .cm_l4sec_cryptodma_clkctrl = 0x4a0095d8,
264
265 /* l4 wkup regs */
266 .cm_abe_pll_ref_clksel = 0x4ae0610c,
267 .cm_sys_clksel = 0x4ae06110,
268 .cm_wkup_clkstctrl = 0x4ae07800,
269 .cm_wkup_l4wkup_clkctrl = 0x4ae07820,
270 .cm_wkup_wdtimer1_clkctrl = 0x4ae07828,
271 .cm_wkup_wdtimer2_clkctrl = 0x4ae07830,
272 .cm_wkup_gpio1_clkctrl = 0x4ae07838,
273 .cm_wkup_gptimer1_clkctrl = 0x4ae07840,
274 .cm_wkup_gptimer12_clkctrl = 0x4ae07848,
275 .cm_wkup_synctimer_clkctrl = 0x4ae07850,
276 .cm_wkup_usim_clkctrl = 0x4ae07858,
277 .cm_wkup_sarram_clkctrl = 0x4ae07860,
278 .cm_wkup_keyboard_clkctrl = 0x4ae07878,
279 .cm_wkup_rtc_clkctrl = 0x4ae07880,
280 .cm_wkup_bandgap_clkctrl = 0x4ae07888,
281 .cm_wkupaon_scrm_clkctrl = 0x4ae07890,
Lokesh Vutla28049632013-02-12 01:33:45 +0000282 .cm_wkupaon_io_srcomp_clkctrl = 0x4ae07898,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000283 .prm_rstctrl = 0x4ae07b00,
284 .prm_rstst = 0x4ae07b04,
Lubomir Popov12464532013-05-26 10:03:17 +0000285 .prm_rsttime = 0x4ae07b08,
SRICHARAN Rfb6aa1f2013-02-04 04:22:00 +0000286 .prm_vc_val_bypass = 0x4ae07ba0,
287 .prm_vc_cfg_i2c_mode = 0x4ae07bb4,
288 .prm_vc_cfg_i2c_clk = 0x4ae07bb8,
Lubomir Popovc40c54b2013-05-15 04:41:01 +0000289
290 /* SCRM stuff, used by some boards */
291 .scrm_auxclk0 = 0x4ae0a310,
292 .scrm_auxclk1 = 0x4ae0a314,
SRICHARAN Rfb6aa1f2013-02-04 04:22:00 +0000293};
Lokesh Vutla834b6b02013-02-04 04:22:04 +0000294
295struct omap_sys_ctrl_regs const omap5_ctrl = {
296 .control_status = 0x4A002134,
Andrii Tseglytskyi84bd3252013-05-20 22:42:09 +0000297 .control_std_fuse_opp_vdd_mpu_2 = 0x4A0021B4,
Dan Murphy7f46b192013-08-26 08:54:50 -0500298 .control_phy_power_usb = 0x4A002370,
Lokesh Vutla37bce592013-05-30 02:54:30 +0000299 .control_padconf_core_base = 0x4A002800,
Lokesh Vutla834b6b02013-02-04 04:22:04 +0000300 .control_paconf_global = 0x4A002DA0,
301 .control_paconf_mode = 0x4A002DA4,
302 .control_smart1io_padconf_0 = 0x4A002DA8,
303 .control_smart1io_padconf_1 = 0x4A002DAC,
304 .control_smart1io_padconf_2 = 0x4A002DB0,
305 .control_smart2io_padconf_0 = 0x4A002DB4,
306 .control_smart2io_padconf_1 = 0x4A002DB8,
307 .control_smart2io_padconf_2 = 0x4A002DBC,
308 .control_smart3io_padconf_0 = 0x4A002DC0,
309 .control_smart3io_padconf_1 = 0x4A002DC4,
310 .control_pbias = 0x4A002E00,
311 .control_i2c_0 = 0x4A002E04,
312 .control_camera_rx = 0x4A002E08,
313 .control_hdmi_tx_phy = 0x4A002E0C,
314 .control_uniportm = 0x4A002E10,
315 .control_dsiphy = 0x4A002E14,
316 .control_mcbsplp = 0x4A002E18,
317 .control_usb2phycore = 0x4A002E1C,
318 .control_hdmi_1 = 0x4A002E20,
319 .control_hsi = 0x4A002E24,
320 .control_ddr3ch1_0 = 0x4A002E30,
321 .control_ddr3ch2_0 = 0x4A002E34,
322 .control_ddrch1_0 = 0x4A002E38,
323 .control_ddrch1_1 = 0x4A002E3C,
324 .control_ddrch2_0 = 0x4A002E40,
325 .control_ddrch2_1 = 0x4A002E44,
326 .control_lpddr2ch1_0 = 0x4A002E48,
327 .control_lpddr2ch1_1 = 0x4A002E4C,
328 .control_ddrio_0 = 0x4A002E50,
329 .control_ddrio_1 = 0x4A002E54,
330 .control_ddrio_2 = 0x4A002E58,
331 .control_hyst_1 = 0x4A002E5C,
332 .control_usbb_hsic_control = 0x4A002E60,
333 .control_c2c = 0x4A002E64,
334 .control_core_control_spare_rw = 0x4A002E68,
335 .control_core_control_spare_r = 0x4A002E6C,
336 .control_core_control_spare_r_c0 = 0x4A002E70,
337 .control_srcomp_north_side = 0x4A002E74,
338 .control_srcomp_south_side = 0x4A002E78,
339 .control_srcomp_east_side = 0x4A002E7C,
340 .control_srcomp_west_side = 0x4A002E80,
341 .control_srcomp_code_latch = 0x4A002E84,
342 .control_port_emif1_sdram_config = 0x4AE0C110,
343 .control_port_emif1_lpddr2_nvm_config = 0x4AE0C114,
344 .control_port_emif2_sdram_config = 0x4AE0C118,
345 .control_emif1_sdram_config_ext = 0x4AE0C144,
346 .control_emif2_sdram_config_ext = 0x4AE0C148,
Andrii Tseglytskyi84bd3252013-05-20 22:42:09 +0000347 .control_wkup_ldovbb_mpu_voltage_ctrl = 0x4AE0C318,
Lokesh Vutla37bce592013-05-30 02:54:30 +0000348 .control_padconf_wkup_base = 0x4AE0C800,
Lokesh Vutla834b6b02013-02-04 04:22:04 +0000349 .control_smart1nopmio_padconf_0 = 0x4AE0CDA0,
350 .control_smart1nopmio_padconf_1 = 0x4AE0CDA4,
351 .control_padconf_mode = 0x4AE0CDA8,
352 .control_xtal_oscillator = 0x4AE0CDAC,
353 .control_i2c_2 = 0x4AE0CDB0,
354 .control_ckobuffer = 0x4AE0CDB4,
355 .control_wkup_control_spare_rw = 0x4AE0CDB8,
356 .control_wkup_control_spare_r = 0x4AE0CDBC,
357 .control_wkup_control_spare_r_c0 = 0x4AE0CDC0,
358 .control_srcomp_east_side_wkup = 0x4AE0CDC4,
359 .control_efuse_1 = 0x4AE0CDC8,
360 .control_efuse_2 = 0x4AE0CDCC,
361 .control_efuse_3 = 0x4AE0CDD0,
362 .control_efuse_4 = 0x4AE0CDD4,
363 .control_efuse_5 = 0x4AE0CDD8,
364 .control_efuse_6 = 0x4AE0CDDC,
365 .control_efuse_7 = 0x4AE0CDE0,
366 .control_efuse_8 = 0x4AE0CDE4,
367 .control_efuse_9 = 0x4AE0CDE8,
368 .control_efuse_10 = 0x4AE0CDEC,
369 .control_efuse_11 = 0x4AE0CDF0,
370 .control_efuse_12 = 0x4AE0CDF4,
371 .control_efuse_13 = 0x4AE0CDF8,
372};
SRICHARAN R06ebff42013-02-12 01:33:42 +0000373
Lokesh Vutlaf120cef2013-02-12 21:29:06 +0000374struct omap_sys_ctrl_regs const dra7xx_ctrl = {
375 .control_status = 0x4A002134,
Mugunthan V Nab48f782013-07-08 16:04:41 +0530376 .control_core_mac_id_0_lo = 0x4A002514,
377 .control_core_mac_id_0_hi = 0x4A002518,
378 .control_core_mac_id_1_lo = 0x4A00251C,
379 .control_core_mac_id_1_hi = 0x4A002520,
Lokesh Vutlaf120cef2013-02-12 21:29:06 +0000380 .control_core_mmr_lock1 = 0x4A002540,
381 .control_core_mmr_lock2 = 0x4A002544,
382 .control_core_mmr_lock3 = 0x4A002548,
383 .control_core_mmr_lock4 = 0x4A00254C,
384 .control_core_mmr_lock5 = 0x4A002550,
385 .control_core_control_io1 = 0x4A002554,
386 .control_core_control_io2 = 0x4A002558,
387 .control_paconf_global = 0x4A002DA0,
388 .control_paconf_mode = 0x4A002DA4,
389 .control_smart1io_padconf_0 = 0x4A002DA8,
390 .control_smart1io_padconf_1 = 0x4A002DAC,
391 .control_smart1io_padconf_2 = 0x4A002DB0,
392 .control_smart2io_padconf_0 = 0x4A002DB4,
393 .control_smart2io_padconf_1 = 0x4A002DB8,
394 .control_smart2io_padconf_2 = 0x4A002DBC,
395 .control_smart3io_padconf_0 = 0x4A002DC0,
396 .control_smart3io_padconf_1 = 0x4A002DC4,
397 .control_pbias = 0x4A002E00,
398 .control_i2c_0 = 0x4A002E04,
399 .control_camera_rx = 0x4A002E08,
400 .control_hdmi_tx_phy = 0x4A002E0C,
401 .control_uniportm = 0x4A002E10,
402 .control_dsiphy = 0x4A002E14,
403 .control_mcbsplp = 0x4A002E18,
404 .control_usb2phycore = 0x4A002E1C,
405 .control_hdmi_1 = 0x4A002E20,
406 .control_hsi = 0x4A002E24,
407 .control_ddr3ch1_0 = 0x4A002E30,
408 .control_ddr3ch2_0 = 0x4A002E34,
409 .control_ddrch1_0 = 0x4A002E38,
410 .control_ddrch1_1 = 0x4A002E3C,
411 .control_ddrch2_0 = 0x4A002E40,
412 .control_ddrch2_1 = 0x4A002E44,
413 .control_lpddr2ch1_0 = 0x4A002E48,
414 .control_lpddr2ch1_1 = 0x4A002E4C,
415 .control_ddrio_0 = 0x4A002E50,
416 .control_ddrio_1 = 0x4A002E54,
417 .control_ddrio_2 = 0x4A002E58,
418 .control_hyst_1 = 0x4A002E5C,
419 .control_usbb_hsic_control = 0x4A002E60,
420 .control_c2c = 0x4A002E64,
421 .control_core_control_spare_rw = 0x4A002E68,
422 .control_core_control_spare_r = 0x4A002E6C,
423 .control_core_control_spare_r_c0 = 0x4A002E70,
424 .control_srcomp_north_side = 0x4A002E74,
425 .control_srcomp_south_side = 0x4A002E78,
426 .control_srcomp_east_side = 0x4A002E7C,
427 .control_srcomp_west_side = 0x4A002E80,
428 .control_srcomp_code_latch = 0x4A002E84,
Sricharan Rffa98182013-05-30 03:19:39 +0000429 .control_ddr_control_ext_0 = 0x4A002E88,
Lokesh Vutlaf120cef2013-02-12 21:29:06 +0000430 .control_padconf_core_base = 0x4A003400,
431 .control_port_emif1_sdram_config = 0x4AE0C110,
432 .control_port_emif1_lpddr2_nvm_config = 0x4AE0C114,
433 .control_port_emif2_sdram_config = 0x4AE0C118,
434 .control_emif1_sdram_config_ext = 0x4AE0C144,
435 .control_emif2_sdram_config_ext = 0x4AE0C148,
436 .control_padconf_mode = 0x4AE0C5A0,
437 .control_xtal_oscillator = 0x4AE0C5A4,
438 .control_i2c_2 = 0x4AE0C5A8,
439 .control_ckobuffer = 0x4AE0C5AC,
440 .control_wkup_control_spare_rw = 0x4AE0C5B0,
441 .control_wkup_control_spare_r = 0x4AE0C5B4,
442 .control_wkup_control_spare_r_c0 = 0x4AE0C5B8,
443 .control_srcomp_east_side_wkup = 0x4AE0C5BC,
444 .control_efuse_1 = 0x4AE0C5C0,
445 .control_efuse_2 = 0x4AE0C5C4,
446 .control_efuse_3 = 0x4AE0C5C8,
447 .control_efuse_4 = 0x4AE0C5CC,
448 .control_efuse_13 = 0x4AE0C5F0,
449};
450
SRICHARAN R06ebff42013-02-12 01:33:42 +0000451struct prcm_regs const omap5_es2_prcm = {
452 /* cm1.ckgen */
453 .cm_clksel_core = 0x4a004100,
454 .cm_clksel_abe = 0x4a004108,
455 .cm_dll_ctrl = 0x4a004110,
456 .cm_clkmode_dpll_core = 0x4a004120,
457 .cm_idlest_dpll_core = 0x4a004124,
458 .cm_autoidle_dpll_core = 0x4a004128,
459 .cm_clksel_dpll_core = 0x4a00412c,
460 .cm_div_m2_dpll_core = 0x4a004130,
461 .cm_div_m3_dpll_core = 0x4a004134,
462 .cm_div_h11_dpll_core = 0x4a004138,
463 .cm_div_h12_dpll_core = 0x4a00413c,
464 .cm_div_h13_dpll_core = 0x4a004140,
465 .cm_div_h14_dpll_core = 0x4a004144,
466 .cm_ssc_deltamstep_dpll_core = 0x4a004148,
467 .cm_ssc_modfreqdiv_dpll_core = 0x4a00414c,
468 .cm_div_h21_dpll_core = 0x4a004150,
469 .cm_div_h22_dpllcore = 0x4a004154,
470 .cm_div_h23_dpll_core = 0x4a004158,
471 .cm_div_h24_dpll_core = 0x4a00415c,
472 .cm_clkmode_dpll_mpu = 0x4a004160,
473 .cm_idlest_dpll_mpu = 0x4a004164,
474 .cm_autoidle_dpll_mpu = 0x4a004168,
475 .cm_clksel_dpll_mpu = 0x4a00416c,
476 .cm_div_m2_dpll_mpu = 0x4a004170,
477 .cm_ssc_deltamstep_dpll_mpu = 0x4a004188,
478 .cm_ssc_modfreqdiv_dpll_mpu = 0x4a00418c,
479 .cm_bypclk_dpll_mpu = 0x4a00419c,
480 .cm_clkmode_dpll_iva = 0x4a0041a0,
481 .cm_idlest_dpll_iva = 0x4a0041a4,
482 .cm_autoidle_dpll_iva = 0x4a0041a8,
483 .cm_clksel_dpll_iva = 0x4a0041ac,
484 .cm_div_h11_dpll_iva = 0x4a0041b8,
485 .cm_div_h12_dpll_iva = 0x4a0041bc,
486 .cm_ssc_deltamstep_dpll_iva = 0x4a0041c8,
487 .cm_ssc_modfreqdiv_dpll_iva = 0x4a0041cc,
488 .cm_bypclk_dpll_iva = 0x4a0041dc,
489 .cm_clkmode_dpll_abe = 0x4a0041e0,
490 .cm_idlest_dpll_abe = 0x4a0041e4,
491 .cm_autoidle_dpll_abe = 0x4a0041e8,
492 .cm_clksel_dpll_abe = 0x4a0041ec,
493 .cm_div_m2_dpll_abe = 0x4a0041f0,
494 .cm_div_m3_dpll_abe = 0x4a0041f4,
495 .cm_ssc_deltamstep_dpll_abe = 0x4a004208,
496 .cm_ssc_modfreqdiv_dpll_abe = 0x4a00420c,
497 .cm_clkmode_dpll_ddrphy = 0x4a004220,
498 .cm_idlest_dpll_ddrphy = 0x4a004224,
499 .cm_autoidle_dpll_ddrphy = 0x4a004228,
500 .cm_clksel_dpll_ddrphy = 0x4a00422c,
501 .cm_div_m2_dpll_ddrphy = 0x4a004230,
502 .cm_div_h11_dpll_ddrphy = 0x4a004238,
503 .cm_div_h12_dpll_ddrphy = 0x4a00423c,
504 .cm_div_h13_dpll_ddrphy = 0x4a004240,
505 .cm_ssc_deltamstep_dpll_ddrphy = 0x4a004248,
506 .cm_shadow_freq_config1 = 0x4a004260,
507 .cm_mpu_mpu_clkctrl = 0x4a004320,
508
509 /* cm1.dsp */
510 .cm_dsp_clkstctrl = 0x4a004400,
511 .cm_dsp_dsp_clkctrl = 0x4a004420,
512
513 /* cm1.abe */
514 .cm1_abe_clkstctrl = 0x4a004500,
515 .cm1_abe_l4abe_clkctrl = 0x4a004520,
516 .cm1_abe_aess_clkctrl = 0x4a004528,
517 .cm1_abe_pdm_clkctrl = 0x4a004530,
518 .cm1_abe_dmic_clkctrl = 0x4a004538,
519 .cm1_abe_mcasp_clkctrl = 0x4a004540,
520 .cm1_abe_mcbsp1_clkctrl = 0x4a004548,
521 .cm1_abe_mcbsp2_clkctrl = 0x4a004550,
522 .cm1_abe_mcbsp3_clkctrl = 0x4a004558,
523 .cm1_abe_slimbus_clkctrl = 0x4a004560,
524 .cm1_abe_timer5_clkctrl = 0x4a004568,
525 .cm1_abe_timer6_clkctrl = 0x4a004570,
526 .cm1_abe_timer7_clkctrl = 0x4a004578,
527 .cm1_abe_timer8_clkctrl = 0x4a004580,
528 .cm1_abe_wdt3_clkctrl = 0x4a004588,
529
SRICHARAN R06ebff42013-02-12 01:33:42 +0000530 /* cm2.ckgen */
531 .cm_clksel_mpu_m3_iss_root = 0x4a008100,
532 .cm_clksel_usb_60mhz = 0x4a008104,
533 .cm_scale_fclk = 0x4a008108,
534 .cm_core_dvfs_perf1 = 0x4a008110,
535 .cm_core_dvfs_perf2 = 0x4a008114,
536 .cm_core_dvfs_perf3 = 0x4a008118,
537 .cm_core_dvfs_perf4 = 0x4a00811c,
538 .cm_core_dvfs_current = 0x4a008124,
539 .cm_iva_dvfs_perf_tesla = 0x4a008128,
540 .cm_iva_dvfs_perf_ivahd = 0x4a00812c,
541 .cm_iva_dvfs_perf_abe = 0x4a008130,
542 .cm_iva_dvfs_current = 0x4a008138,
543 .cm_clkmode_dpll_per = 0x4a008140,
544 .cm_idlest_dpll_per = 0x4a008144,
545 .cm_autoidle_dpll_per = 0x4a008148,
546 .cm_clksel_dpll_per = 0x4a00814c,
547 .cm_div_m2_dpll_per = 0x4a008150,
548 .cm_div_m3_dpll_per = 0x4a008154,
549 .cm_div_h11_dpll_per = 0x4a008158,
550 .cm_div_h12_dpll_per = 0x4a00815c,
551 .cm_div_h13_dpll_per = 0x4a008160,
552 .cm_div_h14_dpll_per = 0x4a008164,
553 .cm_ssc_deltamstep_dpll_per = 0x4a008168,
554 .cm_ssc_modfreqdiv_dpll_per = 0x4a00816c,
555 .cm_emu_override_dpll_per = 0x4a008170,
556 .cm_clkmode_dpll_usb = 0x4a008180,
557 .cm_idlest_dpll_usb = 0x4a008184,
558 .cm_autoidle_dpll_usb = 0x4a008188,
559 .cm_clksel_dpll_usb = 0x4a00818c,
560 .cm_div_m2_dpll_usb = 0x4a008190,
561 .cm_ssc_deltamstep_dpll_usb = 0x4a0081a8,
562 .cm_ssc_modfreqdiv_dpll_usb = 0x4a0081ac,
563 .cm_clkdcoldo_dpll_usb = 0x4a0081b4,
564 .cm_clkmode_dpll_unipro = 0x4a0081c0,
565 .cm_idlest_dpll_unipro = 0x4a0081c4,
566 .cm_autoidle_dpll_unipro = 0x4a0081c8,
567 .cm_clksel_dpll_unipro = 0x4a0081cc,
568 .cm_div_m2_dpll_unipro = 0x4a0081d0,
569 .cm_ssc_deltamstep_dpll_unipro = 0x4a0081e8,
570 .cm_ssc_modfreqdiv_dpll_unipro = 0x4a0081ec,
Dan Murphy7f46b192013-08-26 08:54:50 -0500571 .cm_coreaon_usb_phy_core_clkctrl = 0x4A008640,
SRICHARAN R06ebff42013-02-12 01:33:42 +0000572 .cm_coreaon_bandgap_clkctrl = 0x4a008648,
Lokesh Vutla28049632013-02-12 01:33:45 +0000573 .cm_coreaon_io_srcomp_clkctrl = 0x4a008650,
SRICHARAN R06ebff42013-02-12 01:33:42 +0000574
575 /* cm2.core */
576 .cm_l3_1_clkstctrl = 0x4a008700,
577 .cm_l3_1_dynamicdep = 0x4a008708,
578 .cm_l3_1_l3_1_clkctrl = 0x4a008720,
579 .cm_l3_2_clkstctrl = 0x4a008800,
580 .cm_l3_2_dynamicdep = 0x4a008808,
581 .cm_l3_2_l3_2_clkctrl = 0x4a008820,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000582 .cm_l3_gpmc_clkctrl = 0x4a008828,
SRICHARAN R06ebff42013-02-12 01:33:42 +0000583 .cm_l3_2_ocmc_ram_clkctrl = 0x4a008830,
584 .cm_mpu_m3_clkstctrl = 0x4a008900,
585 .cm_mpu_m3_staticdep = 0x4a008904,
586 .cm_mpu_m3_dynamicdep = 0x4a008908,
587 .cm_mpu_m3_mpu_m3_clkctrl = 0x4a008920,
588 .cm_sdma_clkstctrl = 0x4a008a00,
589 .cm_sdma_staticdep = 0x4a008a04,
590 .cm_sdma_dynamicdep = 0x4a008a08,
591 .cm_sdma_sdma_clkctrl = 0x4a008a20,
592 .cm_memif_clkstctrl = 0x4a008b00,
593 .cm_memif_dmm_clkctrl = 0x4a008b20,
594 .cm_memif_emif_fw_clkctrl = 0x4a008b28,
595 .cm_memif_emif_1_clkctrl = 0x4a008b30,
596 .cm_memif_emif_2_clkctrl = 0x4a008b38,
597 .cm_memif_dll_clkctrl = 0x4a008b40,
598 .cm_memif_emif_h1_clkctrl = 0x4a008b50,
599 .cm_memif_emif_h2_clkctrl = 0x4a008b58,
600 .cm_memif_dll_h_clkctrl = 0x4a008b60,
601 .cm_c2c_clkstctrl = 0x4a008c00,
602 .cm_c2c_staticdep = 0x4a008c04,
603 .cm_c2c_dynamicdep = 0x4a008c08,
604 .cm_c2c_sad2d_clkctrl = 0x4a008c20,
605 .cm_c2c_modem_icr_clkctrl = 0x4a008c28,
606 .cm_c2c_sad2d_fw_clkctrl = 0x4a008c30,
607 .cm_l4cfg_clkstctrl = 0x4a008d00,
608 .cm_l4cfg_dynamicdep = 0x4a008d08,
609 .cm_l4cfg_l4_cfg_clkctrl = 0x4a008d20,
610 .cm_l4cfg_hw_sem_clkctrl = 0x4a008d28,
611 .cm_l4cfg_mailbox_clkctrl = 0x4a008d30,
612 .cm_l4cfg_sar_rom_clkctrl = 0x4a008d38,
613 .cm_l3instr_clkstctrl = 0x4a008e00,
614 .cm_l3instr_l3_3_clkctrl = 0x4a008e20,
615 .cm_l3instr_l3_instr_clkctrl = 0x4a008e28,
616 .cm_l3instr_intrconn_wp1_clkctrl = 0x4a008e40,
617 .cm_l4per_clkstctrl = 0x4a009000,
618 .cm_l4per_dynamicdep = 0x4a009008,
619 .cm_l4per_adc_clkctrl = 0x4a009020,
620 .cm_l4per_gptimer10_clkctrl = 0x4a009028,
621 .cm_l4per_gptimer11_clkctrl = 0x4a009030,
622 .cm_l4per_gptimer2_clkctrl = 0x4a009038,
623 .cm_l4per_gptimer3_clkctrl = 0x4a009040,
624 .cm_l4per_gptimer4_clkctrl = 0x4a009048,
625 .cm_l4per_gptimer9_clkctrl = 0x4a009050,
626 .cm_l4per_elm_clkctrl = 0x4a009058,
627 .cm_l4per_gpio2_clkctrl = 0x4a009060,
628 .cm_l4per_gpio3_clkctrl = 0x4a009068,
629 .cm_l4per_gpio4_clkctrl = 0x4a009070,
630 .cm_l4per_gpio5_clkctrl = 0x4a009078,
631 .cm_l4per_gpio6_clkctrl = 0x4a009080,
632 .cm_l4per_hdq1w_clkctrl = 0x4a009088,
633 .cm_l4per_hecc1_clkctrl = 0x4a009090,
634 .cm_l4per_hecc2_clkctrl = 0x4a009098,
635 .cm_l4per_i2c1_clkctrl = 0x4a0090a0,
636 .cm_l4per_i2c2_clkctrl = 0x4a0090a8,
637 .cm_l4per_i2c3_clkctrl = 0x4a0090b0,
638 .cm_l4per_i2c4_clkctrl = 0x4a0090b8,
639 .cm_l4per_l4per_clkctrl = 0x4a0090c0,
640 .cm_l4per_mcasp2_clkctrl = 0x4a0090d0,
641 .cm_l4per_mcasp3_clkctrl = 0x4a0090d8,
642 .cm_l4per_mgate_clkctrl = 0x4a0090e8,
643 .cm_l4per_mcspi1_clkctrl = 0x4a0090f0,
644 .cm_l4per_mcspi2_clkctrl = 0x4a0090f8,
645 .cm_l4per_mcspi3_clkctrl = 0x4a009100,
646 .cm_l4per_mcspi4_clkctrl = 0x4a009108,
647 .cm_l4per_gpio7_clkctrl = 0x4a009110,
648 .cm_l4per_gpio8_clkctrl = 0x4a009118,
649 .cm_l4per_mmcsd3_clkctrl = 0x4a009120,
650 .cm_l4per_mmcsd4_clkctrl = 0x4a009128,
651 .cm_l4per_msprohg_clkctrl = 0x4a009130,
652 .cm_l4per_slimbus2_clkctrl = 0x4a009138,
653 .cm_l4per_uart1_clkctrl = 0x4a009140,
654 .cm_l4per_uart2_clkctrl = 0x4a009148,
655 .cm_l4per_uart3_clkctrl = 0x4a009150,
656 .cm_l4per_uart4_clkctrl = 0x4a009158,
657 .cm_l4per_mmcsd5_clkctrl = 0x4a009160,
658 .cm_l4per_i2c5_clkctrl = 0x4a009168,
659 .cm_l4per_uart5_clkctrl = 0x4a009170,
660 .cm_l4per_uart6_clkctrl = 0x4a009178,
661 .cm_l4sec_clkstctrl = 0x4a009180,
662 .cm_l4sec_staticdep = 0x4a009184,
663 .cm_l4sec_dynamicdep = 0x4a009188,
664 .cm_l4sec_aes1_clkctrl = 0x4a0091a0,
665 .cm_l4sec_aes2_clkctrl = 0x4a0091a8,
666 .cm_l4sec_des3des_clkctrl = 0x4a0091b0,
667 .cm_l4sec_pkaeip29_clkctrl = 0x4a0091b8,
668 .cm_l4sec_rng_clkctrl = 0x4a0091c0,
669 .cm_l4sec_sha2md51_clkctrl = 0x4a0091c8,
670 .cm_l4sec_cryptodma_clkctrl = 0x4a0091d8,
671
672 /* cm2.ivahd */
673 .cm_ivahd_clkstctrl = 0x4a009200,
674 .cm_ivahd_ivahd_clkctrl = 0x4a009220,
675 .cm_ivahd_sl2_clkctrl = 0x4a009228,
676
677 /* cm2.cam */
678 .cm_cam_clkstctrl = 0x4a009300,
679 .cm_cam_iss_clkctrl = 0x4a009320,
680 .cm_cam_fdif_clkctrl = 0x4a009328,
681
682 /* cm2.dss */
683 .cm_dss_clkstctrl = 0x4a009400,
684 .cm_dss_dss_clkctrl = 0x4a009420,
685
686 /* cm2.sgx */
687 .cm_sgx_clkstctrl = 0x4a009500,
688 .cm_sgx_sgx_clkctrl = 0x4a009520,
689
690 /* cm2.l3init */
691 .cm_l3init_clkstctrl = 0x4a009600,
692
693 /* cm2.l3init */
694 .cm_l3init_hsmmc1_clkctrl = 0x4a009628,
695 .cm_l3init_hsmmc2_clkctrl = 0x4a009630,
696 .cm_l3init_hsi_clkctrl = 0x4a009638,
697 .cm_l3init_hsusbhost_clkctrl = 0x4a009658,
698 .cm_l3init_hsusbotg_clkctrl = 0x4a009660,
699 .cm_l3init_hsusbtll_clkctrl = 0x4a009668,
700 .cm_l3init_p1500_clkctrl = 0x4a009678,
701 .cm_l3init_fsusb_clkctrl = 0x4a0096d0,
702 .cm_l3init_ocp2scp1_clkctrl = 0x4a0096e0,
Dan Murphy7f46b192013-08-26 08:54:50 -0500703 .cm_l3init_ocp2scp3_clkctrl = 0x4a0096e8,
704 .cm_l3init_usb_otg_ss_clkctrl = 0x4a0096f0,
SRICHARAN R06ebff42013-02-12 01:33:42 +0000705
Andrii Tseglytskyi84bd3252013-05-20 22:42:09 +0000706 /* prm irqstatus regs */
707 .prm_irqstatus_mpu_2 = 0x4ae06014,
708
SRICHARAN R06ebff42013-02-12 01:33:42 +0000709 /* l4 wkup regs */
710 .cm_abe_pll_ref_clksel = 0x4ae0610c,
711 .cm_sys_clksel = 0x4ae06110,
712 .cm_wkup_clkstctrl = 0x4ae07900,
713 .cm_wkup_l4wkup_clkctrl = 0x4ae07920,
714 .cm_wkup_wdtimer1_clkctrl = 0x4ae07928,
715 .cm_wkup_wdtimer2_clkctrl = 0x4ae07930,
716 .cm_wkup_gpio1_clkctrl = 0x4ae07938,
717 .cm_wkup_gptimer1_clkctrl = 0x4ae07940,
718 .cm_wkup_gptimer12_clkctrl = 0x4ae07948,
719 .cm_wkup_synctimer_clkctrl = 0x4ae07950,
720 .cm_wkup_usim_clkctrl = 0x4ae07958,
721 .cm_wkup_sarram_clkctrl = 0x4ae07960,
722 .cm_wkup_keyboard_clkctrl = 0x4ae07978,
723 .cm_wkup_rtc_clkctrl = 0x4ae07980,
724 .cm_wkup_bandgap_clkctrl = 0x4ae07988,
725 .cm_wkupaon_scrm_clkctrl = 0x4ae07990,
Lokesh Vutla28049632013-02-12 01:33:45 +0000726 .cm_wkupaon_io_srcomp_clkctrl = 0x4ae07998,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000727 .prm_rstctrl = 0x4ae07c00,
728 .prm_rstst = 0x4ae07c04,
Lokesh Vutla100c2d82013-04-17 20:49:40 +0000729 .prm_rsttime = 0x4ae07c08,
SRICHARAN R06ebff42013-02-12 01:33:42 +0000730 .prm_vc_val_bypass = 0x4ae07ca0,
731 .prm_vc_cfg_i2c_mode = 0x4ae07cb4,
732 .prm_vc_cfg_i2c_clk = 0x4ae07cb8,
733
Andrii Tseglytskyi84bd3252013-05-20 22:42:09 +0000734 .prm_abbldo_mpu_setup = 0x4ae07cdc,
735 .prm_abbldo_mpu_ctrl = 0x4ae07ce0,
Lubomir Popovc40c54b2013-05-15 04:41:01 +0000736
737 /* SCRM stuff, used by some boards */
738 .scrm_auxclk0 = 0x4ae0a310,
739 .scrm_auxclk1 = 0x4ae0a314,
SRICHARAN R06ebff42013-02-12 01:33:42 +0000740};
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000741
742struct prcm_regs const dra7xx_prcm = {
743 /* cm1.ckgen */
744 .cm_clksel_core = 0x4a005100,
745 .cm_clksel_abe = 0x4a005108,
746 .cm_dll_ctrl = 0x4a005110,
747 .cm_clkmode_dpll_core = 0x4a005120,
748 .cm_idlest_dpll_core = 0x4a005124,
749 .cm_autoidle_dpll_core = 0x4a005128,
750 .cm_clksel_dpll_core = 0x4a00512c,
751 .cm_div_m2_dpll_core = 0x4a005130,
752 .cm_div_m3_dpll_core = 0x4a005134,
753 .cm_div_h11_dpll_core = 0x4a005138,
754 .cm_div_h12_dpll_core = 0x4a00513c,
755 .cm_div_h13_dpll_core = 0x4a005140,
756 .cm_div_h14_dpll_core = 0x4a005144,
757 .cm_ssc_deltamstep_dpll_core = 0x4a005148,
758 .cm_ssc_modfreqdiv_dpll_core = 0x4a00514c,
759 .cm_div_h21_dpll_core = 0x4a005150,
760 .cm_div_h22_dpllcore = 0x4a005154,
761 .cm_div_h23_dpll_core = 0x4a005158,
762 .cm_div_h24_dpll_core = 0x4a00515c,
763 .cm_clkmode_dpll_mpu = 0x4a005160,
764 .cm_idlest_dpll_mpu = 0x4a005164,
765 .cm_autoidle_dpll_mpu = 0x4a005168,
766 .cm_clksel_dpll_mpu = 0x4a00516c,
767 .cm_div_m2_dpll_mpu = 0x4a005170,
768 .cm_ssc_deltamstep_dpll_mpu = 0x4a005188,
769 .cm_ssc_modfreqdiv_dpll_mpu = 0x4a00518c,
770 .cm_bypclk_dpll_mpu = 0x4a00519c,
771 .cm_clkmode_dpll_iva = 0x4a0051a0,
772 .cm_idlest_dpll_iva = 0x4a0051a4,
773 .cm_autoidle_dpll_iva = 0x4a0051a8,
774 .cm_clksel_dpll_iva = 0x4a0051ac,
775 .cm_ssc_deltamstep_dpll_iva = 0x4a0051c8,
776 .cm_ssc_modfreqdiv_dpll_iva = 0x4a0051cc,
777 .cm_bypclk_dpll_iva = 0x4a0051dc,
778 .cm_clkmode_dpll_abe = 0x4a0051e0,
779 .cm_idlest_dpll_abe = 0x4a0051e4,
780 .cm_autoidle_dpll_abe = 0x4a0051e8,
781 .cm_clksel_dpll_abe = 0x4a0051ec,
782 .cm_div_m2_dpll_abe = 0x4a0051f0,
783 .cm_div_m3_dpll_abe = 0x4a0051f4,
784 .cm_ssc_deltamstep_dpll_abe = 0x4a005208,
785 .cm_ssc_modfreqdiv_dpll_abe = 0x4a00520c,
786 .cm_clkmode_dpll_ddrphy = 0x4a005210,
787 .cm_idlest_dpll_ddrphy = 0x4a005214,
788 .cm_autoidle_dpll_ddrphy = 0x4a005218,
789 .cm_clksel_dpll_ddrphy = 0x4a00521c,
790 .cm_div_m2_dpll_ddrphy = 0x4a005220,
791 .cm_div_h11_dpll_ddrphy = 0x4a005228,
792 .cm_ssc_deltamstep_dpll_ddrphy = 0x4a00522c,
793 .cm_clkmode_dpll_dsp = 0x4a005234,
794 .cm_shadow_freq_config1 = 0x4a005260,
Lokesh Vutlaadc52df2013-07-08 16:04:39 +0530795 .cm_clkmode_dpll_gmac = 0x4a0052a8,
Dan Murphy69521c12013-10-11 12:28:17 -0500796 .cm_coreaon_usb_phy2_core_clkctrl = 0x4a008688,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000797
798 /* cm1.mpu */
799 .cm_mpu_mpu_clkctrl = 0x4a005320,
800
801 /* cm1.dsp */
802 .cm_dsp_clkstctrl = 0x4a005400,
803 .cm_dsp_dsp_clkctrl = 0x4a005420,
804
805 /* cm2.ckgen */
806 .cm_clksel_usb_60mhz = 0x4a008104,
807 .cm_clkmode_dpll_per = 0x4a008140,
808 .cm_idlest_dpll_per = 0x4a008144,
809 .cm_autoidle_dpll_per = 0x4a008148,
810 .cm_clksel_dpll_per = 0x4a00814c,
811 .cm_div_m2_dpll_per = 0x4a008150,
812 .cm_div_m3_dpll_per = 0x4a008154,
813 .cm_div_h11_dpll_per = 0x4a008158,
814 .cm_div_h12_dpll_per = 0x4a00815c,
815 .cm_div_h13_dpll_per = 0x4a008160,
816 .cm_div_h14_dpll_per = 0x4a008164,
817 .cm_ssc_deltamstep_dpll_per = 0x4a008168,
818 .cm_ssc_modfreqdiv_dpll_per = 0x4a00816c,
819 .cm_clkmode_dpll_usb = 0x4a008180,
820 .cm_idlest_dpll_usb = 0x4a008184,
821 .cm_autoidle_dpll_usb = 0x4a008188,
822 .cm_clksel_dpll_usb = 0x4a00818c,
823 .cm_div_m2_dpll_usb = 0x4a008190,
824 .cm_ssc_deltamstep_dpll_usb = 0x4a0081a8,
825 .cm_ssc_modfreqdiv_dpll_usb = 0x4a0081ac,
826 .cm_clkdcoldo_dpll_usb = 0x4a0081b4,
827 .cm_clkmode_dpll_pcie_ref = 0x4a008200,
828 .cm_clkmode_apll_pcie = 0x4a00821c,
829 .cm_idlest_apll_pcie = 0x4a008220,
830 .cm_div_m2_apll_pcie = 0x4a008224,
831 .cm_clkvcoldo_apll_pcie = 0x4a008228,
832
833 /* cm2.core */
834 .cm_l3_1_clkstctrl = 0x4a008700,
835 .cm_l3_1_dynamicdep = 0x4a008708,
836 .cm_l3_1_l3_1_clkctrl = 0x4a008720,
837 .cm_l3_gpmc_clkctrl = 0x4a008728,
838 .cm_mpu_m3_clkstctrl = 0x4a008900,
839 .cm_mpu_m3_staticdep = 0x4a008904,
840 .cm_mpu_m3_dynamicdep = 0x4a008908,
841 .cm_mpu_m3_mpu_m3_clkctrl = 0x4a008920,
842 .cm_sdma_clkstctrl = 0x4a008a00,
843 .cm_sdma_staticdep = 0x4a008a04,
844 .cm_sdma_dynamicdep = 0x4a008a08,
845 .cm_sdma_sdma_clkctrl = 0x4a008a20,
846 .cm_memif_clkstctrl = 0x4a008b00,
847 .cm_memif_dmm_clkctrl = 0x4a008b20,
848 .cm_memif_emif_fw_clkctrl = 0x4a008b28,
849 .cm_memif_emif_1_clkctrl = 0x4a008b30,
850 .cm_memif_emif_2_clkctrl = 0x4a008b38,
851 .cm_memif_dll_clkctrl = 0x4a008b40,
852 .cm_l4cfg_clkstctrl = 0x4a008d00,
853 .cm_l4cfg_dynamicdep = 0x4a008d08,
854 .cm_l4cfg_l4_cfg_clkctrl = 0x4a008d20,
855 .cm_l4cfg_hw_sem_clkctrl = 0x4a008d28,
856 .cm_l4cfg_mailbox_clkctrl = 0x4a008d30,
857 .cm_l4cfg_sar_rom_clkctrl = 0x4a008d38,
858 .cm_l3instr_clkstctrl = 0x4a008e00,
859 .cm_l3instr_l3_3_clkctrl = 0x4a008e20,
860 .cm_l3instr_l3_instr_clkctrl = 0x4a008e28,
861 .cm_l3instr_intrconn_wp1_clkctrl = 0x4a008e40,
862
863 /* cm2.ivahd */
864 .cm_ivahd_clkstctrl = 0x4a008f00,
865 .cm_ivahd_ivahd_clkctrl = 0x4a008f20,
866 .cm_ivahd_sl2_clkctrl = 0x4a008f28,
867
868 /* cm2.cam */
869 .cm_cam_clkstctrl = 0x4a009000,
870 .cm_cam_vip1_clkctrl = 0x4a009020,
871 .cm_cam_vip2_clkctrl = 0x4a009028,
872 .cm_cam_vip3_clkctrl = 0x4a009030,
873 .cm_cam_lvdsrx_clkctrl = 0x4a009038,
874 .cm_cam_csi1_clkctrl = 0x4a009040,
875 .cm_cam_csi2_clkctrl = 0x4a009048,
876
877 /* cm2.dss */
878 .cm_dss_clkstctrl = 0x4a009100,
879 .cm_dss_dss_clkctrl = 0x4a009120,
880
881 /* cm2.sgx */
882 .cm_sgx_clkstctrl = 0x4a009200,
883 .cm_sgx_sgx_clkctrl = 0x4a009220,
884
885 /* cm2.l3init */
886 .cm_l3init_clkstctrl = 0x4a009300,
887
888 /* cm2.l3init */
889 .cm_l3init_hsmmc1_clkctrl = 0x4a009328,
890 .cm_l3init_hsmmc2_clkctrl = 0x4a009330,
891 .cm_l3init_hsusbhost_clkctrl = 0x4a009340,
892 .cm_l3init_hsusbotg_clkctrl = 0x4a009348,
893 .cm_l3init_hsusbtll_clkctrl = 0x4a009350,
Mugunthan V N4a42ff12013-07-08 16:04:40 +0530894 .cm_gmac_clkstctrl = 0x4a0093c0,
895 .cm_gmac_gmac_clkctrl = 0x4a0093d0,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000896 .cm_l3init_ocp2scp1_clkctrl = 0x4a0093e0,
897
898 /* cm2.l4per */
899 .cm_l4per_clkstctrl = 0x4a009700,
900 .cm_l4per_dynamicdep = 0x4a009708,
901 .cm_l4per_gptimer10_clkctrl = 0x4a009728,
902 .cm_l4per_gptimer11_clkctrl = 0x4a009730,
903 .cm_l4per_gptimer2_clkctrl = 0x4a009738,
904 .cm_l4per_gptimer3_clkctrl = 0x4a009740,
905 .cm_l4per_gptimer4_clkctrl = 0x4a009748,
906 .cm_l4per_gptimer9_clkctrl = 0x4a009750,
907 .cm_l4per_elm_clkctrl = 0x4a009758,
908 .cm_l4per_gpio2_clkctrl = 0x4a009760,
909 .cm_l4per_gpio3_clkctrl = 0x4a009768,
910 .cm_l4per_gpio4_clkctrl = 0x4a009770,
911 .cm_l4per_gpio5_clkctrl = 0x4a009778,
912 .cm_l4per_gpio6_clkctrl = 0x4a009780,
913 .cm_l4per_hdq1w_clkctrl = 0x4a009788,
914 .cm_l4per_i2c1_clkctrl = 0x4a0097a0,
915 .cm_l4per_i2c2_clkctrl = 0x4a0097a8,
916 .cm_l4per_i2c3_clkctrl = 0x4a0097b0,
917 .cm_l4per_i2c4_clkctrl = 0x4a0097b8,
918 .cm_l4per_l4per_clkctrl = 0x4a0097c0,
919 .cm_l4per_mcspi1_clkctrl = 0x4a0097f0,
920 .cm_l4per_mcspi2_clkctrl = 0x4a0097f8,
921 .cm_l4per_mcspi3_clkctrl = 0x4a009800,
922 .cm_l4per_mcspi4_clkctrl = 0x4a009808,
923 .cm_l4per_gpio7_clkctrl = 0x4a009810,
924 .cm_l4per_gpio8_clkctrl = 0x4a009818,
925 .cm_l4per_mmcsd3_clkctrl = 0x4a009820,
926 .cm_l4per_mmcsd4_clkctrl = 0x4a009828,
Matt Porter30746262013-10-07 15:52:59 +0530927 .cm_l4per_qspi_clkctrl = 0x4a009838,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000928 .cm_l4per_uart1_clkctrl = 0x4a009840,
929 .cm_l4per_uart2_clkctrl = 0x4a009848,
930 .cm_l4per_uart3_clkctrl = 0x4a009850,
931 .cm_l4per_uart4_clkctrl = 0x4a009858,
932 .cm_l4per_uart5_clkctrl = 0x4a009870,
933 .cm_l4sec_clkstctrl = 0x4a009880,
934 .cm_l4sec_staticdep = 0x4a009884,
935 .cm_l4sec_dynamicdep = 0x4a009888,
936 .cm_l4sec_aes1_clkctrl = 0x4a0098a0,
937 .cm_l4sec_aes2_clkctrl = 0x4a0098a8,
938 .cm_l4sec_des3des_clkctrl = 0x4a0098b0,
939 .cm_l4sec_rng_clkctrl = 0x4a0098c0,
940 .cm_l4sec_sha2md51_clkctrl = 0x4a0098c8,
941 .cm_l4sec_cryptodma_clkctrl = 0x4a0098d8,
942
943 /* l4 wkup regs */
944 .cm_abe_pll_ref_clksel = 0x4ae0610c,
945 .cm_sys_clksel = 0x4ae06110,
Lokesh Vutla16523262013-05-30 03:19:38 +0000946 .cm_abe_pll_sys_clksel = 0x4ae06118,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000947 .cm_wkup_clkstctrl = 0x4ae07800,
948 .cm_wkup_l4wkup_clkctrl = 0x4ae07820,
949 .cm_wkup_wdtimer1_clkctrl = 0x4ae07828,
950 .cm_wkup_wdtimer2_clkctrl = 0x4ae07830,
951 .cm_wkup_gpio1_clkctrl = 0x4ae07838,
952 .cm_wkup_gptimer1_clkctrl = 0x4ae07840,
953 .cm_wkup_gptimer12_clkctrl = 0x4ae07848,
954 .cm_wkup_sarram_clkctrl = 0x4ae07860,
955 .cm_wkup_keyboard_clkctrl = 0x4ae07878,
956 .cm_wkupaon_scrm_clkctrl = 0x4ae07890,
957 .prm_rstctrl = 0x4ae07d00,
958 .prm_rstst = 0x4ae07d04,
Lokesh Vutla100c2d82013-04-17 20:49:40 +0000959 .prm_rsttime = 0x4ae07d08,
Lokesh Vutla15c2c702013-02-17 23:33:37 +0000960 .prm_vc_val_bypass = 0x4ae07da0,
961 .prm_vc_cfg_i2c_mode = 0x4ae07db4,
962 .prm_vc_cfg_i2c_clk = 0x4ae07db8,
963};