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