Merge branches 'pm-cpuidle' and 'pm-cpufreq'
[sfrench/cifs-2.6.git] / arch / arm / mach-omap2 / omap_hwmod_33xx_43xx_common_data.h
1 /*
2  *
3  * Copyright (C) 2013 Texas Instruments Incorporated
4  *
5  * Data common for AM335x and AM43x
6  *
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.
10  *
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.
15  */
16
17 #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_33XX_43XX_COMMON_DATA_H
18 #define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_33XX_43XX_COMMON_DATA_H
19
20 extern struct omap_hwmod_ocp_if am33xx_mpu__l3_main;
21 extern struct omap_hwmod_ocp_if am33xx_l3_main__l3_s;
22 extern struct omap_hwmod_ocp_if am33xx_l3_s__l4_ls;
23 extern struct omap_hwmod_ocp_if am33xx_l3_s__l4_wkup;
24 extern struct omap_hwmod_ocp_if am33xx_l3_main__l3_instr;
25 extern struct omap_hwmod_ocp_if am33xx_mpu__prcm;
26 extern struct omap_hwmod_ocp_if am33xx_l3_s__l3_main;
27 extern struct omap_hwmod_ocp_if am33xx_pruss__l3_main;
28 extern struct omap_hwmod_ocp_if am33xx_gfx__l3_main;
29 extern struct omap_hwmod_ocp_if am33xx_l3_main__gfx;
30 extern struct omap_hwmod_ocp_if am33xx_l4_wkup__rtc;
31 extern struct omap_hwmod_ocp_if am33xx_l4_per__dcan0;
32 extern struct omap_hwmod_ocp_if am33xx_l4_per__dcan1;
33 extern struct omap_hwmod_ocp_if am33xx_l4_per__gpio1;
34 extern struct omap_hwmod_ocp_if am33xx_l4_per__gpio2;
35 extern struct omap_hwmod_ocp_if am33xx_l4_per__gpio3;
36 extern struct omap_hwmod_ocp_if am33xx_cpgmac0__mdio;
37 extern struct omap_hwmod_ocp_if am33xx_l4_ls__elm;
38 extern struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss0;
39 extern struct omap_hwmod_ocp_if am33xx_epwmss0__ecap0;
40 extern struct omap_hwmod_ocp_if am33xx_epwmss0__eqep0;
41 extern struct omap_hwmod_ocp_if am33xx_epwmss0__ehrpwm0;
42 extern struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss1;
43 extern struct omap_hwmod_ocp_if am33xx_epwmss1__ecap1;
44 extern struct omap_hwmod_ocp_if am33xx_epwmss1__eqep1;
45 extern struct omap_hwmod_ocp_if am33xx_epwmss1__ehrpwm1;
46 extern struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss2;
47 extern struct omap_hwmod_ocp_if am33xx_epwmss2__ecap2;
48 extern struct omap_hwmod_ocp_if am33xx_epwmss2__eqep2;
49 extern struct omap_hwmod_ocp_if am33xx_epwmss2__ehrpwm2;
50 extern struct omap_hwmod_ocp_if am33xx_l3_s__gpmc;
51 extern struct omap_hwmod_ocp_if am33xx_l4_per__i2c2;
52 extern struct omap_hwmod_ocp_if am33xx_l4_per__i2c3;
53 extern struct omap_hwmod_ocp_if am33xx_l4_per__mailbox;
54 extern struct omap_hwmod_ocp_if am33xx_l4_ls__spinlock;
55 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp0;
56 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp1;
57 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mmc0;
58 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mmc1;
59 extern struct omap_hwmod_ocp_if am33xx_l3_s__mmc2;
60 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi0;
61 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi1;
62 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer2;
63 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer3;
64 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer4;
65 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer5;
66 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer6;
67 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer7;
68 extern struct omap_hwmod_ocp_if am33xx_l3_main__tpcc;
69 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc0;
70 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc1;
71 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc2;
72 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart2;
73 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart3;
74 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart4;
75 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart5;
76 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart6;
77 extern struct omap_hwmod_ocp_if am33xx_l3_main__ocmc;
78 extern struct omap_hwmod_ocp_if am33xx_l3_main__sha0;
79 extern struct omap_hwmod_ocp_if am33xx_l3_main__aes0;
80
81 extern struct omap_hwmod am33xx_l3_main_hwmod;
82 extern struct omap_hwmod am33xx_l3_s_hwmod;
83 extern struct omap_hwmod am33xx_l3_instr_hwmod;
84 extern struct omap_hwmod am33xx_l4_ls_hwmod;
85 extern struct omap_hwmod am33xx_l4_wkup_hwmod;
86 extern struct omap_hwmod am33xx_mpu_hwmod;
87 extern struct omap_hwmod am33xx_pruss_hwmod;
88 extern struct omap_hwmod am33xx_gfx_hwmod;
89 extern struct omap_hwmod am33xx_prcm_hwmod;
90 extern struct omap_hwmod am33xx_aes0_hwmod;
91 extern struct omap_hwmod am33xx_sha0_hwmod;
92 extern struct omap_hwmod am33xx_ocmcram_hwmod;
93 extern struct omap_hwmod am33xx_smartreflex0_hwmod;
94 extern struct omap_hwmod am33xx_smartreflex1_hwmod;
95 extern struct omap_hwmod am33xx_cpgmac0_hwmod;
96 extern struct omap_hwmod am33xx_mdio_hwmod;
97 extern struct omap_hwmod am33xx_dcan0_hwmod;
98 extern struct omap_hwmod am33xx_dcan1_hwmod;
99 extern struct omap_hwmod am33xx_elm_hwmod;
100 extern struct omap_hwmod am33xx_epwmss0_hwmod;
101 extern struct omap_hwmod am33xx_ecap0_hwmod;
102 extern struct omap_hwmod am33xx_eqep0_hwmod;
103 extern struct omap_hwmod am33xx_ehrpwm0_hwmod;
104 extern struct omap_hwmod am33xx_epwmss1_hwmod;
105 extern struct omap_hwmod am33xx_ecap1_hwmod;
106 extern struct omap_hwmod am33xx_eqep1_hwmod;
107 extern struct omap_hwmod am33xx_ehrpwm1_hwmod;
108 extern struct omap_hwmod am33xx_epwmss2_hwmod;
109 extern struct omap_hwmod am33xx_ecap2_hwmod;
110 extern struct omap_hwmod am33xx_eqep2_hwmod;
111 extern struct omap_hwmod am33xx_ehrpwm2_hwmod;
112 extern struct omap_hwmod am33xx_gpio1_hwmod;
113 extern struct omap_hwmod am33xx_gpio2_hwmod;
114 extern struct omap_hwmod am33xx_gpio3_hwmod;
115 extern struct omap_hwmod am33xx_gpmc_hwmod;
116 extern struct omap_hwmod am33xx_i2c1_hwmod;
117 extern struct omap_hwmod am33xx_i2c2_hwmod;
118 extern struct omap_hwmod am33xx_i2c3_hwmod;
119 extern struct omap_hwmod am33xx_mailbox_hwmod;
120 extern struct omap_hwmod am33xx_mcasp0_hwmod;
121 extern struct omap_hwmod am33xx_mcasp1_hwmod;
122 extern struct omap_hwmod am33xx_mmc0_hwmod;
123 extern struct omap_hwmod am33xx_mmc1_hwmod;
124 extern struct omap_hwmod am33xx_mmc2_hwmod;
125 extern struct omap_hwmod am33xx_rtc_hwmod;
126 extern struct omap_hwmod am33xx_spi0_hwmod;
127 extern struct omap_hwmod am33xx_spi1_hwmod;
128 extern struct omap_hwmod am33xx_spinlock_hwmod;
129 extern struct omap_hwmod am33xx_timer1_hwmod;
130 extern struct omap_hwmod am33xx_timer2_hwmod;
131 extern struct omap_hwmod am33xx_timer3_hwmod;
132 extern struct omap_hwmod am33xx_timer4_hwmod;
133 extern struct omap_hwmod am33xx_timer5_hwmod;
134 extern struct omap_hwmod am33xx_timer6_hwmod;
135 extern struct omap_hwmod am33xx_timer7_hwmod;
136 extern struct omap_hwmod am33xx_tpcc_hwmod;
137 extern struct omap_hwmod am33xx_tptc0_hwmod;
138 extern struct omap_hwmod am33xx_tptc1_hwmod;
139 extern struct omap_hwmod am33xx_tptc2_hwmod;
140 extern struct omap_hwmod am33xx_uart1_hwmod;
141 extern struct omap_hwmod am33xx_uart2_hwmod;
142 extern struct omap_hwmod am33xx_uart3_hwmod;
143 extern struct omap_hwmod am33xx_uart4_hwmod;
144 extern struct omap_hwmod am33xx_uart5_hwmod;
145 extern struct omap_hwmod am33xx_uart6_hwmod;
146 extern struct omap_hwmod am33xx_wd_timer1_hwmod;
147
148 extern struct omap_hwmod_class am33xx_l4_hwmod_class;
149 extern struct omap_hwmod_class am33xx_wkup_m3_hwmod_class;
150 extern struct omap_hwmod_class am33xx_control_hwmod_class;
151 extern struct omap_hwmod_class am33xx_gpio_hwmod_class;
152 extern struct omap_hwmod_class am33xx_timer_hwmod_class;
153 extern struct omap_hwmod_class am33xx_epwmss_hwmod_class;
154 extern struct omap_hwmod_class am33xx_ehrpwm_hwmod_class;
155 extern struct omap_hwmod_class am33xx_spi_hwmod_class;
156
157 extern struct omap_gpio_dev_attr gpio_dev_attr;
158 extern struct omap2_mcspi_dev_attr mcspi_attrib;
159
160 void omap_hwmod_am33xx_reg(void);
161 void omap_hwmod_am43xx_reg(void);
162
163 #endif