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_l4_ls__epwmss1; 40 extern struct omap_hwmod_ocp_if am33xx_l4_ls__epwmss2; 41 extern struct omap_hwmod_ocp_if am33xx_l3_s__gpmc; 42 extern struct omap_hwmod_ocp_if am33xx_l4_per__i2c2; 43 extern struct omap_hwmod_ocp_if am33xx_l4_per__i2c3; 44 extern struct omap_hwmod_ocp_if am33xx_l4_per__mailbox; 45 extern struct omap_hwmod_ocp_if am33xx_l4_ls__spinlock; 46 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp0; 47 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcasp1; 48 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mmc0; 49 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mmc1; 50 extern struct omap_hwmod_ocp_if am33xx_l3_s__mmc2; 51 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi0; 52 extern struct omap_hwmod_ocp_if am33xx_l4_ls__mcspi1; 53 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer2; 54 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer3; 55 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer4; 56 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer5; 57 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer6; 58 extern struct omap_hwmod_ocp_if am33xx_l4_ls__timer7; 59 extern struct omap_hwmod_ocp_if am33xx_l3_main__tpcc; 60 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc0; 61 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc1; 62 extern struct omap_hwmod_ocp_if am33xx_l3_main__tptc2; 63 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart2; 64 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart3; 65 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart4; 66 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart5; 67 extern struct omap_hwmod_ocp_if am33xx_l4_ls__uart6; 68 extern struct omap_hwmod_ocp_if am33xx_l3_main__ocmc; 69 extern struct omap_hwmod_ocp_if am33xx_l3_main__sha0; 70 extern struct omap_hwmod_ocp_if am33xx_l3_main__aes0; 71 extern struct omap_hwmod_ocp_if am33xx_l4_per__rng; 72 73 extern struct omap_hwmod am33xx_l3_main_hwmod; 74 extern struct omap_hwmod am33xx_l3_s_hwmod; 75 extern struct omap_hwmod am33xx_l3_instr_hwmod; 76 extern struct omap_hwmod am33xx_l4_ls_hwmod; 77 extern struct omap_hwmod am33xx_l4_wkup_hwmod; 78 extern struct omap_hwmod am33xx_mpu_hwmod; 79 extern struct omap_hwmod am33xx_pruss_hwmod; 80 extern struct omap_hwmod am33xx_gfx_hwmod; 81 extern struct omap_hwmod am33xx_prcm_hwmod; 82 extern struct omap_hwmod am33xx_aes0_hwmod; 83 extern struct omap_hwmod am33xx_sha0_hwmod; 84 extern struct omap_hwmod am33xx_rng_hwmod; 85 extern struct omap_hwmod am33xx_ocmcram_hwmod; 86 extern struct omap_hwmod am33xx_smartreflex0_hwmod; 87 extern struct omap_hwmod am33xx_smartreflex1_hwmod; 88 extern struct omap_hwmod am33xx_cpgmac0_hwmod; 89 extern struct omap_hwmod am33xx_mdio_hwmod; 90 extern struct omap_hwmod am33xx_dcan0_hwmod; 91 extern struct omap_hwmod am33xx_dcan1_hwmod; 92 extern struct omap_hwmod am33xx_elm_hwmod; 93 extern struct omap_hwmod am33xx_epwmss0_hwmod; 94 extern struct omap_hwmod am33xx_epwmss1_hwmod; 95 extern struct omap_hwmod am33xx_epwmss2_hwmod; 96 extern struct omap_hwmod am33xx_gpio1_hwmod; 97 extern struct omap_hwmod am33xx_gpio2_hwmod; 98 extern struct omap_hwmod am33xx_gpio3_hwmod; 99 extern struct omap_hwmod am33xx_gpmc_hwmod; 100 extern struct omap_hwmod am33xx_i2c1_hwmod; 101 extern struct omap_hwmod am33xx_i2c2_hwmod; 102 extern struct omap_hwmod am33xx_i2c3_hwmod; 103 extern struct omap_hwmod am33xx_mailbox_hwmod; 104 extern struct omap_hwmod am33xx_mcasp0_hwmod; 105 extern struct omap_hwmod am33xx_mcasp1_hwmod; 106 extern struct omap_hwmod am33xx_mmc0_hwmod; 107 extern struct omap_hwmod am33xx_mmc1_hwmod; 108 extern struct omap_hwmod am33xx_mmc2_hwmod; 109 extern struct omap_hwmod am33xx_rtc_hwmod; 110 extern struct omap_hwmod am33xx_spi0_hwmod; 111 extern struct omap_hwmod am33xx_spi1_hwmod; 112 extern struct omap_hwmod am33xx_spinlock_hwmod; 113 extern struct omap_hwmod am33xx_timer1_hwmod; 114 extern struct omap_hwmod am33xx_timer2_hwmod; 115 extern struct omap_hwmod am33xx_timer3_hwmod; 116 extern struct omap_hwmod am33xx_timer4_hwmod; 117 extern struct omap_hwmod am33xx_timer5_hwmod; 118 extern struct omap_hwmod am33xx_timer6_hwmod; 119 extern struct omap_hwmod am33xx_timer7_hwmod; 120 extern struct omap_hwmod am33xx_tpcc_hwmod; 121 extern struct omap_hwmod am33xx_tptc0_hwmod; 122 extern struct omap_hwmod am33xx_tptc1_hwmod; 123 extern struct omap_hwmod am33xx_tptc2_hwmod; 124 extern struct omap_hwmod am33xx_uart1_hwmod; 125 extern struct omap_hwmod am33xx_uart2_hwmod; 126 extern struct omap_hwmod am33xx_uart3_hwmod; 127 extern struct omap_hwmod am33xx_uart4_hwmod; 128 extern struct omap_hwmod am33xx_uart5_hwmod; 129 extern struct omap_hwmod am33xx_uart6_hwmod; 130 extern struct omap_hwmod am33xx_wd_timer1_hwmod; 131 132 extern struct omap_hwmod_class am33xx_emif_hwmod_class; 133 extern struct omap_hwmod_class am33xx_l4_hwmod_class; 134 extern struct omap_hwmod_class am33xx_wkup_m3_hwmod_class; 135 extern struct omap_hwmod_class am33xx_control_hwmod_class; 136 extern struct omap_hwmod_class am33xx_gpio_hwmod_class; 137 extern struct omap_hwmod_class am33xx_timer_hwmod_class; 138 extern struct omap_hwmod_class am33xx_epwmss_hwmod_class; 139 extern struct omap_hwmod_class am33xx_ehrpwm_hwmod_class; 140 extern struct omap_hwmod_class am33xx_spi_hwmod_class; 141 142 void omap_hwmod_am33xx_reg(void); 143 void omap_hwmod_am43xx_reg(void); 144 145 #endif 146