1*d2912cb1SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */ 243b40992SPaul Walmsley /* 343b40992SPaul Walmsley * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations 443b40992SPaul Walmsley * 5ded11383SPaul Walmsley * Copyright (C) 2010-2011 Nokia Corporation 6e9b0a2fbSPaul Walmsley * Copyright (C) 2010-2012 Texas Instruments, Inc. 743b40992SPaul Walmsley * Paul Walmsley 843b40992SPaul Walmsley * Benoît Cousson 943b40992SPaul Walmsley */ 1043b40992SPaul Walmsley #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H 1143b40992SPaul Walmsley #define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H 1243b40992SPaul Walmsley 132a296c8fSTony Lindgren #include "omap_hwmod.h" 1443b40992SPaul Walmsley 157d7e1ebaSTony Lindgren #include "common.h" 16b923d40dSArchit Taneja #include "display.h" 17b923d40dSArchit Taneja 180d619a89SPaul Walmsley /* Common IP block data across OMAP2xxx */ 19cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_l3_main_hwmod; 20cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_l4_core_hwmod; 21cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_l4_wkup_hwmod; 22cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_mpu_hwmod; 23cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer3_hwmod; 24cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer4_hwmod; 25cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer5_hwmod; 26cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer6_hwmod; 27cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer7_hwmod; 28cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer8_hwmod; 29cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer9_hwmod; 30cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer10_hwmod; 31cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer11_hwmod; 32cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_timer12_hwmod; 33cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_wd_timer2_hwmod; 34cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_uart1_hwmod; 35cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_uart2_hwmod; 36cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_uart3_hwmod; 37cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_dss_core_hwmod; 38cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_dss_dispc_hwmod; 39cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod; 40cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_dss_venc_hwmod; 41cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_gpio1_hwmod; 42cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_gpio2_hwmod; 43cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_gpio3_hwmod; 44cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_gpio4_hwmod; 45cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_mcspi1_hwmod; 46cb48427eSPaul Walmsley extern struct omap_hwmod omap2xxx_mcspi2_hwmod; 4749484a60SAfzal Mohammed extern struct omap_hwmod omap2xxx_gpmc_hwmod; 48e9b0a2fbSPaul Walmsley extern struct omap_hwmod omap2xxx_rng_hwmod; 49e569e994SMark A. Greer extern struct omap_hwmod omap2xxx_sham_hwmod; 50660ffd6bSMark A. Greer extern struct omap_hwmod omap2xxx_aes_hwmod; 51d826ebfaSPaul Walmsley 526a29755fSPaul Walmsley /* Common interface data across OMAP2xxx */ 536a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core; 546a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main; 556a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_dss__l3; 566a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup; 576a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2_l4_core__uart1; 586a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2_l4_core__uart2; 596a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2_l4_core__uart3; 606a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1; 616a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2; 626a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3; 636a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4; 646a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5; 656a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6; 666a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7; 676a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8; 686a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9; 696a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10; 706a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11; 716a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12; 726a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss; 736a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc; 746a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi; 756a29755fSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc; 76e9b0a2fbSPaul Walmsley extern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng; 77e569e994SMark A. Greer extern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham; 78660ffd6bSMark A. Greer extern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes; 796a29755fSPaul Walmsley 8043b40992SPaul Walmsley /* OMAP hwmod classes - forward declarations */ 8143b40992SPaul Walmsley extern struct omap_hwmod_class l3_hwmod_class; 8243b40992SPaul Walmsley extern struct omap_hwmod_class l4_hwmod_class; 8343b40992SPaul Walmsley extern struct omap_hwmod_class mpu_hwmod_class; 8490709ae9SKevin Hilman extern struct omap_hwmod_class iva_hwmod_class; 85273b9465SPaul Walmsley extern struct omap_hwmod_class omap2_uart_class; 86273b9465SPaul Walmsley extern struct omap_hwmod_class omap2_dss_hwmod_class; 87273b9465SPaul Walmsley extern struct omap_hwmod_class omap2_rfbi_hwmod_class; 88273b9465SPaul Walmsley extern struct omap_hwmod_class omap2_venc_hwmod_class; 8903d830e8SPaul Walmsley extern struct omap_hwmod_class omap2_hdq1w_class; 9043b40992SPaul Walmsley 91273b9465SPaul Walmsley extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class; 92273b9465SPaul Walmsley extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class; 93273b9465SPaul Walmsley extern struct omap_hwmod_class omap2xxx_mcspi_class; 94ded11383SPaul Walmsley 95b923d40dSArchit Taneja extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr; 96b923d40dSArchit Taneja 9743b40992SPaul Walmsley #endif 98