1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0-only */ 2*4882a593Smuzhiyun /* 3*4882a593Smuzhiyun * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations 4*4882a593Smuzhiyun * 5*4882a593Smuzhiyun * Copyright (C) 2010-2011 Nokia Corporation 6*4882a593Smuzhiyun * Copyright (C) 2010-2012 Texas Instruments, Inc. 7*4882a593Smuzhiyun * Paul Walmsley 8*4882a593Smuzhiyun * Benoît Cousson 9*4882a593Smuzhiyun */ 10*4882a593Smuzhiyun #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H 11*4882a593Smuzhiyun #define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H 12*4882a593Smuzhiyun 13*4882a593Smuzhiyun #include "omap_hwmod.h" 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun #include "common.h" 16*4882a593Smuzhiyun #include "display.h" 17*4882a593Smuzhiyun 18*4882a593Smuzhiyun /* Common IP block data across OMAP2xxx */ 19*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_l3_main_hwmod; 20*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_l4_core_hwmod; 21*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_l4_wkup_hwmod; 22*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_mpu_hwmod; 23*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_iva_hwmod; 24*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer3_hwmod; 25*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer4_hwmod; 26*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer5_hwmod; 27*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer6_hwmod; 28*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer7_hwmod; 29*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer8_hwmod; 30*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer9_hwmod; 31*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer10_hwmod; 32*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer11_hwmod; 33*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_timer12_hwmod; 34*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_wd_timer2_hwmod; 35*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_uart1_hwmod; 36*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_uart2_hwmod; 37*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_uart3_hwmod; 38*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_dss_core_hwmod; 39*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_dss_dispc_hwmod; 40*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod; 41*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_dss_venc_hwmod; 42*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_gpio1_hwmod; 43*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_gpio2_hwmod; 44*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_gpio3_hwmod; 45*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_gpio4_hwmod; 46*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_mcspi1_hwmod; 47*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_mcspi2_hwmod; 48*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_gpmc_hwmod; 49*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_rng_hwmod; 50*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_sham_hwmod; 51*4882a593Smuzhiyun extern struct omap_hwmod omap2xxx_aes_hwmod; 52*4882a593Smuzhiyun 53*4882a593Smuzhiyun /* Common interface data across OMAP2xxx */ 54*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core; 55*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main; 56*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_dss__l3; 57*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup; 58*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2_l4_core__uart1; 59*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2_l4_core__uart2; 60*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2_l4_core__uart3; 61*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1; 62*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2; 63*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2; 64*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3; 65*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4; 66*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5; 67*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6; 68*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7; 69*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8; 70*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9; 71*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10; 72*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11; 73*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12; 74*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss; 75*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc; 76*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi; 77*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc; 78*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng; 79*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham; 80*4882a593Smuzhiyun extern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes; 81*4882a593Smuzhiyun 82*4882a593Smuzhiyun /* OMAP hwmod classes - forward declarations */ 83*4882a593Smuzhiyun extern struct omap_hwmod_class l3_hwmod_class; 84*4882a593Smuzhiyun extern struct omap_hwmod_class l4_hwmod_class; 85*4882a593Smuzhiyun extern struct omap_hwmod_class mpu_hwmod_class; 86*4882a593Smuzhiyun extern struct omap_hwmod_class iva_hwmod_class; 87*4882a593Smuzhiyun extern struct omap_hwmod_class omap2_uart_class; 88*4882a593Smuzhiyun extern struct omap_hwmod_class omap2_dss_hwmod_class; 89*4882a593Smuzhiyun extern struct omap_hwmod_class omap2_dispc_hwmod_class; 90*4882a593Smuzhiyun extern struct omap_hwmod_class omap2_rfbi_hwmod_class; 91*4882a593Smuzhiyun extern struct omap_hwmod_class omap2_venc_hwmod_class; 92*4882a593Smuzhiyun extern struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc; 93*4882a593Smuzhiyun extern struct omap_hwmod_class omap2_hdq1w_class; 94*4882a593Smuzhiyun 95*4882a593Smuzhiyun extern struct omap_hwmod_class omap2xxx_timer_hwmod_class; 96*4882a593Smuzhiyun extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class; 97*4882a593Smuzhiyun extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class; 98*4882a593Smuzhiyun extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class; 99*4882a593Smuzhiyun extern struct omap_hwmod_class omap2xxx_mcspi_class; 100*4882a593Smuzhiyun 101*4882a593Smuzhiyun extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr; 102*4882a593Smuzhiyun 103*4882a593Smuzhiyun #endif 104