2 * omap_hwmod_33xx_data.c: Hardware modules present on the AM33XX chips
4 * Copyright (C) {2012} Texas Instruments Incorporated - http://www.ti.com/
6 * This file is automatically generated from the AM33XX hardware databases.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation version 2.
11 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
12 * kind, whether express or implied; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include <linux/i2c-omap.h>
19 #include "omap_hwmod.h"
20 #include <linux/platform_data/gpio-omap.h>
21 #include <linux/platform_data/spi-omap2-mcspi.h>
23 #include "omap_hwmod_common_data.h"
28 #include "prm-regbits-33xx.h"
38 * instance(s): emif_fw
40 static struct omap_hwmod_class am33xx_emif_fw_hwmod_class
= {
45 static struct omap_hwmod am33xx_emif_fw_hwmod
= {
47 .class = &am33xx_emif_fw_hwmod_class
,
48 .clkdm_name
= "l4fw_clkdm",
49 .main_clk
= "l4fw_gclk",
50 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
53 .clkctrl_offs
= AM33XX_CM_PER_EMIF_FW_CLKCTRL_OFFSET
,
54 .modulemode
= MODULEMODE_SWCTRL
,
63 static struct omap_hwmod_class_sysconfig am33xx_emif_sysc
= {
67 static struct omap_hwmod_class am33xx_emif_hwmod_class
= {
69 .sysc
= &am33xx_emif_sysc
,
72 static struct omap_hwmod_irq_info am33xx_emif_irqs
[] = {
73 { .name
= "ddrerr0", .irq
= 101 + OMAP_INTC_START
, },
78 static struct omap_hwmod am33xx_emif_hwmod
= {
80 .class = &am33xx_emif_hwmod_class
,
81 .clkdm_name
= "l3_clkdm",
82 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
83 .mpu_irqs
= am33xx_emif_irqs
,
84 .main_clk
= "dpll_ddr_m2_div2_ck",
87 .clkctrl_offs
= AM33XX_CM_PER_EMIF_CLKCTRL_OFFSET
,
88 .modulemode
= MODULEMODE_SWCTRL
,
95 * instance(s): l3_main, l3_s, l3_instr
97 static struct omap_hwmod_class am33xx_l3_hwmod_class
= {
101 /* l3_main (l3_fast) */
102 static struct omap_hwmod_irq_info am33xx_l3_main_irqs
[] = {
103 { .name
= "l3debug", .irq
= 9 + OMAP_INTC_START
, },
104 { .name
= "l3appint", .irq
= 10 + OMAP_INTC_START
, },
108 static struct omap_hwmod am33xx_l3_main_hwmod
= {
110 .class = &am33xx_l3_hwmod_class
,
111 .clkdm_name
= "l3_clkdm",
112 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
113 .mpu_irqs
= am33xx_l3_main_irqs
,
114 .main_clk
= "l3_gclk",
117 .clkctrl_offs
= AM33XX_CM_PER_L3_CLKCTRL_OFFSET
,
118 .modulemode
= MODULEMODE_SWCTRL
,
124 static struct omap_hwmod am33xx_l3_s_hwmod
= {
126 .class = &am33xx_l3_hwmod_class
,
127 .clkdm_name
= "l3s_clkdm",
131 static struct omap_hwmod am33xx_l3_instr_hwmod
= {
133 .class = &am33xx_l3_hwmod_class
,
134 .clkdm_name
= "l3_clkdm",
135 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
136 .main_clk
= "l3_gclk",
139 .clkctrl_offs
= AM33XX_CM_PER_L3_INSTR_CLKCTRL_OFFSET
,
140 .modulemode
= MODULEMODE_SWCTRL
,
147 * instance(s): l4_ls, l4_hs, l4_wkup, l4_fw
149 static struct omap_hwmod_class am33xx_l4_hwmod_class
= {
154 static struct omap_hwmod am33xx_l4_ls_hwmod
= {
156 .class = &am33xx_l4_hwmod_class
,
157 .clkdm_name
= "l4ls_clkdm",
158 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
159 .main_clk
= "l4ls_gclk",
162 .clkctrl_offs
= AM33XX_CM_PER_L4LS_CLKCTRL_OFFSET
,
163 .modulemode
= MODULEMODE_SWCTRL
,
169 static struct omap_hwmod am33xx_l4_hs_hwmod
= {
171 .class = &am33xx_l4_hwmod_class
,
172 .clkdm_name
= "l4hs_clkdm",
173 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
174 .main_clk
= "l4hs_gclk",
177 .clkctrl_offs
= AM33XX_CM_PER_L4HS_CLKCTRL_OFFSET
,
178 .modulemode
= MODULEMODE_SWCTRL
,
185 static struct omap_hwmod am33xx_l4_wkup_hwmod
= {
187 .class = &am33xx_l4_hwmod_class
,
188 .clkdm_name
= "l4_wkup_clkdm",
189 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
192 .clkctrl_offs
= AM33XX_CM_WKUP_L4WKUP_CLKCTRL_OFFSET
,
193 .modulemode
= MODULEMODE_SWCTRL
,
199 static struct omap_hwmod am33xx_l4_fw_hwmod
= {
201 .class = &am33xx_l4_hwmod_class
,
202 .clkdm_name
= "l4fw_clkdm",
203 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
206 .clkctrl_offs
= AM33XX_CM_PER_L4FW_CLKCTRL_OFFSET
,
207 .modulemode
= MODULEMODE_SWCTRL
,
215 static struct omap_hwmod_class am33xx_mpu_hwmod_class
= {
220 static struct omap_hwmod_irq_info am33xx_mpu_irqs
[] = {
221 { .name
= "emuint", .irq
= 0 + OMAP_INTC_START
, },
222 { .name
= "commtx", .irq
= 1 + OMAP_INTC_START
, },
223 { .name
= "commrx", .irq
= 2 + OMAP_INTC_START
, },
224 { .name
= "bench", .irq
= 3 + OMAP_INTC_START
, },
228 static struct omap_hwmod am33xx_mpu_hwmod
= {
230 .class = &am33xx_mpu_hwmod_class
,
231 .clkdm_name
= "mpu_clkdm",
232 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
233 .mpu_irqs
= am33xx_mpu_irqs
,
234 .main_clk
= "dpll_mpu_m2_ck",
237 .clkctrl_offs
= AM33XX_CM_MPU_MPU_CLKCTRL_OFFSET
,
238 .modulemode
= MODULEMODE_SWCTRL
,
245 * Wakeup controller sub-system under wakeup domain
247 static struct omap_hwmod_class am33xx_wkup_m3_hwmod_class
= {
251 static struct omap_hwmod_rst_info am33xx_wkup_m3_resets
[] = {
252 { .name
= "wkup_m3", .rst_shift
= 3, .st_shift
= 5 },
255 static struct omap_hwmod_irq_info am33xx_wkup_m3_irqs
[] = {
256 { .name
= "txev", .irq
= 78 + OMAP_INTC_START
, },
261 static struct omap_hwmod am33xx_wkup_m3_hwmod
= {
263 .class = &am33xx_wkup_m3_hwmod_class
,
264 .clkdm_name
= "l4_wkup_aon_clkdm",
265 .flags
= HWMOD_INIT_NO_RESET
, /* Keep hardreset asserted */
266 .mpu_irqs
= am33xx_wkup_m3_irqs
,
267 .main_clk
= "dpll_core_m4_div2_ck",
270 .clkctrl_offs
= AM33XX_CM_WKUP_WKUP_M3_CLKCTRL_OFFSET
,
271 .rstctrl_offs
= AM33XX_RM_WKUP_RSTCTRL_OFFSET
,
272 .rstst_offs
= AM33XX_RM_WKUP_RSTST_OFFSET
,
273 .modulemode
= MODULEMODE_SWCTRL
,
276 .rst_lines
= am33xx_wkup_m3_resets
,
277 .rst_lines_cnt
= ARRAY_SIZE(am33xx_wkup_m3_resets
),
282 * Programmable Real-Time Unit and Industrial Communication Subsystem
284 static struct omap_hwmod_class am33xx_pruss_hwmod_class
= {
288 static struct omap_hwmod_rst_info am33xx_pruss_resets
[] = {
289 { .name
= "pruss", .rst_shift
= 1 },
292 static struct omap_hwmod_irq_info am33xx_pruss_irqs
[] = {
293 { .name
= "evtout0", .irq
= 20 + OMAP_INTC_START
, },
294 { .name
= "evtout1", .irq
= 21 + OMAP_INTC_START
, },
295 { .name
= "evtout2", .irq
= 22 + OMAP_INTC_START
, },
296 { .name
= "evtout3", .irq
= 23 + OMAP_INTC_START
, },
297 { .name
= "evtout4", .irq
= 24 + OMAP_INTC_START
, },
298 { .name
= "evtout5", .irq
= 25 + OMAP_INTC_START
, },
299 { .name
= "evtout6", .irq
= 26 + OMAP_INTC_START
, },
300 { .name
= "evtout7", .irq
= 27 + OMAP_INTC_START
, },
305 /* Pseudo hwmod for reset control purpose only */
306 static struct omap_hwmod am33xx_pruss_hwmod
= {
308 .class = &am33xx_pruss_hwmod_class
,
309 .clkdm_name
= "pruss_ocp_clkdm",
310 .mpu_irqs
= am33xx_pruss_irqs
,
311 .main_clk
= "pruss_ocp_gclk",
314 .clkctrl_offs
= AM33XX_CM_PER_PRUSS_CLKCTRL_OFFSET
,
315 .rstctrl_offs
= AM33XX_RM_PER_RSTCTRL_OFFSET
,
316 .modulemode
= MODULEMODE_SWCTRL
,
319 .rst_lines
= am33xx_pruss_resets
,
320 .rst_lines_cnt
= ARRAY_SIZE(am33xx_pruss_resets
),
324 /* Pseudo hwmod for reset control purpose only */
325 static struct omap_hwmod_class am33xx_gfx_hwmod_class
= {
329 static struct omap_hwmod_rst_info am33xx_gfx_resets
[] = {
330 { .name
= "gfx", .rst_shift
= 0 },
333 static struct omap_hwmod_irq_info am33xx_gfx_irqs
[] = {
334 { .name
= "gfxint", .irq
= 37 + OMAP_INTC_START
, },
338 static struct omap_hwmod am33xx_gfx_hwmod
= {
340 .class = &am33xx_gfx_hwmod_class
,
341 .clkdm_name
= "gfx_l3_clkdm",
342 .mpu_irqs
= am33xx_gfx_irqs
,
343 .main_clk
= "gfx_fck_div_ck",
346 .clkctrl_offs
= AM33XX_CM_GFX_GFX_CLKCTRL_OFFSET
,
347 .rstctrl_offs
= AM33XX_RM_GFX_RSTCTRL_OFFSET
,
348 .modulemode
= MODULEMODE_SWCTRL
,
351 .rst_lines
= am33xx_gfx_resets
,
352 .rst_lines_cnt
= ARRAY_SIZE(am33xx_gfx_resets
),
357 * power and reset manager (whole prcm infrastructure)
359 static struct omap_hwmod_class am33xx_prcm_hwmod_class
= {
364 static struct omap_hwmod am33xx_prcm_hwmod
= {
366 .class = &am33xx_prcm_hwmod_class
,
367 .clkdm_name
= "l4_wkup_clkdm",
372 * TouchScreen Controller (Anolog-To-Digital Converter)
374 static struct omap_hwmod_class_sysconfig am33xx_adc_tsc_sysc
= {
377 .sysc_flags
= SYSC_HAS_SIDLEMODE
,
378 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
|
380 .sysc_fields
= &omap_hwmod_sysc_type2
,
383 static struct omap_hwmod_class am33xx_adc_tsc_hwmod_class
= {
385 .sysc
= &am33xx_adc_tsc_sysc
,
388 static struct omap_hwmod_irq_info am33xx_adc_tsc_irqs
[] = {
389 { .irq
= 16 + OMAP_INTC_START
, },
393 static struct omap_hwmod am33xx_adc_tsc_hwmod
= {
395 .class = &am33xx_adc_tsc_hwmod_class
,
396 .clkdm_name
= "l4_wkup_clkdm",
397 .mpu_irqs
= am33xx_adc_tsc_irqs
,
398 .main_clk
= "adc_tsc_fck",
401 .clkctrl_offs
= AM33XX_CM_WKUP_ADC_TSC_CLKCTRL_OFFSET
,
402 .modulemode
= MODULEMODE_SWCTRL
,
408 * Modules omap_hwmod structures
410 * The following IPs are excluded for the moment because:
411 * - They do not need an explicit SW control using omap_hwmod API.
412 * - They still need to be validated with the driver
413 * properly adapted to omap_hwmod / omap_device
415 * - cEFUSE (doesn't fall under any ocp_if)
426 static struct omap_hwmod_class am33xx_cefuse_hwmod_class
= {
430 static struct omap_hwmod am33xx_cefuse_hwmod
= {
432 .class = &am33xx_cefuse_hwmod_class
,
433 .clkdm_name
= "l4_cefuse_clkdm",
434 .main_clk
= "cefuse_fck",
437 .clkctrl_offs
= AM33XX_CM_CEFUSE_CEFUSE_CLKCTRL_OFFSET
,
438 .modulemode
= MODULEMODE_SWCTRL
,
446 static struct omap_hwmod_class am33xx_clkdiv32k_hwmod_class
= {
450 static struct omap_hwmod am33xx_clkdiv32k_hwmod
= {
452 .class = &am33xx_clkdiv32k_hwmod_class
,
453 .clkdm_name
= "clk_24mhz_clkdm",
454 .main_clk
= "clkdiv32k_ick",
457 .clkctrl_offs
= AM33XX_CM_PER_CLKDIV32K_CLKCTRL_OFFSET
,
458 .modulemode
= MODULEMODE_SWCTRL
,
467 static struct omap_hwmod_class am33xx_debugss_hwmod_class
= {
471 static struct omap_hwmod am33xx_debugss_hwmod
= {
473 .class = &am33xx_debugss_hwmod_class
,
474 .clkdm_name
= "l3_aon_clkdm",
475 .main_clk
= "debugss_ick",
478 .clkctrl_offs
= AM33XX_CM_WKUP_DEBUGSS_CLKCTRL_OFFSET
,
479 .modulemode
= MODULEMODE_SWCTRL
,
485 static struct omap_hwmod_class am33xx_ocpwp_hwmod_class
= {
489 static struct omap_hwmod am33xx_ocpwp_hwmod
= {
491 .class = &am33xx_ocpwp_hwmod_class
,
492 .clkdm_name
= "l4ls_clkdm",
493 .main_clk
= "l4ls_gclk",
496 .clkctrl_offs
= AM33XX_CM_PER_OCPWP_CLKCTRL_OFFSET
,
497 .modulemode
= MODULEMODE_SWCTRL
,
505 static struct omap_hwmod_class am33xx_aes_hwmod_class
= {
509 static struct omap_hwmod_irq_info am33xx_aes0_irqs
[] = {
510 { .irq
= 102 + OMAP_INTC_START
, },
514 static struct omap_hwmod am33xx_aes0_hwmod
= {
516 .class = &am33xx_aes_hwmod_class
,
517 .clkdm_name
= "l3_clkdm",
518 .mpu_irqs
= am33xx_aes0_irqs
,
519 .main_clk
= "l3_gclk",
522 .clkctrl_offs
= AM33XX_CM_PER_AES0_CLKCTRL_OFFSET
,
523 .modulemode
= MODULEMODE_SWCTRL
,
529 static struct omap_hwmod_class am33xx_sha0_hwmod_class
= {
533 static struct omap_hwmod_irq_info am33xx_sha0_irqs
[] = {
534 { .irq
= 108 + OMAP_INTC_START
, },
538 static struct omap_hwmod am33xx_sha0_hwmod
= {
540 .class = &am33xx_sha0_hwmod_class
,
541 .clkdm_name
= "l3_clkdm",
542 .mpu_irqs
= am33xx_sha0_irqs
,
543 .main_clk
= "l3_gclk",
546 .clkctrl_offs
= AM33XX_CM_PER_SHA0_CLKCTRL_OFFSET
,
547 .modulemode
= MODULEMODE_SWCTRL
,
555 static struct omap_hwmod_class am33xx_ocmcram_hwmod_class
= {
559 static struct omap_hwmod am33xx_ocmcram_hwmod
= {
561 .class = &am33xx_ocmcram_hwmod_class
,
562 .clkdm_name
= "l3_clkdm",
563 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
564 .main_clk
= "l3_gclk",
567 .clkctrl_offs
= AM33XX_CM_PER_OCMCRAM_CLKCTRL_OFFSET
,
568 .modulemode
= MODULEMODE_SWCTRL
,
573 /* 'smartreflex' class */
574 static struct omap_hwmod_class am33xx_smartreflex_hwmod_class
= {
575 .name
= "smartreflex",
579 static struct omap_hwmod_irq_info am33xx_smartreflex0_irqs
[] = {
580 { .irq
= 120 + OMAP_INTC_START
, },
584 static struct omap_hwmod am33xx_smartreflex0_hwmod
= {
585 .name
= "smartreflex0",
586 .class = &am33xx_smartreflex_hwmod_class
,
587 .clkdm_name
= "l4_wkup_clkdm",
588 .mpu_irqs
= am33xx_smartreflex0_irqs
,
589 .main_clk
= "smartreflex0_fck",
592 .clkctrl_offs
= AM33XX_CM_WKUP_SMARTREFLEX0_CLKCTRL_OFFSET
,
593 .modulemode
= MODULEMODE_SWCTRL
,
599 static struct omap_hwmod_irq_info am33xx_smartreflex1_irqs
[] = {
600 { .irq
= 121 + OMAP_INTC_START
, },
604 static struct omap_hwmod am33xx_smartreflex1_hwmod
= {
605 .name
= "smartreflex1",
606 .class = &am33xx_smartreflex_hwmod_class
,
607 .clkdm_name
= "l4_wkup_clkdm",
608 .mpu_irqs
= am33xx_smartreflex1_irqs
,
609 .main_clk
= "smartreflex1_fck",
612 .clkctrl_offs
= AM33XX_CM_WKUP_SMARTREFLEX1_CLKCTRL_OFFSET
,
613 .modulemode
= MODULEMODE_SWCTRL
,
619 * 'control' module class
621 static struct omap_hwmod_class am33xx_control_hwmod_class
= {
625 static struct omap_hwmod_irq_info am33xx_control_irqs
[] = {
626 { .irq
= 8 + OMAP_INTC_START
, },
630 static struct omap_hwmod am33xx_control_hwmod
= {
632 .class = &am33xx_control_hwmod_class
,
633 .clkdm_name
= "l4_wkup_clkdm",
634 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
635 .mpu_irqs
= am33xx_control_irqs
,
636 .main_clk
= "dpll_core_m4_div2_ck",
639 .clkctrl_offs
= AM33XX_CM_WKUP_CONTROL_CLKCTRL_OFFSET
,
640 .modulemode
= MODULEMODE_SWCTRL
,
647 * cpsw/cpgmac sub system
649 static struct omap_hwmod_class_sysconfig am33xx_cpgmac_sysc
= {
653 .sysc_flags
= (SYSC_HAS_SIDLEMODE
| SYSC_HAS_MIDLEMODE
|
654 SYSS_HAS_RESET_STATUS
),
655 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| MSTANDBY_FORCE
|
657 .sysc_fields
= &omap_hwmod_sysc_type3
,
660 static struct omap_hwmod_class am33xx_cpgmac0_hwmod_class
= {
662 .sysc
= &am33xx_cpgmac_sysc
,
665 static struct omap_hwmod_irq_info am33xx_cpgmac0_irqs
[] = {
666 { .name
= "c0_rx_thresh_pend", .irq
= 40 + OMAP_INTC_START
, },
667 { .name
= "c0_rx_pend", .irq
= 41 + OMAP_INTC_START
, },
668 { .name
= "c0_tx_pend", .irq
= 42 + OMAP_INTC_START
, },
669 { .name
= "c0_misc_pend", .irq
= 43 + OMAP_INTC_START
, },
673 static struct omap_hwmod am33xx_cpgmac0_hwmod
= {
675 .class = &am33xx_cpgmac0_hwmod_class
,
676 .clkdm_name
= "cpsw_125mhz_clkdm",
677 .flags
= (HWMOD_SWSUP_SIDLE
| HWMOD_SWSUP_MSTANDBY
),
678 .mpu_irqs
= am33xx_cpgmac0_irqs
,
679 .main_clk
= "cpsw_125mhz_gclk",
682 .clkctrl_offs
= AM33XX_CM_PER_CPGMAC0_CLKCTRL_OFFSET
,
683 .modulemode
= MODULEMODE_SWCTRL
,
691 static struct omap_hwmod_class am33xx_mdio_hwmod_class
= {
692 .name
= "davinci_mdio",
695 static struct omap_hwmod am33xx_mdio_hwmod
= {
696 .name
= "davinci_mdio",
697 .class = &am33xx_mdio_hwmod_class
,
698 .clkdm_name
= "cpsw_125mhz_clkdm",
699 .main_clk
= "cpsw_125mhz_gclk",
705 static struct omap_hwmod_class am33xx_dcan_hwmod_class
= {
710 static struct omap_hwmod_irq_info am33xx_dcan0_irqs
[] = {
711 { .name
= "d_can_ms", .irq
= 52 + OMAP_INTC_START
, },
712 { .name
= "d_can_mo", .irq
= 53 + OMAP_INTC_START
, },
716 static struct omap_hwmod am33xx_dcan0_hwmod
= {
718 .class = &am33xx_dcan_hwmod_class
,
719 .clkdm_name
= "l4ls_clkdm",
720 .mpu_irqs
= am33xx_dcan0_irqs
,
721 .main_clk
= "dcan0_fck",
724 .clkctrl_offs
= AM33XX_CM_PER_DCAN0_CLKCTRL_OFFSET
,
725 .modulemode
= MODULEMODE_SWCTRL
,
731 static struct omap_hwmod_irq_info am33xx_dcan1_irqs
[] = {
732 { .name
= "d_can_ms", .irq
= 55 + OMAP_INTC_START
, },
733 { .name
= "d_can_mo", .irq
= 56 + OMAP_INTC_START
, },
736 static struct omap_hwmod am33xx_dcan1_hwmod
= {
738 .class = &am33xx_dcan_hwmod_class
,
739 .clkdm_name
= "l4ls_clkdm",
740 .mpu_irqs
= am33xx_dcan1_irqs
,
741 .main_clk
= "dcan1_fck",
744 .clkctrl_offs
= AM33XX_CM_PER_DCAN1_CLKCTRL_OFFSET
,
745 .modulemode
= MODULEMODE_SWCTRL
,
751 static struct omap_hwmod_class_sysconfig am33xx_elm_sysc
= {
755 .sysc_flags
= (SYSC_HAS_CLOCKACTIVITY
| SYSC_HAS_SIDLEMODE
|
756 SYSC_HAS_SOFTRESET
| SYSC_HAS_AUTOIDLE
|
757 SYSS_HAS_RESET_STATUS
),
758 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
759 .sysc_fields
= &omap_hwmod_sysc_type1
,
762 static struct omap_hwmod_class am33xx_elm_hwmod_class
= {
764 .sysc
= &am33xx_elm_sysc
,
767 static struct omap_hwmod_irq_info am33xx_elm_irqs
[] = {
768 { .irq
= 4 + OMAP_INTC_START
, },
772 static struct omap_hwmod am33xx_elm_hwmod
= {
774 .class = &am33xx_elm_hwmod_class
,
775 .clkdm_name
= "l4ls_clkdm",
776 .mpu_irqs
= am33xx_elm_irqs
,
777 .main_clk
= "l4ls_gclk",
780 .clkctrl_offs
= AM33XX_CM_PER_ELM_CLKCTRL_OFFSET
,
781 .modulemode
= MODULEMODE_SWCTRL
,
787 * 'epwmss' class: ehrpwm0,1,2 eqep0,1,2 ecap0,1,2
789 static struct omap_hwmod_class_sysconfig am33xx_epwmss_sysc
= {
792 .sysc_flags
= (SYSC_HAS_SIDLEMODE
| SYSC_HAS_MIDLEMODE
),
793 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
|
794 SIDLE_SMART_WKUP
| MSTANDBY_FORCE
| MSTANDBY_NO
|
795 MSTANDBY_SMART
| MSTANDBY_SMART_WKUP
),
796 .sysc_fields
= &omap_hwmod_sysc_type2
,
799 static struct omap_hwmod_class am33xx_epwmss_hwmod_class
= {
801 .sysc
= &am33xx_epwmss_sysc
,
805 static struct omap_hwmod_irq_info am33xx_ehrpwm0_irqs
[] = {
806 { .name
= "int", .irq
= 86 + OMAP_INTC_START
, },
807 { .name
= "tzint", .irq
= 58 + OMAP_INTC_START
, },
811 static struct omap_hwmod am33xx_ehrpwm0_hwmod
= {
813 .class = &am33xx_epwmss_hwmod_class
,
814 .clkdm_name
= "l4ls_clkdm",
815 .mpu_irqs
= am33xx_ehrpwm0_irqs
,
816 .main_clk
= "l4ls_gclk",
819 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS0_CLKCTRL_OFFSET
,
820 .modulemode
= MODULEMODE_SWCTRL
,
826 static struct omap_hwmod_irq_info am33xx_ehrpwm1_irqs
[] = {
827 { .name
= "int", .irq
= 87 + OMAP_INTC_START
, },
828 { .name
= "tzint", .irq
= 59 + OMAP_INTC_START
, },
832 static struct omap_hwmod am33xx_ehrpwm1_hwmod
= {
834 .class = &am33xx_epwmss_hwmod_class
,
835 .clkdm_name
= "l4ls_clkdm",
836 .mpu_irqs
= am33xx_ehrpwm1_irqs
,
837 .main_clk
= "l4ls_gclk",
840 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS1_CLKCTRL_OFFSET
,
841 .modulemode
= MODULEMODE_SWCTRL
,
847 static struct omap_hwmod_irq_info am33xx_ehrpwm2_irqs
[] = {
848 { .name
= "int", .irq
= 39 + OMAP_INTC_START
, },
849 { .name
= "tzint", .irq
= 60 + OMAP_INTC_START
, },
853 static struct omap_hwmod am33xx_ehrpwm2_hwmod
= {
855 .class = &am33xx_epwmss_hwmod_class
,
856 .clkdm_name
= "l4ls_clkdm",
857 .mpu_irqs
= am33xx_ehrpwm2_irqs
,
858 .main_clk
= "l4ls_gclk",
861 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS2_CLKCTRL_OFFSET
,
862 .modulemode
= MODULEMODE_SWCTRL
,
868 static struct omap_hwmod_irq_info am33xx_eqep0_irqs
[] = {
869 { .irq
= 79 + OMAP_INTC_START
, },
873 static struct omap_hwmod am33xx_eqep0_hwmod
= {
875 .class = &am33xx_epwmss_hwmod_class
,
876 .clkdm_name
= "l4ls_clkdm",
877 .mpu_irqs
= am33xx_eqep0_irqs
,
878 .main_clk
= "l4ls_gclk",
881 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS0_CLKCTRL_OFFSET
,
882 .modulemode
= MODULEMODE_SWCTRL
,
888 static struct omap_hwmod_irq_info am33xx_eqep1_irqs
[] = {
889 { .irq
= 88 + OMAP_INTC_START
, },
893 static struct omap_hwmod am33xx_eqep1_hwmod
= {
895 .class = &am33xx_epwmss_hwmod_class
,
896 .clkdm_name
= "l4ls_clkdm",
897 .mpu_irqs
= am33xx_eqep1_irqs
,
898 .main_clk
= "l4ls_gclk",
901 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS1_CLKCTRL_OFFSET
,
902 .modulemode
= MODULEMODE_SWCTRL
,
908 static struct omap_hwmod_irq_info am33xx_eqep2_irqs
[] = {
909 { .irq
= 89 + OMAP_INTC_START
, },
913 static struct omap_hwmod am33xx_eqep2_hwmod
= {
915 .class = &am33xx_epwmss_hwmod_class
,
916 .clkdm_name
= "l4ls_clkdm",
917 .mpu_irqs
= am33xx_eqep2_irqs
,
918 .main_clk
= "l4ls_gclk",
921 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS2_CLKCTRL_OFFSET
,
922 .modulemode
= MODULEMODE_SWCTRL
,
928 static struct omap_hwmod_irq_info am33xx_ecap0_irqs
[] = {
929 { .irq
= 31 + OMAP_INTC_START
, },
933 static struct omap_hwmod am33xx_ecap0_hwmod
= {
935 .class = &am33xx_epwmss_hwmod_class
,
936 .clkdm_name
= "l4ls_clkdm",
937 .mpu_irqs
= am33xx_ecap0_irqs
,
938 .main_clk
= "l4ls_gclk",
941 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS0_CLKCTRL_OFFSET
,
942 .modulemode
= MODULEMODE_SWCTRL
,
948 static struct omap_hwmod_irq_info am33xx_ecap1_irqs
[] = {
949 { .irq
= 47 + OMAP_INTC_START
, },
953 static struct omap_hwmod am33xx_ecap1_hwmod
= {
955 .class = &am33xx_epwmss_hwmod_class
,
956 .clkdm_name
= "l4ls_clkdm",
957 .mpu_irqs
= am33xx_ecap1_irqs
,
958 .main_clk
= "l4ls_gclk",
961 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS1_CLKCTRL_OFFSET
,
962 .modulemode
= MODULEMODE_SWCTRL
,
968 static struct omap_hwmod_irq_info am33xx_ecap2_irqs
[] = {
969 { .irq
= 61 + OMAP_INTC_START
, },
973 static struct omap_hwmod am33xx_ecap2_hwmod
= {
975 .mpu_irqs
= am33xx_ecap2_irqs
,
976 .class = &am33xx_epwmss_hwmod_class
,
977 .clkdm_name
= "l4ls_clkdm",
978 .main_clk
= "l4ls_gclk",
981 .clkctrl_offs
= AM33XX_CM_PER_EPWMSS2_CLKCTRL_OFFSET
,
982 .modulemode
= MODULEMODE_SWCTRL
,
988 * 'gpio' class: for gpio 0,1,2,3
990 static struct omap_hwmod_class_sysconfig am33xx_gpio_sysc
= {
994 .sysc_flags
= (SYSC_HAS_AUTOIDLE
| SYSC_HAS_ENAWAKEUP
|
995 SYSC_HAS_SIDLEMODE
| SYSC_HAS_SOFTRESET
|
996 SYSS_HAS_RESET_STATUS
),
997 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
|
999 .sysc_fields
= &omap_hwmod_sysc_type1
,
1002 static struct omap_hwmod_class am33xx_gpio_hwmod_class
= {
1004 .sysc
= &am33xx_gpio_sysc
,
1008 static struct omap_gpio_dev_attr gpio_dev_attr
= {
1014 static struct omap_hwmod_opt_clk gpio0_opt_clks
[] = {
1015 { .role
= "dbclk", .clk
= "gpio0_dbclk" },
1018 static struct omap_hwmod_irq_info am33xx_gpio0_irqs
[] = {
1019 { .irq
= 96 + OMAP_INTC_START
, },
1023 static struct omap_hwmod am33xx_gpio0_hwmod
= {
1025 .class = &am33xx_gpio_hwmod_class
,
1026 .clkdm_name
= "l4_wkup_clkdm",
1027 .flags
= HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
1028 .mpu_irqs
= am33xx_gpio0_irqs
,
1029 .main_clk
= "dpll_core_m4_div2_ck",
1032 .clkctrl_offs
= AM33XX_CM_WKUP_GPIO0_CLKCTRL_OFFSET
,
1033 .modulemode
= MODULEMODE_SWCTRL
,
1036 .opt_clks
= gpio0_opt_clks
,
1037 .opt_clks_cnt
= ARRAY_SIZE(gpio0_opt_clks
),
1038 .dev_attr
= &gpio_dev_attr
,
1042 static struct omap_hwmod_irq_info am33xx_gpio1_irqs
[] = {
1043 { .irq
= 98 + OMAP_INTC_START
, },
1047 static struct omap_hwmod_opt_clk gpio1_opt_clks
[] = {
1048 { .role
= "dbclk", .clk
= "gpio1_dbclk" },
1051 static struct omap_hwmod am33xx_gpio1_hwmod
= {
1053 .class = &am33xx_gpio_hwmod_class
,
1054 .clkdm_name
= "l4ls_clkdm",
1055 .flags
= HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
1056 .mpu_irqs
= am33xx_gpio1_irqs
,
1057 .main_clk
= "l4ls_gclk",
1060 .clkctrl_offs
= AM33XX_CM_PER_GPIO1_CLKCTRL_OFFSET
,
1061 .modulemode
= MODULEMODE_SWCTRL
,
1064 .opt_clks
= gpio1_opt_clks
,
1065 .opt_clks_cnt
= ARRAY_SIZE(gpio1_opt_clks
),
1066 .dev_attr
= &gpio_dev_attr
,
1070 static struct omap_hwmod_irq_info am33xx_gpio2_irqs
[] = {
1071 { .irq
= 32 + OMAP_INTC_START
, },
1075 static struct omap_hwmod_opt_clk gpio2_opt_clks
[] = {
1076 { .role
= "dbclk", .clk
= "gpio2_dbclk" },
1079 static struct omap_hwmod am33xx_gpio2_hwmod
= {
1081 .class = &am33xx_gpio_hwmod_class
,
1082 .clkdm_name
= "l4ls_clkdm",
1083 .flags
= HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
1084 .mpu_irqs
= am33xx_gpio2_irqs
,
1085 .main_clk
= "l4ls_gclk",
1088 .clkctrl_offs
= AM33XX_CM_PER_GPIO2_CLKCTRL_OFFSET
,
1089 .modulemode
= MODULEMODE_SWCTRL
,
1092 .opt_clks
= gpio2_opt_clks
,
1093 .opt_clks_cnt
= ARRAY_SIZE(gpio2_opt_clks
),
1094 .dev_attr
= &gpio_dev_attr
,
1098 static struct omap_hwmod_irq_info am33xx_gpio3_irqs
[] = {
1099 { .irq
= 62 + OMAP_INTC_START
, },
1103 static struct omap_hwmod_opt_clk gpio3_opt_clks
[] = {
1104 { .role
= "dbclk", .clk
= "gpio3_dbclk" },
1107 static struct omap_hwmod am33xx_gpio3_hwmod
= {
1109 .class = &am33xx_gpio_hwmod_class
,
1110 .clkdm_name
= "l4ls_clkdm",
1111 .flags
= HWMOD_CONTROL_OPT_CLKS_IN_RESET
,
1112 .mpu_irqs
= am33xx_gpio3_irqs
,
1113 .main_clk
= "l4ls_gclk",
1116 .clkctrl_offs
= AM33XX_CM_PER_GPIO3_CLKCTRL_OFFSET
,
1117 .modulemode
= MODULEMODE_SWCTRL
,
1120 .opt_clks
= gpio3_opt_clks
,
1121 .opt_clks_cnt
= ARRAY_SIZE(gpio3_opt_clks
),
1122 .dev_attr
= &gpio_dev_attr
,
1126 static struct omap_hwmod_class_sysconfig gpmc_sysc
= {
1130 .sysc_flags
= (SYSC_HAS_AUTOIDLE
| SYSC_HAS_SIDLEMODE
|
1131 SYSC_HAS_SOFTRESET
| SYSS_HAS_RESET_STATUS
),
1132 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
1133 .sysc_fields
= &omap_hwmod_sysc_type1
,
1136 static struct omap_hwmod_class am33xx_gpmc_hwmod_class
= {
1141 static struct omap_hwmod_irq_info am33xx_gpmc_irqs
[] = {
1142 { .irq
= 100 + OMAP_INTC_START
, },
1146 static struct omap_hwmod am33xx_gpmc_hwmod
= {
1148 .class = &am33xx_gpmc_hwmod_class
,
1149 .clkdm_name
= "l3s_clkdm",
1150 .flags
= (HWMOD_INIT_NO_IDLE
| HWMOD_INIT_NO_RESET
),
1151 .mpu_irqs
= am33xx_gpmc_irqs
,
1152 .main_clk
= "l3s_gclk",
1155 .clkctrl_offs
= AM33XX_CM_PER_GPMC_CLKCTRL_OFFSET
,
1156 .modulemode
= MODULEMODE_SWCTRL
,
1162 static struct omap_hwmod_class_sysconfig am33xx_i2c_sysc
= {
1163 .sysc_offs
= 0x0010,
1164 .syss_offs
= 0x0090,
1165 .sysc_flags
= (SYSC_HAS_AUTOIDLE
| SYSC_HAS_CLOCKACTIVITY
|
1166 SYSC_HAS_ENAWAKEUP
| SYSC_HAS_SIDLEMODE
|
1167 SYSC_HAS_SOFTRESET
| SYSS_HAS_RESET_STATUS
),
1168 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
|
1170 .sysc_fields
= &omap_hwmod_sysc_type1
,
1173 static struct omap_hwmod_class i2c_class
= {
1175 .sysc
= &am33xx_i2c_sysc
,
1176 .rev
= OMAP_I2C_IP_VERSION_2
,
1177 .reset
= &omap_i2c_reset
,
1180 static struct omap_i2c_dev_attr i2c_dev_attr
= {
1181 .flags
= OMAP_I2C_FLAG_BUS_SHIFT_NONE
,
1185 static struct omap_hwmod_irq_info i2c1_mpu_irqs
[] = {
1186 { .irq
= 70 + OMAP_INTC_START
, },
1190 static struct omap_hwmod_dma_info i2c1_edma_reqs
[] = {
1191 { .name
= "tx", .dma_req
= 0, },
1192 { .name
= "rx", .dma_req
= 0, },
1196 static struct omap_hwmod am33xx_i2c1_hwmod
= {
1198 .class = &i2c_class
,
1199 .clkdm_name
= "l4_wkup_clkdm",
1200 .mpu_irqs
= i2c1_mpu_irqs
,
1201 .sdma_reqs
= i2c1_edma_reqs
,
1202 .flags
= HWMOD_16BIT_REG
| HWMOD_SET_DEFAULT_CLOCKACT
,
1203 .main_clk
= "dpll_per_m2_div4_wkupdm_ck",
1206 .clkctrl_offs
= AM33XX_CM_WKUP_I2C0_CLKCTRL_OFFSET
,
1207 .modulemode
= MODULEMODE_SWCTRL
,
1210 .dev_attr
= &i2c_dev_attr
,
1214 static struct omap_hwmod_irq_info i2c2_mpu_irqs
[] = {
1215 { .irq
= 71 + OMAP_INTC_START
, },
1219 static struct omap_hwmod_dma_info i2c2_edma_reqs
[] = {
1220 { .name
= "tx", .dma_req
= 0, },
1221 { .name
= "rx", .dma_req
= 0, },
1225 static struct omap_hwmod am33xx_i2c2_hwmod
= {
1227 .class = &i2c_class
,
1228 .clkdm_name
= "l4ls_clkdm",
1229 .mpu_irqs
= i2c2_mpu_irqs
,
1230 .sdma_reqs
= i2c2_edma_reqs
,
1231 .flags
= HWMOD_16BIT_REG
| HWMOD_SET_DEFAULT_CLOCKACT
,
1232 .main_clk
= "dpll_per_m2_div4_ck",
1235 .clkctrl_offs
= AM33XX_CM_PER_I2C1_CLKCTRL_OFFSET
,
1236 .modulemode
= MODULEMODE_SWCTRL
,
1239 .dev_attr
= &i2c_dev_attr
,
1243 static struct omap_hwmod_dma_info i2c3_edma_reqs
[] = {
1244 { .name
= "tx", .dma_req
= 0, },
1245 { .name
= "rx", .dma_req
= 0, },
1249 static struct omap_hwmod_irq_info i2c3_mpu_irqs
[] = {
1250 { .irq
= 30 + OMAP_INTC_START
, },
1254 static struct omap_hwmod am33xx_i2c3_hwmod
= {
1256 .class = &i2c_class
,
1257 .clkdm_name
= "l4ls_clkdm",
1258 .mpu_irqs
= i2c3_mpu_irqs
,
1259 .sdma_reqs
= i2c3_edma_reqs
,
1260 .flags
= HWMOD_16BIT_REG
| HWMOD_SET_DEFAULT_CLOCKACT
,
1261 .main_clk
= "dpll_per_m2_div4_ck",
1264 .clkctrl_offs
= AM33XX_CM_PER_I2C2_CLKCTRL_OFFSET
,
1265 .modulemode
= MODULEMODE_SWCTRL
,
1268 .dev_attr
= &i2c_dev_attr
,
1273 static struct omap_hwmod_class_sysconfig lcdc_sysc
= {
1276 .sysc_flags
= (SYSC_HAS_SIDLEMODE
| SYSC_HAS_MIDLEMODE
),
1277 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
1278 .sysc_fields
= &omap_hwmod_sysc_type2
,
1281 static struct omap_hwmod_class am33xx_lcdc_hwmod_class
= {
1286 static struct omap_hwmod_irq_info am33xx_lcdc_irqs
[] = {
1287 { .irq
= 36 + OMAP_INTC_START
, },
1291 static struct omap_hwmod am33xx_lcdc_hwmod
= {
1293 .class = &am33xx_lcdc_hwmod_class
,
1294 .clkdm_name
= "lcdc_clkdm",
1295 .mpu_irqs
= am33xx_lcdc_irqs
,
1296 .flags
= HWMOD_SWSUP_SIDLE
| HWMOD_SWSUP_MSTANDBY
,
1297 .main_clk
= "lcd_gclk",
1300 .clkctrl_offs
= AM33XX_CM_PER_LCDC_CLKCTRL_OFFSET
,
1301 .modulemode
= MODULEMODE_SWCTRL
,
1308 * mailbox module allowing communication between the on-chip processors using a
1309 * queued mailbox-interrupt mechanism.
1311 static struct omap_hwmod_class_sysconfig am33xx_mailbox_sysc
= {
1313 .sysc_offs
= 0x0010,
1314 .sysc_flags
= (SYSC_HAS_RESET_STATUS
| SYSC_HAS_SIDLEMODE
|
1315 SYSC_HAS_SOFTRESET
),
1316 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
1317 .sysc_fields
= &omap_hwmod_sysc_type2
,
1320 static struct omap_hwmod_class am33xx_mailbox_hwmod_class
= {
1322 .sysc
= &am33xx_mailbox_sysc
,
1325 static struct omap_hwmod_irq_info am33xx_mailbox_irqs
[] = {
1326 { .irq
= 77 + OMAP_INTC_START
, },
1330 static struct omap_hwmod am33xx_mailbox_hwmod
= {
1332 .class = &am33xx_mailbox_hwmod_class
,
1333 .clkdm_name
= "l4ls_clkdm",
1334 .mpu_irqs
= am33xx_mailbox_irqs
,
1335 .main_clk
= "l4ls_gclk",
1338 .clkctrl_offs
= AM33XX_CM_PER_MAILBOX0_CLKCTRL_OFFSET
,
1339 .modulemode
= MODULEMODE_SWCTRL
,
1347 static struct omap_hwmod_class_sysconfig am33xx_mcasp_sysc
= {
1350 .sysc_flags
= SYSC_HAS_SIDLEMODE
,
1351 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
1352 .sysc_fields
= &omap_hwmod_sysc_type3
,
1355 static struct omap_hwmod_class am33xx_mcasp_hwmod_class
= {
1357 .sysc
= &am33xx_mcasp_sysc
,
1361 static struct omap_hwmod_irq_info am33xx_mcasp0_irqs
[] = {
1362 { .name
= "ax", .irq
= 80 + OMAP_INTC_START
, },
1363 { .name
= "ar", .irq
= 81 + OMAP_INTC_START
, },
1367 static struct omap_hwmod_dma_info am33xx_mcasp0_edma_reqs
[] = {
1368 { .name
= "tx", .dma_req
= 8, },
1369 { .name
= "rx", .dma_req
= 9, },
1373 static struct omap_hwmod am33xx_mcasp0_hwmod
= {
1375 .class = &am33xx_mcasp_hwmod_class
,
1376 .clkdm_name
= "l3s_clkdm",
1377 .mpu_irqs
= am33xx_mcasp0_irqs
,
1378 .sdma_reqs
= am33xx_mcasp0_edma_reqs
,
1379 .main_clk
= "mcasp0_fck",
1382 .clkctrl_offs
= AM33XX_CM_PER_MCASP0_CLKCTRL_OFFSET
,
1383 .modulemode
= MODULEMODE_SWCTRL
,
1389 static struct omap_hwmod_irq_info am33xx_mcasp1_irqs
[] = {
1390 { .name
= "ax", .irq
= 82 + OMAP_INTC_START
, },
1391 { .name
= "ar", .irq
= 83 + OMAP_INTC_START
, },
1395 static struct omap_hwmod_dma_info am33xx_mcasp1_edma_reqs
[] = {
1396 { .name
= "tx", .dma_req
= 10, },
1397 { .name
= "rx", .dma_req
= 11, },
1401 static struct omap_hwmod am33xx_mcasp1_hwmod
= {
1403 .class = &am33xx_mcasp_hwmod_class
,
1404 .clkdm_name
= "l3s_clkdm",
1405 .mpu_irqs
= am33xx_mcasp1_irqs
,
1406 .sdma_reqs
= am33xx_mcasp1_edma_reqs
,
1407 .main_clk
= "mcasp1_fck",
1410 .clkctrl_offs
= AM33XX_CM_PER_MCASP1_CLKCTRL_OFFSET
,
1411 .modulemode
= MODULEMODE_SWCTRL
,
1417 static struct omap_hwmod_class_sysconfig am33xx_mmc_sysc
= {
1421 .sysc_flags
= (SYSC_HAS_CLOCKACTIVITY
| SYSC_HAS_SIDLEMODE
|
1422 SYSC_HAS_ENAWAKEUP
| SYSC_HAS_SOFTRESET
|
1423 SYSC_HAS_AUTOIDLE
| SYSS_HAS_RESET_STATUS
),
1424 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
1425 .sysc_fields
= &omap_hwmod_sysc_type1
,
1428 static struct omap_hwmod_class am33xx_mmc_hwmod_class
= {
1430 .sysc
= &am33xx_mmc_sysc
,
1434 static struct omap_hwmod_irq_info am33xx_mmc0_irqs
[] = {
1435 { .irq
= 64 + OMAP_INTC_START
, },
1439 static struct omap_hwmod_dma_info am33xx_mmc0_edma_reqs
[] = {
1440 { .name
= "tx", .dma_req
= 24, },
1441 { .name
= "rx", .dma_req
= 25, },
1445 static struct omap_mmc_dev_attr am33xx_mmc0_dev_attr
= {
1446 .flags
= OMAP_HSMMC_SUPPORTS_DUAL_VOLT
,
1449 static struct omap_hwmod am33xx_mmc0_hwmod
= {
1451 .class = &am33xx_mmc_hwmod_class
,
1452 .clkdm_name
= "l4ls_clkdm",
1453 .mpu_irqs
= am33xx_mmc0_irqs
,
1454 .sdma_reqs
= am33xx_mmc0_edma_reqs
,
1455 .main_clk
= "mmc_clk",
1458 .clkctrl_offs
= AM33XX_CM_PER_MMC0_CLKCTRL_OFFSET
,
1459 .modulemode
= MODULEMODE_SWCTRL
,
1462 .dev_attr
= &am33xx_mmc0_dev_attr
,
1466 static struct omap_hwmod_irq_info am33xx_mmc1_irqs
[] = {
1467 { .irq
= 28 + OMAP_INTC_START
, },
1471 static struct omap_hwmod_dma_info am33xx_mmc1_edma_reqs
[] = {
1472 { .name
= "tx", .dma_req
= 2, },
1473 { .name
= "rx", .dma_req
= 3, },
1477 static struct omap_mmc_dev_attr am33xx_mmc1_dev_attr
= {
1478 .flags
= OMAP_HSMMC_SUPPORTS_DUAL_VOLT
,
1481 static struct omap_hwmod am33xx_mmc1_hwmod
= {
1483 .class = &am33xx_mmc_hwmod_class
,
1484 .clkdm_name
= "l4ls_clkdm",
1485 .mpu_irqs
= am33xx_mmc1_irqs
,
1486 .sdma_reqs
= am33xx_mmc1_edma_reqs
,
1487 .main_clk
= "mmc_clk",
1490 .clkctrl_offs
= AM33XX_CM_PER_MMC1_CLKCTRL_OFFSET
,
1491 .modulemode
= MODULEMODE_SWCTRL
,
1494 .dev_attr
= &am33xx_mmc1_dev_attr
,
1498 static struct omap_hwmod_irq_info am33xx_mmc2_irqs
[] = {
1499 { .irq
= 29 + OMAP_INTC_START
, },
1503 static struct omap_hwmod_dma_info am33xx_mmc2_edma_reqs
[] = {
1504 { .name
= "tx", .dma_req
= 64, },
1505 { .name
= "rx", .dma_req
= 65, },
1509 static struct omap_mmc_dev_attr am33xx_mmc2_dev_attr
= {
1510 .flags
= OMAP_HSMMC_SUPPORTS_DUAL_VOLT
,
1512 static struct omap_hwmod am33xx_mmc2_hwmod
= {
1514 .class = &am33xx_mmc_hwmod_class
,
1515 .clkdm_name
= "l3s_clkdm",
1516 .mpu_irqs
= am33xx_mmc2_irqs
,
1517 .sdma_reqs
= am33xx_mmc2_edma_reqs
,
1518 .main_clk
= "mmc_clk",
1521 .clkctrl_offs
= AM33XX_CM_PER_MMC2_CLKCTRL_OFFSET
,
1522 .modulemode
= MODULEMODE_SWCTRL
,
1525 .dev_attr
= &am33xx_mmc2_dev_attr
,
1532 static struct omap_hwmod_class_sysconfig am33xx_rtc_sysc
= {
1534 .sysc_offs
= 0x0078,
1535 .sysc_flags
= SYSC_HAS_SIDLEMODE
,
1536 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
|
1537 SIDLE_SMART
| SIDLE_SMART_WKUP
),
1538 .sysc_fields
= &omap_hwmod_sysc_type3
,
1541 static struct omap_hwmod_class am33xx_rtc_hwmod_class
= {
1543 .sysc
= &am33xx_rtc_sysc
,
1546 static struct omap_hwmod_irq_info am33xx_rtc_irqs
[] = {
1547 { .name
= "rtcint", .irq
= 75 + OMAP_INTC_START
, },
1548 { .name
= "rtcalarmint", .irq
= 76 + OMAP_INTC_START
, },
1552 static struct omap_hwmod am33xx_rtc_hwmod
= {
1554 .class = &am33xx_rtc_hwmod_class
,
1555 .clkdm_name
= "l4_rtc_clkdm",
1556 .mpu_irqs
= am33xx_rtc_irqs
,
1557 .main_clk
= "clk_32768_ck",
1560 .clkctrl_offs
= AM33XX_CM_RTC_RTC_CLKCTRL_OFFSET
,
1561 .modulemode
= MODULEMODE_SWCTRL
,
1567 static struct omap_hwmod_class_sysconfig am33xx_mcspi_sysc
= {
1569 .sysc_offs
= 0x0110,
1570 .syss_offs
= 0x0114,
1571 .sysc_flags
= (SYSC_HAS_CLOCKACTIVITY
| SYSC_HAS_SIDLEMODE
|
1572 SYSC_HAS_SOFTRESET
| SYSC_HAS_AUTOIDLE
|
1573 SYSS_HAS_RESET_STATUS
),
1574 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
1575 .sysc_fields
= &omap_hwmod_sysc_type1
,
1578 static struct omap_hwmod_class am33xx_spi_hwmod_class
= {
1580 .sysc
= &am33xx_mcspi_sysc
,
1581 .rev
= OMAP4_MCSPI_REV
,
1585 static struct omap_hwmod_irq_info am33xx_spi0_irqs
[] = {
1586 { .irq
= 65 + OMAP_INTC_START
, },
1590 static struct omap_hwmod_dma_info am33xx_mcspi0_edma_reqs
[] = {
1591 { .name
= "rx0", .dma_req
= 17 },
1592 { .name
= "tx0", .dma_req
= 16 },
1593 { .name
= "rx1", .dma_req
= 19 },
1594 { .name
= "tx1", .dma_req
= 18 },
1598 static struct omap2_mcspi_dev_attr mcspi_attrib
= {
1599 .num_chipselect
= 2,
1601 static struct omap_hwmod am33xx_spi0_hwmod
= {
1603 .class = &am33xx_spi_hwmod_class
,
1604 .clkdm_name
= "l4ls_clkdm",
1605 .mpu_irqs
= am33xx_spi0_irqs
,
1606 .sdma_reqs
= am33xx_mcspi0_edma_reqs
,
1607 .main_clk
= "dpll_per_m2_div4_ck",
1610 .clkctrl_offs
= AM33XX_CM_PER_SPI0_CLKCTRL_OFFSET
,
1611 .modulemode
= MODULEMODE_SWCTRL
,
1614 .dev_attr
= &mcspi_attrib
,
1618 static struct omap_hwmod_irq_info am33xx_spi1_irqs
[] = {
1619 { .irq
= 125 + OMAP_INTC_START
, },
1623 static struct omap_hwmod_dma_info am33xx_mcspi1_edma_reqs
[] = {
1624 { .name
= "rx0", .dma_req
= 43 },
1625 { .name
= "tx0", .dma_req
= 42 },
1626 { .name
= "rx1", .dma_req
= 45 },
1627 { .name
= "tx1", .dma_req
= 44 },
1631 static struct omap_hwmod am33xx_spi1_hwmod
= {
1633 .class = &am33xx_spi_hwmod_class
,
1634 .clkdm_name
= "l4ls_clkdm",
1635 .mpu_irqs
= am33xx_spi1_irqs
,
1636 .sdma_reqs
= am33xx_mcspi1_edma_reqs
,
1637 .main_clk
= "dpll_per_m2_div4_ck",
1640 .clkctrl_offs
= AM33XX_CM_PER_SPI1_CLKCTRL_OFFSET
,
1641 .modulemode
= MODULEMODE_SWCTRL
,
1644 .dev_attr
= &mcspi_attrib
,
1649 * spinlock provides hardware assistance for synchronizing the
1650 * processes running on multiple processors
1652 static struct omap_hwmod_class am33xx_spinlock_hwmod_class
= {
1656 static struct omap_hwmod am33xx_spinlock_hwmod
= {
1658 .class = &am33xx_spinlock_hwmod_class
,
1659 .clkdm_name
= "l4ls_clkdm",
1660 .main_clk
= "l4ls_gclk",
1663 .clkctrl_offs
= AM33XX_CM_PER_SPINLOCK_CLKCTRL_OFFSET
,
1664 .modulemode
= MODULEMODE_SWCTRL
,
1669 /* 'timer 2-7' class */
1670 static struct omap_hwmod_class_sysconfig am33xx_timer_sysc
= {
1672 .sysc_offs
= 0x0010,
1673 .syss_offs
= 0x0014,
1674 .sysc_flags
= (SYSC_HAS_SIDLEMODE
| SYSC_HAS_SOFTRESET
),
1675 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
|
1677 .sysc_fields
= &omap_hwmod_sysc_type2
,
1680 static struct omap_hwmod_class am33xx_timer_hwmod_class
= {
1682 .sysc
= &am33xx_timer_sysc
,
1686 static struct omap_hwmod_class_sysconfig am33xx_timer1ms_sysc
= {
1688 .sysc_offs
= 0x0010,
1689 .syss_offs
= 0x0014,
1690 .sysc_flags
= (SYSC_HAS_CLOCKACTIVITY
| SYSC_HAS_SIDLEMODE
|
1691 SYSC_HAS_SOFTRESET
| SYSC_HAS_AUTOIDLE
|
1692 SYSS_HAS_RESET_STATUS
),
1693 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
),
1694 .sysc_fields
= &omap_hwmod_sysc_type1
,
1697 static struct omap_hwmod_class am33xx_timer1ms_hwmod_class
= {
1699 .sysc
= &am33xx_timer1ms_sysc
,
1702 static struct omap_hwmod_irq_info am33xx_timer1_irqs
[] = {
1703 { .irq
= 67 + OMAP_INTC_START
, },
1707 static struct omap_hwmod am33xx_timer1_hwmod
= {
1709 .class = &am33xx_timer1ms_hwmod_class
,
1710 .clkdm_name
= "l4_wkup_clkdm",
1711 .mpu_irqs
= am33xx_timer1_irqs
,
1712 .main_clk
= "timer1_fck",
1715 .clkctrl_offs
= AM33XX_CM_WKUP_TIMER1_CLKCTRL_OFFSET
,
1716 .modulemode
= MODULEMODE_SWCTRL
,
1721 static struct omap_hwmod_irq_info am33xx_timer2_irqs
[] = {
1722 { .irq
= 68 + OMAP_INTC_START
, },
1726 static struct omap_hwmod am33xx_timer2_hwmod
= {
1728 .class = &am33xx_timer_hwmod_class
,
1729 .clkdm_name
= "l4ls_clkdm",
1730 .mpu_irqs
= am33xx_timer2_irqs
,
1731 .main_clk
= "timer2_fck",
1734 .clkctrl_offs
= AM33XX_CM_PER_TIMER2_CLKCTRL_OFFSET
,
1735 .modulemode
= MODULEMODE_SWCTRL
,
1740 static struct omap_hwmod_irq_info am33xx_timer3_irqs
[] = {
1741 { .irq
= 69 + OMAP_INTC_START
, },
1745 static struct omap_hwmod am33xx_timer3_hwmod
= {
1747 .class = &am33xx_timer_hwmod_class
,
1748 .clkdm_name
= "l4ls_clkdm",
1749 .mpu_irqs
= am33xx_timer3_irqs
,
1750 .main_clk
= "timer3_fck",
1753 .clkctrl_offs
= AM33XX_CM_PER_TIMER3_CLKCTRL_OFFSET
,
1754 .modulemode
= MODULEMODE_SWCTRL
,
1759 static struct omap_hwmod_irq_info am33xx_timer4_irqs
[] = {
1760 { .irq
= 92 + OMAP_INTC_START
, },
1764 static struct omap_hwmod am33xx_timer4_hwmod
= {
1766 .class = &am33xx_timer_hwmod_class
,
1767 .clkdm_name
= "l4ls_clkdm",
1768 .mpu_irqs
= am33xx_timer4_irqs
,
1769 .main_clk
= "timer4_fck",
1772 .clkctrl_offs
= AM33XX_CM_PER_TIMER4_CLKCTRL_OFFSET
,
1773 .modulemode
= MODULEMODE_SWCTRL
,
1778 static struct omap_hwmod_irq_info am33xx_timer5_irqs
[] = {
1779 { .irq
= 93 + OMAP_INTC_START
, },
1783 static struct omap_hwmod am33xx_timer5_hwmod
= {
1785 .class = &am33xx_timer_hwmod_class
,
1786 .clkdm_name
= "l4ls_clkdm",
1787 .mpu_irqs
= am33xx_timer5_irqs
,
1788 .main_clk
= "timer5_fck",
1791 .clkctrl_offs
= AM33XX_CM_PER_TIMER5_CLKCTRL_OFFSET
,
1792 .modulemode
= MODULEMODE_SWCTRL
,
1797 static struct omap_hwmod_irq_info am33xx_timer6_irqs
[] = {
1798 { .irq
= 94 + OMAP_INTC_START
, },
1802 static struct omap_hwmod am33xx_timer6_hwmod
= {
1804 .class = &am33xx_timer_hwmod_class
,
1805 .clkdm_name
= "l4ls_clkdm",
1806 .mpu_irqs
= am33xx_timer6_irqs
,
1807 .main_clk
= "timer6_fck",
1810 .clkctrl_offs
= AM33XX_CM_PER_TIMER6_CLKCTRL_OFFSET
,
1811 .modulemode
= MODULEMODE_SWCTRL
,
1816 static struct omap_hwmod_irq_info am33xx_timer7_irqs
[] = {
1817 { .irq
= 95 + OMAP_INTC_START
, },
1821 static struct omap_hwmod am33xx_timer7_hwmod
= {
1823 .class = &am33xx_timer_hwmod_class
,
1824 .clkdm_name
= "l4ls_clkdm",
1825 .mpu_irqs
= am33xx_timer7_irqs
,
1826 .main_clk
= "timer7_fck",
1829 .clkctrl_offs
= AM33XX_CM_PER_TIMER7_CLKCTRL_OFFSET
,
1830 .modulemode
= MODULEMODE_SWCTRL
,
1836 static struct omap_hwmod_class am33xx_tpcc_hwmod_class
= {
1840 static struct omap_hwmod_irq_info am33xx_tpcc_irqs
[] = {
1841 { .name
= "edma0", .irq
= 12 + OMAP_INTC_START
, },
1842 { .name
= "edma0_mperr", .irq
= 13 + OMAP_INTC_START
, },
1843 { .name
= "edma0_err", .irq
= 14 + OMAP_INTC_START
, },
1847 static struct omap_hwmod am33xx_tpcc_hwmod
= {
1849 .class = &am33xx_tpcc_hwmod_class
,
1850 .clkdm_name
= "l3_clkdm",
1851 .mpu_irqs
= am33xx_tpcc_irqs
,
1852 .main_clk
= "l3_gclk",
1855 .clkctrl_offs
= AM33XX_CM_PER_TPCC_CLKCTRL_OFFSET
,
1856 .modulemode
= MODULEMODE_SWCTRL
,
1861 static struct omap_hwmod_class_sysconfig am33xx_tptc_sysc
= {
1864 .sysc_flags
= (SYSC_HAS_SIDLEMODE
| SYSC_HAS_SOFTRESET
|
1865 SYSC_HAS_MIDLEMODE
),
1866 .idlemodes
= (SIDLE_FORCE
| SIDLE_SMART
| MSTANDBY_FORCE
),
1867 .sysc_fields
= &omap_hwmod_sysc_type2
,
1871 static struct omap_hwmod_class am33xx_tptc_hwmod_class
= {
1873 .sysc
= &am33xx_tptc_sysc
,
1877 static struct omap_hwmod_irq_info am33xx_tptc0_irqs
[] = {
1878 { .irq
= 112 + OMAP_INTC_START
, },
1882 static struct omap_hwmod am33xx_tptc0_hwmod
= {
1884 .class = &am33xx_tptc_hwmod_class
,
1885 .clkdm_name
= "l3_clkdm",
1886 .mpu_irqs
= am33xx_tptc0_irqs
,
1887 .flags
= HWMOD_SWSUP_SIDLE
| HWMOD_SWSUP_MSTANDBY
,
1888 .main_clk
= "l3_gclk",
1891 .clkctrl_offs
= AM33XX_CM_PER_TPTC0_CLKCTRL_OFFSET
,
1892 .modulemode
= MODULEMODE_SWCTRL
,
1898 static struct omap_hwmod_irq_info am33xx_tptc1_irqs
[] = {
1899 { .irq
= 113 + OMAP_INTC_START
, },
1903 static struct omap_hwmod am33xx_tptc1_hwmod
= {
1905 .class = &am33xx_tptc_hwmod_class
,
1906 .clkdm_name
= "l3_clkdm",
1907 .mpu_irqs
= am33xx_tptc1_irqs
,
1908 .flags
= (HWMOD_SWSUP_SIDLE
| HWMOD_SWSUP_MSTANDBY
),
1909 .main_clk
= "l3_gclk",
1912 .clkctrl_offs
= AM33XX_CM_PER_TPTC1_CLKCTRL_OFFSET
,
1913 .modulemode
= MODULEMODE_SWCTRL
,
1919 static struct omap_hwmod_irq_info am33xx_tptc2_irqs
[] = {
1920 { .irq
= 114 + OMAP_INTC_START
, },
1924 static struct omap_hwmod am33xx_tptc2_hwmod
= {
1926 .class = &am33xx_tptc_hwmod_class
,
1927 .clkdm_name
= "l3_clkdm",
1928 .mpu_irqs
= am33xx_tptc2_irqs
,
1929 .flags
= (HWMOD_SWSUP_SIDLE
| HWMOD_SWSUP_MSTANDBY
),
1930 .main_clk
= "l3_gclk",
1933 .clkctrl_offs
= AM33XX_CM_PER_TPTC2_CLKCTRL_OFFSET
,
1934 .modulemode
= MODULEMODE_SWCTRL
,
1940 static struct omap_hwmod_class_sysconfig uart_sysc
= {
1944 .sysc_flags
= (SYSC_HAS_SIDLEMODE
| SYSC_HAS_ENAWAKEUP
|
1945 SYSC_HAS_SOFTRESET
| SYSC_HAS_AUTOIDLE
),
1946 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
|
1948 .sysc_fields
= &omap_hwmod_sysc_type1
,
1951 static struct omap_hwmod_class uart_class
= {
1957 static struct omap_hwmod_dma_info uart1_edma_reqs
[] = {
1958 { .name
= "tx", .dma_req
= 26, },
1959 { .name
= "rx", .dma_req
= 27, },
1963 static struct omap_hwmod_irq_info am33xx_uart1_irqs
[] = {
1964 { .irq
= 72 + OMAP_INTC_START
, },
1968 static struct omap_hwmod am33xx_uart1_hwmod
= {
1970 .class = &uart_class
,
1971 .clkdm_name
= "l4_wkup_clkdm",
1972 .mpu_irqs
= am33xx_uart1_irqs
,
1973 .sdma_reqs
= uart1_edma_reqs
,
1974 .main_clk
= "dpll_per_m2_div4_wkupdm_ck",
1977 .clkctrl_offs
= AM33XX_CM_WKUP_UART0_CLKCTRL_OFFSET
,
1978 .modulemode
= MODULEMODE_SWCTRL
,
1983 static struct omap_hwmod_irq_info am33xx_uart2_irqs
[] = {
1984 { .irq
= 73 + OMAP_INTC_START
, },
1988 static struct omap_hwmod am33xx_uart2_hwmod
= {
1990 .class = &uart_class
,
1991 .clkdm_name
= "l4ls_clkdm",
1992 .mpu_irqs
= am33xx_uart2_irqs
,
1993 .sdma_reqs
= uart1_edma_reqs
,
1994 .main_clk
= "dpll_per_m2_div4_ck",
1997 .clkctrl_offs
= AM33XX_CM_PER_UART1_CLKCTRL_OFFSET
,
1998 .modulemode
= MODULEMODE_SWCTRL
,
2004 static struct omap_hwmod_dma_info uart3_edma_reqs
[] = {
2005 { .name
= "tx", .dma_req
= 30, },
2006 { .name
= "rx", .dma_req
= 31, },
2010 static struct omap_hwmod_irq_info am33xx_uart3_irqs
[] = {
2011 { .irq
= 74 + OMAP_INTC_START
, },
2015 static struct omap_hwmod am33xx_uart3_hwmod
= {
2017 .class = &uart_class
,
2018 .clkdm_name
= "l4ls_clkdm",
2019 .mpu_irqs
= am33xx_uart3_irqs
,
2020 .sdma_reqs
= uart3_edma_reqs
,
2021 .main_clk
= "dpll_per_m2_div4_ck",
2024 .clkctrl_offs
= AM33XX_CM_PER_UART2_CLKCTRL_OFFSET
,
2025 .modulemode
= MODULEMODE_SWCTRL
,
2030 static struct omap_hwmod_irq_info am33xx_uart4_irqs
[] = {
2031 { .irq
= 44 + OMAP_INTC_START
, },
2035 static struct omap_hwmod am33xx_uart4_hwmod
= {
2037 .class = &uart_class
,
2038 .clkdm_name
= "l4ls_clkdm",
2039 .mpu_irqs
= am33xx_uart4_irqs
,
2040 .sdma_reqs
= uart1_edma_reqs
,
2041 .main_clk
= "dpll_per_m2_div4_ck",
2044 .clkctrl_offs
= AM33XX_CM_PER_UART3_CLKCTRL_OFFSET
,
2045 .modulemode
= MODULEMODE_SWCTRL
,
2050 static struct omap_hwmod_irq_info am33xx_uart5_irqs
[] = {
2051 { .irq
= 45 + OMAP_INTC_START
, },
2055 static struct omap_hwmod am33xx_uart5_hwmod
= {
2057 .class = &uart_class
,
2058 .clkdm_name
= "l4ls_clkdm",
2059 .mpu_irqs
= am33xx_uart5_irqs
,
2060 .sdma_reqs
= uart1_edma_reqs
,
2061 .main_clk
= "dpll_per_m2_div4_ck",
2064 .clkctrl_offs
= AM33XX_CM_PER_UART4_CLKCTRL_OFFSET
,
2065 .modulemode
= MODULEMODE_SWCTRL
,
2070 static struct omap_hwmod_irq_info am33xx_uart6_irqs
[] = {
2071 { .irq
= 46 + OMAP_INTC_START
, },
2075 static struct omap_hwmod am33xx_uart6_hwmod
= {
2077 .class = &uart_class
,
2078 .clkdm_name
= "l4ls_clkdm",
2079 .mpu_irqs
= am33xx_uart6_irqs
,
2080 .sdma_reqs
= uart1_edma_reqs
,
2081 .main_clk
= "dpll_per_m2_div4_ck",
2084 .clkctrl_offs
= AM33XX_CM_PER_UART5_CLKCTRL_OFFSET
,
2085 .modulemode
= MODULEMODE_SWCTRL
,
2090 /* 'wd_timer' class */
2091 static struct omap_hwmod_class am33xx_wd_timer_hwmod_class
= {
2096 * XXX: device.c file uses hardcoded name for watchdog timer
2097 * driver "wd_timer2, so we are also using same name as of now...
2099 static struct omap_hwmod am33xx_wd_timer1_hwmod
= {
2100 .name
= "wd_timer2",
2101 .class = &am33xx_wd_timer_hwmod_class
,
2102 .clkdm_name
= "l4_wkup_clkdm",
2103 .main_clk
= "wdt1_fck",
2106 .clkctrl_offs
= AM33XX_CM_WKUP_WDT1_CLKCTRL_OFFSET
,
2107 .modulemode
= MODULEMODE_SWCTRL
,
2114 * high-speed on-the-go universal serial bus (usb_otg) controller
2116 static struct omap_hwmod_class_sysconfig am33xx_usbhsotg_sysc
= {
2119 .sysc_flags
= (SYSC_HAS_SIDLEMODE
| SYSC_HAS_MIDLEMODE
),
2120 .idlemodes
= (SIDLE_FORCE
| SIDLE_NO
| SIDLE_SMART
|
2121 MSTANDBY_FORCE
| MSTANDBY_NO
| MSTANDBY_SMART
),
2122 .sysc_fields
= &omap_hwmod_sysc_type2
,
2125 static struct omap_hwmod_class am33xx_usbotg_class
= {
2127 .sysc
= &am33xx_usbhsotg_sysc
,
2130 static struct omap_hwmod_irq_info am33xx_usbss_mpu_irqs
[] = {
2131 { .name
= "usbss-irq", .irq
= 17 + OMAP_INTC_START
, },
2132 { .name
= "musb0-irq", .irq
= 18 + OMAP_INTC_START
, },
2133 { .name
= "musb1-irq", .irq
= 19 + OMAP_INTC_START
, },
2137 static struct omap_hwmod am33xx_usbss_hwmod
= {
2138 .name
= "usb_otg_hs",
2139 .class = &am33xx_usbotg_class
,
2140 .clkdm_name
= "l3s_clkdm",
2141 .mpu_irqs
= am33xx_usbss_mpu_irqs
,
2142 .flags
= HWMOD_SWSUP_SIDLE
| HWMOD_SWSUP_MSTANDBY
,
2143 .main_clk
= "usbotg_fck",
2146 .clkctrl_offs
= AM33XX_CM_PER_USB0_CLKCTRL_OFFSET
,
2147 .modulemode
= MODULEMODE_SWCTRL
,
2157 /* l4 fw -> emif fw */
2158 static struct omap_hwmod_ocp_if am33xx_l4_fw__emif_fw
= {
2159 .master
= &am33xx_l4_fw_hwmod
,
2160 .slave
= &am33xx_emif_fw_hwmod
,
2162 .user
= OCP_USER_MPU
,
2165 static struct omap_hwmod_addr_space am33xx_emif_addrs
[] = {
2167 .pa_start
= 0x4c000000,
2168 .pa_end
= 0x4c000fff,
2169 .flags
= ADDR_TYPE_RT
2173 /* l3 main -> emif */
2174 static struct omap_hwmod_ocp_if am33xx_l3_main__emif
= {
2175 .master
= &am33xx_l3_main_hwmod
,
2176 .slave
= &am33xx_emif_hwmod
,
2177 .clk
= "dpll_core_m4_ck",
2178 .addr
= am33xx_emif_addrs
,
2179 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2182 /* mpu -> l3 main */
2183 static struct omap_hwmod_ocp_if am33xx_mpu__l3_main
= {
2184 .master
= &am33xx_mpu_hwmod
,
2185 .slave
= &am33xx_l3_main_hwmod
,
2186 .clk
= "dpll_mpu_m2_ck",
2187 .user
= OCP_USER_MPU
,
2190 /* l3 main -> l4 hs */
2191 static struct omap_hwmod_ocp_if am33xx_l3_main__l4_hs
= {
2192 .master
= &am33xx_l3_main_hwmod
,
2193 .slave
= &am33xx_l4_hs_hwmod
,
2195 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2198 /* l3 main -> l3 s */
2199 static struct omap_hwmod_ocp_if am33xx_l3_main__l3_s
= {
2200 .master
= &am33xx_l3_main_hwmod
,
2201 .slave
= &am33xx_l3_s_hwmod
,
2203 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2206 /* l3 s -> l4 per/ls */
2207 static struct omap_hwmod_ocp_if am33xx_l3_s__l4_ls
= {
2208 .master
= &am33xx_l3_s_hwmod
,
2209 .slave
= &am33xx_l4_ls_hwmod
,
2211 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2214 /* l3 s -> l4 wkup */
2215 static struct omap_hwmod_ocp_if am33xx_l3_s__l4_wkup
= {
2216 .master
= &am33xx_l3_s_hwmod
,
2217 .slave
= &am33xx_l4_wkup_hwmod
,
2219 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2223 static struct omap_hwmod_ocp_if am33xx_l3_s__l4_fw
= {
2224 .master
= &am33xx_l3_s_hwmod
,
2225 .slave
= &am33xx_l4_fw_hwmod
,
2227 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2230 /* l3 main -> l3 instr */
2231 static struct omap_hwmod_ocp_if am33xx_l3_main__l3_instr
= {
2232 .master
= &am33xx_l3_main_hwmod
,
2233 .slave
= &am33xx_l3_instr_hwmod
,
2235 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2239 static struct omap_hwmod_ocp_if am33xx_mpu__prcm
= {
2240 .master
= &am33xx_mpu_hwmod
,
2241 .slave
= &am33xx_prcm_hwmod
,
2242 .clk
= "dpll_mpu_m2_ck",
2243 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2246 /* l3 s -> l3 main*/
2247 static struct omap_hwmod_ocp_if am33xx_l3_s__l3_main
= {
2248 .master
= &am33xx_l3_s_hwmod
,
2249 .slave
= &am33xx_l3_main_hwmod
,
2251 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2254 /* pru-icss -> l3 main */
2255 static struct omap_hwmod_ocp_if am33xx_pruss__l3_main
= {
2256 .master
= &am33xx_pruss_hwmod
,
2257 .slave
= &am33xx_l3_main_hwmod
,
2259 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2262 /* wkup m3 -> l4 wkup */
2263 static struct omap_hwmod_ocp_if am33xx_wkup_m3__l4_wkup
= {
2264 .master
= &am33xx_wkup_m3_hwmod
,
2265 .slave
= &am33xx_l4_wkup_hwmod
,
2266 .clk
= "dpll_core_m4_div2_ck",
2267 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2270 /* gfx -> l3 main */
2271 static struct omap_hwmod_ocp_if am33xx_gfx__l3_main
= {
2272 .master
= &am33xx_gfx_hwmod
,
2273 .slave
= &am33xx_l3_main_hwmod
,
2274 .clk
= "dpll_core_m4_ck",
2275 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2278 /* l4 wkup -> wkup m3 */
2279 static struct omap_hwmod_addr_space am33xx_wkup_m3_addrs
[] = {
2282 .pa_start
= 0x44d00000,
2283 .pa_end
= 0x44d00000 + SZ_16K
- 1,
2284 .flags
= ADDR_TYPE_RT
2288 .pa_start
= 0x44d80000,
2289 .pa_end
= 0x44d80000 + SZ_8K
- 1,
2290 .flags
= ADDR_TYPE_RT
2295 static struct omap_hwmod_ocp_if am33xx_l4_wkup__wkup_m3
= {
2296 .master
= &am33xx_l4_wkup_hwmod
,
2297 .slave
= &am33xx_wkup_m3_hwmod
,
2298 .clk
= "dpll_core_m4_div2_ck",
2299 .addr
= am33xx_wkup_m3_addrs
,
2300 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2303 /* l4 hs -> pru-icss */
2304 static struct omap_hwmod_addr_space am33xx_pruss_addrs
[] = {
2306 .pa_start
= 0x4a300000,
2307 .pa_end
= 0x4a300000 + SZ_512K
- 1,
2308 .flags
= ADDR_TYPE_RT
2313 static struct omap_hwmod_ocp_if am33xx_l4_hs__pruss
= {
2314 .master
= &am33xx_l4_hs_hwmod
,
2315 .slave
= &am33xx_pruss_hwmod
,
2316 .clk
= "dpll_core_m4_ck",
2317 .addr
= am33xx_pruss_addrs
,
2318 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2321 /* l3 main -> gfx */
2322 static struct omap_hwmod_addr_space am33xx_gfx_addrs
[] = {
2324 .pa_start
= 0x56000000,
2325 .pa_end
= 0x56000000 + SZ_16M
- 1,
2326 .flags
= ADDR_TYPE_RT
2331 static struct omap_hwmod_ocp_if am33xx_l3_main__gfx
= {
2332 .master
= &am33xx_l3_main_hwmod
,
2333 .slave
= &am33xx_gfx_hwmod
,
2334 .clk
= "dpll_core_m4_ck",
2335 .addr
= am33xx_gfx_addrs
,
2336 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2339 /* l4 wkup -> smartreflex0 */
2340 static struct omap_hwmod_addr_space am33xx_smartreflex0_addrs
[] = {
2342 .pa_start
= 0x44e37000,
2343 .pa_end
= 0x44e37000 + SZ_4K
- 1,
2344 .flags
= ADDR_TYPE_RT
2349 static struct omap_hwmod_ocp_if am33xx_l4_wkup__smartreflex0
= {
2350 .master
= &am33xx_l4_wkup_hwmod
,
2351 .slave
= &am33xx_smartreflex0_hwmod
,
2352 .clk
= "dpll_core_m4_div2_ck",
2353 .addr
= am33xx_smartreflex0_addrs
,
2354 .user
= OCP_USER_MPU
,
2357 /* l4 wkup -> smartreflex1 */
2358 static struct omap_hwmod_addr_space am33xx_smartreflex1_addrs
[] = {
2360 .pa_start
= 0x44e39000,
2361 .pa_end
= 0x44e39000 + SZ_4K
- 1,
2362 .flags
= ADDR_TYPE_RT
2367 static struct omap_hwmod_ocp_if am33xx_l4_wkup__smartreflex1
= {
2368 .master
= &am33xx_l4_wkup_hwmod
,
2369 .slave
= &am33xx_smartreflex1_hwmod
,
2370 .clk
= "dpll_core_m4_div2_ck",
2371 .addr
= am33xx_smartreflex1_addrs
,
2372 .user
= OCP_USER_MPU
,
2375 /* l4 wkup -> control */
2376 static struct omap_hwmod_addr_space am33xx_control_addrs
[] = {
2378 .pa_start
= 0x44e10000,
2379 .pa_end
= 0x44e10000 + SZ_8K
- 1,
2380 .flags
= ADDR_TYPE_RT
2385 static struct omap_hwmod_ocp_if am33xx_l4_wkup__control
= {
2386 .master
= &am33xx_l4_wkup_hwmod
,
2387 .slave
= &am33xx_control_hwmod
,
2388 .clk
= "dpll_core_m4_div2_ck",
2389 .addr
= am33xx_control_addrs
,
2390 .user
= OCP_USER_MPU
,
2393 /* l4 wkup -> rtc */
2394 static struct omap_hwmod_addr_space am33xx_rtc_addrs
[] = {
2396 .pa_start
= 0x44e3e000,
2397 .pa_end
= 0x44e3e000 + SZ_4K
- 1,
2398 .flags
= ADDR_TYPE_RT
2403 static struct omap_hwmod_ocp_if am33xx_l4_wkup__rtc
= {
2404 .master
= &am33xx_l4_wkup_hwmod
,
2405 .slave
= &am33xx_rtc_hwmod
,
2406 .clk
= "clkdiv32k_ick",
2407 .addr
= am33xx_rtc_addrs
,
2408 .user
= OCP_USER_MPU
,
2411 /* l4 per/ls -> DCAN0 */
2412 static struct omap_hwmod_addr_space am33xx_dcan0_addrs
[] = {
2414 .pa_start
= 0x481CC000,
2415 .pa_end
= 0x481CC000 + SZ_4K
- 1,
2416 .flags
= ADDR_TYPE_RT
2421 static struct omap_hwmod_ocp_if am33xx_l4_per__dcan0
= {
2422 .master
= &am33xx_l4_ls_hwmod
,
2423 .slave
= &am33xx_dcan0_hwmod
,
2425 .addr
= am33xx_dcan0_addrs
,
2426 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2429 /* l4 per/ls -> DCAN1 */
2430 static struct omap_hwmod_addr_space am33xx_dcan1_addrs
[] = {
2432 .pa_start
= 0x481D0000,
2433 .pa_end
= 0x481D0000 + SZ_4K
- 1,
2434 .flags
= ADDR_TYPE_RT
2439 static struct omap_hwmod_ocp_if am33xx_l4_per__dcan1
= {
2440 .master
= &am33xx_l4_ls_hwmod
,
2441 .slave
= &am33xx_dcan1_hwmod
,
2443 .addr
= am33xx_dcan1_addrs
,
2444 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2447 /* l4 per/ls -> GPIO2 */
2448 static struct omap_hwmod_addr_space am33xx_gpio1_addrs
[] = {
2450 .pa_start
= 0x4804C000,
2451 .pa_end
= 0x4804C000 + SZ_4K
- 1,
2452 .flags
= ADDR_TYPE_RT
,
2457 static struct omap_hwmod_ocp_if am33xx_l4_per__gpio1
= {
2458 .master
= &am33xx_l4_ls_hwmod
,
2459 .slave
= &am33xx_gpio1_hwmod
,
2461 .addr
= am33xx_gpio1_addrs
,
2462 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2465 /* l4 per/ls -> gpio3 */
2466 static struct omap_hwmod_addr_space am33xx_gpio2_addrs
[] = {
2468 .pa_start
= 0x481AC000,
2469 .pa_end
= 0x481AC000 + SZ_4K
- 1,
2470 .flags
= ADDR_TYPE_RT
,
2475 static struct omap_hwmod_ocp_if am33xx_l4_per__gpio2
= {
2476 .master
= &am33xx_l4_ls_hwmod
,
2477 .slave
= &am33xx_gpio2_hwmod
,
2479 .addr
= am33xx_gpio2_addrs
,
2480 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2483 /* l4 per/ls -> gpio4 */
2484 static struct omap_hwmod_addr_space am33xx_gpio3_addrs
[] = {
2486 .pa_start
= 0x481AE000,
2487 .pa_end
= 0x481AE000 + SZ_4K
- 1,
2488 .flags
= ADDR_TYPE_RT
,
2493 static struct omap_hwmod_ocp_if am33xx_l4_per__gpio3
= {
2494 .master
= &am33xx_l4_ls_hwmod
,
2495 .slave
= &am33xx_gpio3_hwmod
,
2497 .addr
= am33xx_gpio3_addrs
,
2498 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2501 /* L4 WKUP -> I2C1 */
2502 static struct omap_hwmod_addr_space am33xx_i2c1_addr_space
[] = {
2504 .pa_start
= 0x44E0B000,
2505 .pa_end
= 0x44E0B000 + SZ_4K
- 1,
2506 .flags
= ADDR_TYPE_RT
,
2511 static struct omap_hwmod_ocp_if am33xx_l4_wkup__i2c1
= {
2512 .master
= &am33xx_l4_wkup_hwmod
,
2513 .slave
= &am33xx_i2c1_hwmod
,
2514 .clk
= "dpll_core_m4_div2_ck",
2515 .addr
= am33xx_i2c1_addr_space
,
2516 .user
= OCP_USER_MPU
,
2519 /* L4 WKUP -> GPIO1 */
2520 static struct omap_hwmod_addr_space am33xx_gpio0_addrs
[] = {
2522 .pa_start
= 0x44E07000,
2523 .pa_end
= 0x44E07000 + SZ_4K
- 1,
2524 .flags
= ADDR_TYPE_RT
,
2529 static struct omap_hwmod_ocp_if am33xx_l4_wkup__gpio0
= {
2530 .master
= &am33xx_l4_wkup_hwmod
,
2531 .slave
= &am33xx_gpio0_hwmod
,
2532 .clk
= "dpll_core_m4_div2_ck",
2533 .addr
= am33xx_gpio0_addrs
,
2534 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
2537 /* L4 WKUP -> ADC_TSC */
2538 static struct omap_hwmod_addr_space am33xx_adc_tsc_addrs
[] = {
2540 .pa_start
= 0x44E0D000,
2541 .pa_end
= 0x44E0D000 + SZ_8K
- 1,
2542 .flags
= ADDR_TYPE_RT
2547 static struct omap_hwmod_ocp_if am33xx_l4_wkup__adc_tsc
= {
2548 .master
= &am33xx_l4_wkup_hwmod
,
2549 .slave
= &am33xx_adc_tsc_hwmod
,
2550 .clk
= "dpll_core_m4_div2_ck",
2551 .addr
= am33xx_adc_tsc_addrs
,
2552 .user
= OCP_USER_MPU
,
2555 static struct omap_hwmod_addr_space am33xx_cpgmac0_addr_space
[] = {
2558 .pa_start
= 0x4a100000,
2559 .pa_end
= 0x4a100000 + SZ_2K
- 1,
2563 .pa_start
= 0x4a101200,
2564 .pa_end
= 0x4a101200 + SZ_256
- 1,
2565 .flags
= ADDR_TYPE_RT
,
2570 static struct omap_hwmod_ocp_if am33xx_l4_hs__cpgmac0
= {
2571 .master
= &am33xx_l4_hs_hwmod
,
2572 .slave
= &am33xx_cpgmac0_hwmod
,
2573 .clk
= "cpsw_125mhz_gclk",
2574 .addr
= am33xx_cpgmac0_addr_space
,
2575 .user
= OCP_USER_MPU
,
2578 static struct omap_hwmod_addr_space am33xx_mdio_addr_space
[] = {
2580 .pa_start
= 0x4A101000,
2581 .pa_end
= 0x4A101000 + SZ_256
- 1,
2586 static struct omap_hwmod_ocp_if am33xx_cpgmac0__mdio
= {
2587 .master
= &am33xx_cpgmac0_hwmod
,
2588 .slave
= &am33xx_mdio_hwmod
,
2589 .addr
= am33xx_mdio_addr_space
,
2590 .user
= OCP_USER_MPU
,
2593 static struct omap_hwmod_addr_space am33xx_elm_addr_space
[] = {
2595 .pa_start
= 0x48080000,
2596 .pa_end
= 0x48080000 + SZ_8K
- 1,
2597 .flags
= ADDR_TYPE_RT
2602 static struct omap_hwmod_ocp_if am33xx_l4_ls__elm
= {
2603 .master
= &am33xx_l4_ls_hwmod
,
2604 .slave
= &am33xx_elm_hwmod
,
2606 .addr
= am33xx_elm_addr_space
,
2607 .user
= OCP_USER_MPU
,
2611 * Splitting the resources to handle access of PWMSS config space
2612 * and module specific part independently
2614 static struct omap_hwmod_addr_space am33xx_ehrpwm0_addr_space
[] = {
2616 .pa_start
= 0x48300000,
2617 .pa_end
= 0x48300000 + SZ_16
- 1,
2618 .flags
= ADDR_TYPE_RT
2621 .pa_start
= 0x48300200,
2622 .pa_end
= 0x48300200 + SZ_128
- 1,
2627 static struct omap_hwmod_ocp_if am33xx_l4_ls__ehrpwm0
= {
2628 .master
= &am33xx_l4_ls_hwmod
,
2629 .slave
= &am33xx_ehrpwm0_hwmod
,
2631 .addr
= am33xx_ehrpwm0_addr_space
,
2632 .user
= OCP_USER_MPU
,
2636 * Splitting the resources to handle access of PWMSS config space
2637 * and module specific part independently
2639 static struct omap_hwmod_addr_space am33xx_ehrpwm1_addr_space
[] = {
2641 .pa_start
= 0x48302000,
2642 .pa_end
= 0x48302000 + SZ_16
- 1,
2643 .flags
= ADDR_TYPE_RT
2646 .pa_start
= 0x48302200,
2647 .pa_end
= 0x48302200 + SZ_128
- 1,
2652 static struct omap_hwmod_ocp_if am33xx_l4_ls__ehrpwm1
= {
2653 .master
= &am33xx_l4_ls_hwmod
,
2654 .slave
= &am33xx_ehrpwm1_hwmod
,
2656 .addr
= am33xx_ehrpwm1_addr_space
,
2657 .user
= OCP_USER_MPU
,
2661 * Splitting the resources to handle access of PWMSS config space
2662 * and module specific part independently
2664 static struct omap_hwmod_addr_space am33xx_ehrpwm2_addr_space
[] = {
2666 .pa_start
= 0x48304000,
2667 .pa_end
= 0x48304000 + SZ_16
- 1,
2668 .flags
= ADDR_TYPE_RT
2671 .pa_start
= 0x48304200,
2672 .pa_end
= 0x48304200 + SZ_128
- 1,
2677 static struct omap_hwmod_ocp_if am33xx_l4_ls__ehrpwm2
= {
2678 .master
= &am33xx_l4_ls_hwmod
,
2679 .slave
= &am33xx_ehrpwm2_hwmod
,
2681 .addr
= am33xx_ehrpwm2_addr_space
,
2682 .user
= OCP_USER_MPU
,
2686 * Splitting the resources to handle access of PWMSS config space
2687 * and module specific part independently
2689 static struct omap_hwmod_addr_space am33xx_eqep0_addr_space
[] = {
2691 .pa_start
= 0x48300000,
2692 .pa_end
= 0x48300000 + SZ_16
- 1,
2693 .flags
= ADDR_TYPE_RT
2696 .pa_start
= 0x48300180,
2697 .pa_end
= 0x48300180 + SZ_128
- 1,
2702 static struct omap_hwmod_ocp_if am33xx_l4_ls__eqep0
= {
2703 .master
= &am33xx_l4_ls_hwmod
,
2704 .slave
= &am33xx_eqep0_hwmod
,
2706 .addr
= am33xx_eqep0_addr_space
,
2707 .user
= OCP_USER_MPU
,
2711 * Splitting the resources to handle access of PWMSS config space
2712 * and module specific part independently
2714 static struct omap_hwmod_addr_space am33xx_eqep1_addr_space
[] = {
2716 .pa_start
= 0x48302000,
2717 .pa_end
= 0x48302000 + SZ_16
- 1,
2718 .flags
= ADDR_TYPE_RT
2721 .pa_start
= 0x48302180,
2722 .pa_end
= 0x48302180 + SZ_128
- 1,
2727 static struct omap_hwmod_ocp_if am33xx_l4_ls__eqep1
= {
2728 .master
= &am33xx_l4_ls_hwmod
,
2729 .slave
= &am33xx_eqep1_hwmod
,
2731 .addr
= am33xx_eqep1_addr_space
,
2732 .user
= OCP_USER_MPU
,
2736 * Splitting the resources to handle access of PWMSS config space
2737 * and module specific part independently
2739 static struct omap_hwmod_addr_space am33xx_eqep2_addr_space
[] = {
2741 .pa_start
= 0x48304000,
2742 .pa_end
= 0x48304000 + SZ_16
- 1,
2743 .flags
= ADDR_TYPE_RT
2746 .pa_start
= 0x48304180,
2747 .pa_end
= 0x48304180 + SZ_128
- 1,
2752 static struct omap_hwmod_ocp_if am33xx_l4_ls__eqep2
= {
2753 .master
= &am33xx_l4_ls_hwmod
,
2754 .slave
= &am33xx_eqep2_hwmod
,
2756 .addr
= am33xx_eqep2_addr_space
,
2757 .user
= OCP_USER_MPU
,
2761 * Splitting the resources to handle access of PWMSS config space
2762 * and module specific part independently
2764 static struct omap_hwmod_addr_space am33xx_ecap0_addr_space
[] = {
2766 .pa_start
= 0x48300000,
2767 .pa_end
= 0x48300000 + SZ_16
- 1,
2768 .flags
= ADDR_TYPE_RT
2771 .pa_start
= 0x48300100,
2772 .pa_end
= 0x48300100 + SZ_128
- 1,
2777 static struct omap_hwmod_ocp_if am33xx_l4_ls__ecap0
= {
2778 .master
= &am33xx_l4_ls_hwmod
,
2779 .slave
= &am33xx_ecap0_hwmod
,
2781 .addr
= am33xx_ecap0_addr_space
,
2782 .user
= OCP_USER_MPU
,
2786 * Splitting the resources to handle access of PWMSS config space
2787 * and module specific part independently
2789 static struct omap_hwmod_addr_space am33xx_ecap1_addr_space
[] = {
2791 .pa_start
= 0x48302000,
2792 .pa_end
= 0x48302000 + SZ_16
- 1,
2793 .flags
= ADDR_TYPE_RT
2796 .pa_start
= 0x48302100,
2797 .pa_end
= 0x48302100 + SZ_128
- 1,
2802 static struct omap_hwmod_ocp_if am33xx_l4_ls__ecap1
= {
2803 .master
= &am33xx_l4_ls_hwmod
,
2804 .slave
= &am33xx_ecap1_hwmod
,
2806 .addr
= am33xx_ecap1_addr_space
,
2807 .user
= OCP_USER_MPU
,
2811 * Splitting the resources to handle access of PWMSS config space
2812 * and module specific part independently
2814 static struct omap_hwmod_addr_space am33xx_ecap2_addr_space
[] = {
2816 .pa_start
= 0x48304000,
2817 .pa_end
= 0x48304000 + SZ_16
- 1,
2818 .flags
= ADDR_TYPE_RT
2821 .pa_start
= 0x48304100,
2822 .pa_end
= 0x48304100 + SZ_128
- 1,
2827 static struct omap_hwmod_ocp_if am33xx_l4_ls__ecap2
= {
2828 .master
= &am33xx_l4_ls_hwmod
,
2829 .slave
= &am33xx_ecap2_hwmod
,
2831 .addr
= am33xx_ecap2_addr_space
,
2832 .user
= OCP_USER_MPU
,
2835 /* l3s cfg -> gpmc */
2836 static struct omap_hwmod_addr_space am33xx_gpmc_addr_space
[] = {
2838 .pa_start
= 0x50000000,
2839 .pa_end
= 0x50000000 + SZ_8K
- 1,
2840 .flags
= ADDR_TYPE_RT
,
2845 static struct omap_hwmod_ocp_if am33xx_l3_s__gpmc
= {
2846 .master
= &am33xx_l3_s_hwmod
,
2847 .slave
= &am33xx_gpmc_hwmod
,
2849 .addr
= am33xx_gpmc_addr_space
,
2850 .user
= OCP_USER_MPU
,
2854 static struct omap_hwmod_addr_space am33xx_i2c2_addr_space
[] = {
2856 .pa_start
= 0x4802A000,
2857 .pa_end
= 0x4802A000 + SZ_4K
- 1,
2858 .flags
= ADDR_TYPE_RT
,
2863 static struct omap_hwmod_ocp_if am33xx_l4_per__i2c2
= {
2864 .master
= &am33xx_l4_ls_hwmod
,
2865 .slave
= &am33xx_i2c2_hwmod
,
2867 .addr
= am33xx_i2c2_addr_space
,
2868 .user
= OCP_USER_MPU
,
2871 static struct omap_hwmod_addr_space am33xx_i2c3_addr_space
[] = {
2873 .pa_start
= 0x4819C000,
2874 .pa_end
= 0x4819C000 + SZ_4K
- 1,
2875 .flags
= ADDR_TYPE_RT
2880 static struct omap_hwmod_ocp_if am33xx_l4_per__i2c3
= {
2881 .master
= &am33xx_l4_ls_hwmod
,
2882 .slave
= &am33xx_i2c3_hwmod
,
2884 .addr
= am33xx_i2c3_addr_space
,
2885 .user
= OCP_USER_MPU
,
2888 static struct omap_hwmod_addr_space am33xx_lcdc_addr_space
[] = {
2890 .pa_start
= 0x4830E000,
2891 .pa_end
= 0x4830E000 + SZ_8K
- 1,
2892 .flags
= ADDR_TYPE_RT
,
2897 static struct omap_hwmod_ocp_if am33xx_l3_main__lcdc
= {
2898 .master
= &am33xx_l3_main_hwmod
,
2899 .slave
= &am33xx_lcdc_hwmod
,
2900 .clk
= "dpll_core_m4_ck",
2901 .addr
= am33xx_lcdc_addr_space
,
2902 .user
= OCP_USER_MPU
,
2905 static struct omap_hwmod_addr_space am33xx_mailbox_addrs
[] = {
2907 .pa_start
= 0x480C8000,
2908 .pa_end
= 0x480C8000 + (SZ_4K
- 1),
2909 .flags
= ADDR_TYPE_RT
2914 /* l4 ls -> mailbox */
2915 static struct omap_hwmod_ocp_if am33xx_l4_per__mailbox
= {
2916 .master
= &am33xx_l4_ls_hwmod
,
2917 .slave
= &am33xx_mailbox_hwmod
,
2919 .addr
= am33xx_mailbox_addrs
,
2920 .user
= OCP_USER_MPU
,
2923 /* l4 ls -> spinlock */
2924 static struct omap_hwmod_addr_space am33xx_spinlock_addrs
[] = {
2926 .pa_start
= 0x480Ca000,
2927 .pa_end
= 0x480Ca000 + SZ_4K
- 1,
2928 .flags
= ADDR_TYPE_RT
2933 static struct omap_hwmod_ocp_if am33xx_l4_ls__spinlock
= {
2934 .master
= &am33xx_l4_ls_hwmod
,
2935 .slave
= &am33xx_spinlock_hwmod
,
2937 .addr
= am33xx_spinlock_addrs
,
2938 .user
= OCP_USER_MPU
,
2941 /* l4 ls -> mcasp0 */
2942 static struct omap_hwmod_addr_space am33xx_mcasp0_addr_space
[] = {
2944 .pa_start
= 0x48038000,
2945 .pa_end
= 0x48038000 + SZ_8K
- 1,
2946 .flags
= ADDR_TYPE_RT
2951 static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp0
= {
2952 .master
= &am33xx_l4_ls_hwmod
,
2953 .slave
= &am33xx_mcasp0_hwmod
,
2955 .addr
= am33xx_mcasp0_addr_space
,
2956 .user
= OCP_USER_MPU
,
2959 /* l3 s -> mcasp0 data */
2960 static struct omap_hwmod_addr_space am33xx_mcasp0_data_addr_space
[] = {
2962 .pa_start
= 0x46000000,
2963 .pa_end
= 0x46000000 + SZ_4M
- 1,
2964 .flags
= ADDR_TYPE_RT
2969 static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp0_data
= {
2970 .master
= &am33xx_l3_s_hwmod
,
2971 .slave
= &am33xx_mcasp0_hwmod
,
2973 .addr
= am33xx_mcasp0_data_addr_space
,
2974 .user
= OCP_USER_SDMA
,
2977 /* l4 ls -> mcasp1 */
2978 static struct omap_hwmod_addr_space am33xx_mcasp1_addr_space
[] = {
2980 .pa_start
= 0x4803C000,
2981 .pa_end
= 0x4803C000 + SZ_8K
- 1,
2982 .flags
= ADDR_TYPE_RT
2987 static struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp1
= {
2988 .master
= &am33xx_l4_ls_hwmod
,
2989 .slave
= &am33xx_mcasp1_hwmod
,
2991 .addr
= am33xx_mcasp1_addr_space
,
2992 .user
= OCP_USER_MPU
,
2995 /* l3 s -> mcasp1 data */
2996 static struct omap_hwmod_addr_space am33xx_mcasp1_data_addr_space
[] = {
2998 .pa_start
= 0x46400000,
2999 .pa_end
= 0x46400000 + SZ_4M
- 1,
3000 .flags
= ADDR_TYPE_RT
3005 static struct omap_hwmod_ocp_if am33xx_l3_s__mcasp1_data
= {
3006 .master
= &am33xx_l3_s_hwmod
,
3007 .slave
= &am33xx_mcasp1_hwmod
,
3009 .addr
= am33xx_mcasp1_data_addr_space
,
3010 .user
= OCP_USER_SDMA
,
3014 static struct omap_hwmod_addr_space am33xx_mmc0_addr_space
[] = {
3016 .pa_start
= 0x48060100,
3017 .pa_end
= 0x48060100 + SZ_4K
- 1,
3018 .flags
= ADDR_TYPE_RT
,
3023 static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc0
= {
3024 .master
= &am33xx_l4_ls_hwmod
,
3025 .slave
= &am33xx_mmc0_hwmod
,
3027 .addr
= am33xx_mmc0_addr_space
,
3028 .user
= OCP_USER_MPU
,
3032 static struct omap_hwmod_addr_space am33xx_mmc1_addr_space
[] = {
3034 .pa_start
= 0x481d8100,
3035 .pa_end
= 0x481d8100 + SZ_4K
- 1,
3036 .flags
= ADDR_TYPE_RT
,
3041 static struct omap_hwmod_ocp_if am33xx_l4_ls__mmc1
= {
3042 .master
= &am33xx_l4_ls_hwmod
,
3043 .slave
= &am33xx_mmc1_hwmod
,
3045 .addr
= am33xx_mmc1_addr_space
,
3046 .user
= OCP_USER_MPU
,
3050 static struct omap_hwmod_addr_space am33xx_mmc2_addr_space
[] = {
3052 .pa_start
= 0x47810100,
3053 .pa_end
= 0x47810100 + SZ_64K
- 1,
3054 .flags
= ADDR_TYPE_RT
,
3059 static struct omap_hwmod_ocp_if am33xx_l3_s__mmc2
= {
3060 .master
= &am33xx_l3_s_hwmod
,
3061 .slave
= &am33xx_mmc2_hwmod
,
3063 .addr
= am33xx_mmc2_addr_space
,
3064 .user
= OCP_USER_MPU
,
3067 /* l4 ls -> mcspi0 */
3068 static struct omap_hwmod_addr_space am33xx_mcspi0_addr_space
[] = {
3070 .pa_start
= 0x48030000,
3071 .pa_end
= 0x48030000 + SZ_1K
- 1,
3072 .flags
= ADDR_TYPE_RT
,
3077 static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi0
= {
3078 .master
= &am33xx_l4_ls_hwmod
,
3079 .slave
= &am33xx_spi0_hwmod
,
3081 .addr
= am33xx_mcspi0_addr_space
,
3082 .user
= OCP_USER_MPU
,
3085 /* l4 ls -> mcspi1 */
3086 static struct omap_hwmod_addr_space am33xx_mcspi1_addr_space
[] = {
3088 .pa_start
= 0x481A0000,
3089 .pa_end
= 0x481A0000 + SZ_1K
- 1,
3090 .flags
= ADDR_TYPE_RT
,
3095 static struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi1
= {
3096 .master
= &am33xx_l4_ls_hwmod
,
3097 .slave
= &am33xx_spi1_hwmod
,
3099 .addr
= am33xx_mcspi1_addr_space
,
3100 .user
= OCP_USER_MPU
,
3103 /* l4 wkup -> timer1 */
3104 static struct omap_hwmod_addr_space am33xx_timer1_addr_space
[] = {
3106 .pa_start
= 0x44E31000,
3107 .pa_end
= 0x44E31000 + SZ_1K
- 1,
3108 .flags
= ADDR_TYPE_RT
3113 static struct omap_hwmod_ocp_if am33xx_l4_wkup__timer1
= {
3114 .master
= &am33xx_l4_wkup_hwmod
,
3115 .slave
= &am33xx_timer1_hwmod
,
3116 .clk
= "dpll_core_m4_div2_ck",
3117 .addr
= am33xx_timer1_addr_space
,
3118 .user
= OCP_USER_MPU
,
3121 /* l4 per -> timer2 */
3122 static struct omap_hwmod_addr_space am33xx_timer2_addr_space
[] = {
3124 .pa_start
= 0x48040000,
3125 .pa_end
= 0x48040000 + SZ_1K
- 1,
3126 .flags
= ADDR_TYPE_RT
3131 static struct omap_hwmod_ocp_if am33xx_l4_ls__timer2
= {
3132 .master
= &am33xx_l4_ls_hwmod
,
3133 .slave
= &am33xx_timer2_hwmod
,
3135 .addr
= am33xx_timer2_addr_space
,
3136 .user
= OCP_USER_MPU
,
3139 /* l4 per -> timer3 */
3140 static struct omap_hwmod_addr_space am33xx_timer3_addr_space
[] = {
3142 .pa_start
= 0x48042000,
3143 .pa_end
= 0x48042000 + SZ_1K
- 1,
3144 .flags
= ADDR_TYPE_RT
3149 static struct omap_hwmod_ocp_if am33xx_l4_ls__timer3
= {
3150 .master
= &am33xx_l4_ls_hwmod
,
3151 .slave
= &am33xx_timer3_hwmod
,
3153 .addr
= am33xx_timer3_addr_space
,
3154 .user
= OCP_USER_MPU
,
3157 /* l4 per -> timer4 */
3158 static struct omap_hwmod_addr_space am33xx_timer4_addr_space
[] = {
3160 .pa_start
= 0x48044000,
3161 .pa_end
= 0x48044000 + SZ_1K
- 1,
3162 .flags
= ADDR_TYPE_RT
3167 static struct omap_hwmod_ocp_if am33xx_l4_ls__timer4
= {
3168 .master
= &am33xx_l4_ls_hwmod
,
3169 .slave
= &am33xx_timer4_hwmod
,
3171 .addr
= am33xx_timer4_addr_space
,
3172 .user
= OCP_USER_MPU
,
3175 /* l4 per -> timer5 */
3176 static struct omap_hwmod_addr_space am33xx_timer5_addr_space
[] = {
3178 .pa_start
= 0x48046000,
3179 .pa_end
= 0x48046000 + SZ_1K
- 1,
3180 .flags
= ADDR_TYPE_RT
3185 static struct omap_hwmod_ocp_if am33xx_l4_ls__timer5
= {
3186 .master
= &am33xx_l4_ls_hwmod
,
3187 .slave
= &am33xx_timer5_hwmod
,
3189 .addr
= am33xx_timer5_addr_space
,
3190 .user
= OCP_USER_MPU
,
3193 /* l4 per -> timer6 */
3194 static struct omap_hwmod_addr_space am33xx_timer6_addr_space
[] = {
3196 .pa_start
= 0x48048000,
3197 .pa_end
= 0x48048000 + SZ_1K
- 1,
3198 .flags
= ADDR_TYPE_RT
3203 static struct omap_hwmod_ocp_if am33xx_l4_ls__timer6
= {
3204 .master
= &am33xx_l4_ls_hwmod
,
3205 .slave
= &am33xx_timer6_hwmod
,
3207 .addr
= am33xx_timer6_addr_space
,
3208 .user
= OCP_USER_MPU
,
3211 /* l4 per -> timer7 */
3212 static struct omap_hwmod_addr_space am33xx_timer7_addr_space
[] = {
3214 .pa_start
= 0x4804A000,
3215 .pa_end
= 0x4804A000 + SZ_1K
- 1,
3216 .flags
= ADDR_TYPE_RT
3221 static struct omap_hwmod_ocp_if am33xx_l4_ls__timer7
= {
3222 .master
= &am33xx_l4_ls_hwmod
,
3223 .slave
= &am33xx_timer7_hwmod
,
3225 .addr
= am33xx_timer7_addr_space
,
3226 .user
= OCP_USER_MPU
,
3229 /* l3 main -> tpcc */
3230 static struct omap_hwmod_addr_space am33xx_tpcc_addr_space
[] = {
3232 .pa_start
= 0x49000000,
3233 .pa_end
= 0x49000000 + SZ_32K
- 1,
3234 .flags
= ADDR_TYPE_RT
3239 static struct omap_hwmod_ocp_if am33xx_l3_main__tpcc
= {
3240 .master
= &am33xx_l3_main_hwmod
,
3241 .slave
= &am33xx_tpcc_hwmod
,
3243 .addr
= am33xx_tpcc_addr_space
,
3244 .user
= OCP_USER_MPU
,
3247 /* l3 main -> tpcc0 */
3248 static struct omap_hwmod_addr_space am33xx_tptc0_addr_space
[] = {
3250 .pa_start
= 0x49800000,
3251 .pa_end
= 0x49800000 + SZ_8K
- 1,
3252 .flags
= ADDR_TYPE_RT
,
3257 static struct omap_hwmod_ocp_if am33xx_l3_main__tptc0
= {
3258 .master
= &am33xx_l3_main_hwmod
,
3259 .slave
= &am33xx_tptc0_hwmod
,
3261 .addr
= am33xx_tptc0_addr_space
,
3262 .user
= OCP_USER_MPU
,
3265 /* l3 main -> tpcc1 */
3266 static struct omap_hwmod_addr_space am33xx_tptc1_addr_space
[] = {
3268 .pa_start
= 0x49900000,
3269 .pa_end
= 0x49900000 + SZ_8K
- 1,
3270 .flags
= ADDR_TYPE_RT
,
3275 static struct omap_hwmod_ocp_if am33xx_l3_main__tptc1
= {
3276 .master
= &am33xx_l3_main_hwmod
,
3277 .slave
= &am33xx_tptc1_hwmod
,
3279 .addr
= am33xx_tptc1_addr_space
,
3280 .user
= OCP_USER_MPU
,
3283 /* l3 main -> tpcc2 */
3284 static struct omap_hwmod_addr_space am33xx_tptc2_addr_space
[] = {
3286 .pa_start
= 0x49a00000,
3287 .pa_end
= 0x49a00000 + SZ_8K
- 1,
3288 .flags
= ADDR_TYPE_RT
,
3293 static struct omap_hwmod_ocp_if am33xx_l3_main__tptc2
= {
3294 .master
= &am33xx_l3_main_hwmod
,
3295 .slave
= &am33xx_tptc2_hwmod
,
3297 .addr
= am33xx_tptc2_addr_space
,
3298 .user
= OCP_USER_MPU
,
3301 /* l4 wkup -> uart1 */
3302 static struct omap_hwmod_addr_space am33xx_uart1_addr_space
[] = {
3304 .pa_start
= 0x44E09000,
3305 .pa_end
= 0x44E09000 + SZ_8K
- 1,
3306 .flags
= ADDR_TYPE_RT
,
3311 static struct omap_hwmod_ocp_if am33xx_l4_wkup__uart1
= {
3312 .master
= &am33xx_l4_wkup_hwmod
,
3313 .slave
= &am33xx_uart1_hwmod
,
3314 .clk
= "dpll_core_m4_div2_ck",
3315 .addr
= am33xx_uart1_addr_space
,
3316 .user
= OCP_USER_MPU
,
3319 /* l4 ls -> uart2 */
3320 static struct omap_hwmod_addr_space am33xx_uart2_addr_space
[] = {
3322 .pa_start
= 0x48022000,
3323 .pa_end
= 0x48022000 + SZ_8K
- 1,
3324 .flags
= ADDR_TYPE_RT
,
3329 static struct omap_hwmod_ocp_if am33xx_l4_ls__uart2
= {
3330 .master
= &am33xx_l4_ls_hwmod
,
3331 .slave
= &am33xx_uart2_hwmod
,
3333 .addr
= am33xx_uart2_addr_space
,
3334 .user
= OCP_USER_MPU
,
3337 /* l4 ls -> uart3 */
3338 static struct omap_hwmod_addr_space am33xx_uart3_addr_space
[] = {
3340 .pa_start
= 0x48024000,
3341 .pa_end
= 0x48024000 + SZ_8K
- 1,
3342 .flags
= ADDR_TYPE_RT
,
3347 static struct omap_hwmod_ocp_if am33xx_l4_ls__uart3
= {
3348 .master
= &am33xx_l4_ls_hwmod
,
3349 .slave
= &am33xx_uart3_hwmod
,
3351 .addr
= am33xx_uart3_addr_space
,
3352 .user
= OCP_USER_MPU
,
3355 /* l4 ls -> uart4 */
3356 static struct omap_hwmod_addr_space am33xx_uart4_addr_space
[] = {
3358 .pa_start
= 0x481A6000,
3359 .pa_end
= 0x481A6000 + SZ_8K
- 1,
3360 .flags
= ADDR_TYPE_RT
,
3365 static struct omap_hwmod_ocp_if am33xx_l4_ls__uart4
= {
3366 .master
= &am33xx_l4_ls_hwmod
,
3367 .slave
= &am33xx_uart4_hwmod
,
3369 .addr
= am33xx_uart4_addr_space
,
3370 .user
= OCP_USER_MPU
,
3373 /* l4 ls -> uart5 */
3374 static struct omap_hwmod_addr_space am33xx_uart5_addr_space
[] = {
3376 .pa_start
= 0x481A8000,
3377 .pa_end
= 0x481A8000 + SZ_8K
- 1,
3378 .flags
= ADDR_TYPE_RT
,
3383 static struct omap_hwmod_ocp_if am33xx_l4_ls__uart5
= {
3384 .master
= &am33xx_l4_ls_hwmod
,
3385 .slave
= &am33xx_uart5_hwmod
,
3387 .addr
= am33xx_uart5_addr_space
,
3388 .user
= OCP_USER_MPU
,
3391 /* l4 ls -> uart6 */
3392 static struct omap_hwmod_addr_space am33xx_uart6_addr_space
[] = {
3394 .pa_start
= 0x481aa000,
3395 .pa_end
= 0x481aa000 + SZ_8K
- 1,
3396 .flags
= ADDR_TYPE_RT
,
3401 static struct omap_hwmod_ocp_if am33xx_l4_ls__uart6
= {
3402 .master
= &am33xx_l4_ls_hwmod
,
3403 .slave
= &am33xx_uart6_hwmod
,
3405 .addr
= am33xx_uart6_addr_space
,
3406 .user
= OCP_USER_MPU
,
3409 /* l4 wkup -> wd_timer1 */
3410 static struct omap_hwmod_addr_space am33xx_wd_timer1_addrs
[] = {
3412 .pa_start
= 0x44e35000,
3413 .pa_end
= 0x44e35000 + SZ_4K
- 1,
3414 .flags
= ADDR_TYPE_RT
3419 static struct omap_hwmod_ocp_if am33xx_l4_wkup__wd_timer1
= {
3420 .master
= &am33xx_l4_wkup_hwmod
,
3421 .slave
= &am33xx_wd_timer1_hwmod
,
3422 .clk
= "dpll_core_m4_div2_ck",
3423 .addr
= am33xx_wd_timer1_addrs
,
3424 .user
= OCP_USER_MPU
,
3428 /* l3 s -> USBSS interface */
3429 static struct omap_hwmod_addr_space am33xx_usbss_addr_space
[] = {
3432 .pa_start
= 0x47400000,
3433 .pa_end
= 0x47400000 + SZ_4K
- 1,
3434 .flags
= ADDR_TYPE_RT
3438 .pa_start
= 0x47401000,
3439 .pa_end
= 0x47401000 + SZ_2K
- 1,
3440 .flags
= ADDR_TYPE_RT
3444 .pa_start
= 0x47401800,
3445 .pa_end
= 0x47401800 + SZ_2K
- 1,
3446 .flags
= ADDR_TYPE_RT
3451 static struct omap_hwmod_ocp_if am33xx_l3_s__usbss
= {
3452 .master
= &am33xx_l3_s_hwmod
,
3453 .slave
= &am33xx_usbss_hwmod
,
3455 .addr
= am33xx_usbss_addr_space
,
3456 .user
= OCP_USER_MPU
,
3457 .flags
= OCPIF_SWSUP_IDLE
,
3460 /* l3 main -> ocmc */
3461 static struct omap_hwmod_ocp_if am33xx_l3_main__ocmc
= {
3462 .master
= &am33xx_l3_main_hwmod
,
3463 .slave
= &am33xx_ocmcram_hwmod
,
3464 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
3467 static struct omap_hwmod_ocp_if
*am33xx_hwmod_ocp_ifs
[] __initdata
= {
3468 &am33xx_l4_fw__emif_fw
,
3469 &am33xx_l3_main__emif
,
3470 &am33xx_mpu__l3_main
,
3472 &am33xx_l3_s__l4_ls
,
3473 &am33xx_l3_s__l4_wkup
,
3474 &am33xx_l3_s__l4_fw
,
3475 &am33xx_l3_main__l4_hs
,
3476 &am33xx_l3_main__l3_s
,
3477 &am33xx_l3_main__l3_instr
,
3478 &am33xx_l3_main__gfx
,
3479 &am33xx_l3_s__l3_main
,
3480 &am33xx_pruss__l3_main
,
3481 &am33xx_wkup_m3__l4_wkup
,
3482 &am33xx_gfx__l3_main
,
3483 &am33xx_l4_wkup__wkup_m3
,
3484 &am33xx_l4_wkup__control
,
3485 &am33xx_l4_wkup__smartreflex0
,
3486 &am33xx_l4_wkup__smartreflex1
,
3487 &am33xx_l4_wkup__uart1
,
3488 &am33xx_l4_wkup__timer1
,
3489 &am33xx_l4_wkup__rtc
,
3490 &am33xx_l4_wkup__i2c1
,
3491 &am33xx_l4_wkup__gpio0
,
3492 &am33xx_l4_wkup__adc_tsc
,
3493 &am33xx_l4_wkup__wd_timer1
,
3494 &am33xx_l4_hs__pruss
,
3495 &am33xx_l4_per__dcan0
,
3496 &am33xx_l4_per__dcan1
,
3497 &am33xx_l4_per__gpio1
,
3498 &am33xx_l4_per__gpio2
,
3499 &am33xx_l4_per__gpio3
,
3500 &am33xx_l4_per__i2c2
,
3501 &am33xx_l4_per__i2c3
,
3502 &am33xx_l4_per__mailbox
,
3503 &am33xx_l4_ls__mcasp0
,
3504 &am33xx_l3_s__mcasp0_data
,
3505 &am33xx_l4_ls__mcasp1
,
3506 &am33xx_l3_s__mcasp1_data
,
3507 &am33xx_l4_ls__mmc0
,
3508 &am33xx_l4_ls__mmc1
,
3510 &am33xx_l4_ls__timer2
,
3511 &am33xx_l4_ls__timer3
,
3512 &am33xx_l4_ls__timer4
,
3513 &am33xx_l4_ls__timer5
,
3514 &am33xx_l4_ls__timer6
,
3515 &am33xx_l4_ls__timer7
,
3516 &am33xx_l3_main__tpcc
,
3517 &am33xx_l4_ls__uart2
,
3518 &am33xx_l4_ls__uart3
,
3519 &am33xx_l4_ls__uart4
,
3520 &am33xx_l4_ls__uart5
,
3521 &am33xx_l4_ls__uart6
,
3522 &am33xx_l4_ls__spinlock
,
3524 &am33xx_l4_ls__ehrpwm0
,
3525 &am33xx_l4_ls__ehrpwm1
,
3526 &am33xx_l4_ls__ehrpwm2
,
3527 &am33xx_l4_ls__eqep0
,
3528 &am33xx_l4_ls__eqep1
,
3529 &am33xx_l4_ls__eqep2
,
3530 &am33xx_l4_ls__ecap0
,
3531 &am33xx_l4_ls__ecap1
,
3532 &am33xx_l4_ls__ecap2
,
3534 &am33xx_l3_main__lcdc
,
3535 &am33xx_l4_ls__mcspi0
,
3536 &am33xx_l4_ls__mcspi1
,
3537 &am33xx_l3_main__tptc0
,
3538 &am33xx_l3_main__tptc1
,
3539 &am33xx_l3_main__tptc2
,
3540 &am33xx_l3_main__ocmc
,
3541 &am33xx_l3_s__usbss
,
3542 &am33xx_l4_hs__cpgmac0
,
3543 &am33xx_cpgmac0__mdio
,
3547 int __init
am33xx_hwmod_init(void)
3550 return omap_hwmod_register_links(am33xx_hwmod_ocp_ifs
);