Linux-libre 5.3.12-gnu
[librecmc/linux-libre.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_cpgmac0__mdio;
34 extern struct omap_hwmod_ocp_if am33xx_l4_ls__elm;
35 extern struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss0;
36 extern struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss1;
37 extern struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss2;
38 extern struct omap_hwmod_ocp_if am33xx_l3_s__gpmc;
39 extern struct omap_hwmod_ocp_if am33xx_l4_per__mailbox;
40 extern struct omap_hwmod_ocp_if am33xx_l4_ls__spinlock;
41 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp0;
42 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp1;
43 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi0;
44 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi1;
45 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer2;
46 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer3;
47 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer4;
48 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer5;
49 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer6;
50 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer7;
51 extern struct omap_hwmod_ocp_if am33xx_l3_main__tpcc;
52 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc0;
53 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc1;
54 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc2;
55 extern struct omap_hwmod_ocp_if am33xx_l3_main__ocmc;
56 extern struct omap_hwmod_ocp_if am33xx_l3_main__sha0;
57 extern struct omap_hwmod_ocp_if am33xx_l3_main__aes0;
58 extern struct omap_hwmod_ocp_if am33xx_l4_per__rng;
59
60 extern struct omap_hwmod am33xx_l3_main_hwmod;
61 extern struct omap_hwmod am33xx_l3_s_hwmod;
62 extern struct omap_hwmod am33xx_l3_instr_hwmod;
63 extern struct omap_hwmod am33xx_l4_ls_hwmod;
64 extern struct omap_hwmod am33xx_l4_wkup_hwmod;
65 extern struct omap_hwmod am33xx_mpu_hwmod;
66 extern struct omap_hwmod am33xx_pruss_hwmod;
67 extern struct omap_hwmod am33xx_gfx_hwmod;
68 extern struct omap_hwmod am33xx_prcm_hwmod;
69 extern struct omap_hwmod am33xx_aes0_hwmod;
70 extern struct omap_hwmod am33xx_sha0_hwmod;
71 extern struct omap_hwmod am33xx_rng_hwmod;
72 extern struct omap_hwmod am33xx_ocmcram_hwmod;
73 extern struct omap_hwmod am33xx_smartreflex0_hwmod;
74 extern struct omap_hwmod am33xx_smartreflex1_hwmod;
75 extern struct omap_hwmod am33xx_cpgmac0_hwmod;
76 extern struct omap_hwmod am33xx_mdio_hwmod;
77 extern struct omap_hwmod am33xx_dcan0_hwmod;
78 extern struct omap_hwmod am33xx_dcan1_hwmod;
79 extern struct omap_hwmod am33xx_elm_hwmod;
80 extern struct omap_hwmod am33xx_epwmss0_hwmod;
81 extern struct omap_hwmod am33xx_epwmss1_hwmod;
82 extern struct omap_hwmod am33xx_epwmss2_hwmod;
83 extern struct omap_hwmod am33xx_gpmc_hwmod;
84 extern struct omap_hwmod am33xx_mailbox_hwmod;
85 extern struct omap_hwmod am33xx_mcasp0_hwmod;
86 extern struct omap_hwmod am33xx_mcasp1_hwmod;
87 extern struct omap_hwmod am33xx_rtc_hwmod;
88 extern struct omap_hwmod am33xx_spi0_hwmod;
89 extern struct omap_hwmod am33xx_spi1_hwmod;
90 extern struct omap_hwmod am33xx_spinlock_hwmod;
91 extern struct omap_hwmod am33xx_timer1_hwmod;
92 extern struct omap_hwmod am33xx_timer2_hwmod;
93 extern struct omap_hwmod am33xx_timer3_hwmod;
94 extern struct omap_hwmod am33xx_timer4_hwmod;
95 extern struct omap_hwmod am33xx_timer5_hwmod;
96 extern struct omap_hwmod am33xx_timer6_hwmod;
97 extern struct omap_hwmod am33xx_timer7_hwmod;
98 extern struct omap_hwmod am33xx_tpcc_hwmod;
99 extern struct omap_hwmod am33xx_tptc0_hwmod;
100 extern struct omap_hwmod am33xx_tptc1_hwmod;
101 extern struct omap_hwmod am33xx_tptc2_hwmod;
102 extern struct omap_hwmod am33xx_wd_timer1_hwmod;
103
104 extern struct omap_hwmod_class am33xx_emif_hwmod_class;
105 extern struct omap_hwmod_class am33xx_l4_hwmod_class;
106 extern struct omap_hwmod_class am33xx_wkup_m3_hwmod_class;
107 extern struct omap_hwmod_class am33xx_control_hwmod_class;
108 extern struct omap_hwmod_class am33xx_timer_hwmod_class;
109 extern struct omap_hwmod_class am33xx_epwmss_hwmod_class;
110 extern struct omap_hwmod_class am33xx_ehrpwm_hwmod_class;
111 extern struct omap_hwmod_class am33xx_spi_hwmod_class;
112
113 void omap_hwmod_am33xx_reg(void);
114 void omap_hwmod_am43xx_reg(void);
115
116 #endif