Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 1 | /* |
| 2 | * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations |
| 3 | * |
Paul Walmsley | ded1138 | 2011-07-09 19:14:06 -0600 | [diff] [blame] | 4 | * Copyright (C) 2010-2011 Nokia Corporation |
Paul Walmsley | e9b0a2f | 2012-09-23 17:28:25 -0600 | [diff] [blame] | 5 | * Copyright (C) 2010-2012 Texas Instruments, Inc. |
Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 6 | * Paul Walmsley |
Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 7 | * BenoƮt Cousson |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU General Public License version 2 as |
| 11 | * published by the Free Software Foundation. |
| 12 | */ |
| 13 | #ifndef __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H |
| 14 | #define __ARCH_ARM_MACH_OMAP2_OMAP_HWMOD_COMMON_DATA_H |
| 15 | |
Tony Lindgren | 2a296c8 | 2012-10-02 17:41:35 -0700 | [diff] [blame] | 16 | #include "omap_hwmod.h" |
Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 17 | |
Tony Lindgren | 7d7e1eb | 2012-08-27 17:43:01 -0700 | [diff] [blame] | 18 | #include "common.h" |
Archit Taneja | b923d40 | 2011-10-06 18:04:08 -0600 | [diff] [blame] | 19 | #include "display.h" |
| 20 | |
Paul Walmsley | 0d619a8 | 2011-07-09 19:14:07 -0600 | [diff] [blame] | 21 | /* Common IP block data across OMAP2xxx */ |
Paul Walmsley | cb48427 | 2012-04-19 04:04:33 -0600 | [diff] [blame] | 22 | extern struct omap_hwmod omap2xxx_l3_main_hwmod; |
| 23 | extern struct omap_hwmod omap2xxx_l4_core_hwmod; |
| 24 | extern struct omap_hwmod omap2xxx_l4_wkup_hwmod; |
| 25 | extern struct omap_hwmod omap2xxx_mpu_hwmod; |
| 26 | extern struct omap_hwmod omap2xxx_iva_hwmod; |
| 27 | extern struct omap_hwmod omap2xxx_timer1_hwmod; |
| 28 | extern struct omap_hwmod omap2xxx_timer2_hwmod; |
| 29 | extern struct omap_hwmod omap2xxx_timer3_hwmod; |
| 30 | extern struct omap_hwmod omap2xxx_timer4_hwmod; |
| 31 | extern struct omap_hwmod omap2xxx_timer5_hwmod; |
| 32 | extern struct omap_hwmod omap2xxx_timer6_hwmod; |
| 33 | extern struct omap_hwmod omap2xxx_timer7_hwmod; |
| 34 | extern struct omap_hwmod omap2xxx_timer8_hwmod; |
| 35 | extern struct omap_hwmod omap2xxx_timer9_hwmod; |
| 36 | extern struct omap_hwmod omap2xxx_timer10_hwmod; |
| 37 | extern struct omap_hwmod omap2xxx_timer11_hwmod; |
| 38 | extern struct omap_hwmod omap2xxx_timer12_hwmod; |
| 39 | extern struct omap_hwmod omap2xxx_wd_timer2_hwmod; |
| 40 | extern struct omap_hwmod omap2xxx_uart1_hwmod; |
| 41 | extern struct omap_hwmod omap2xxx_uart2_hwmod; |
| 42 | extern struct omap_hwmod omap2xxx_uart3_hwmod; |
| 43 | extern struct omap_hwmod omap2xxx_dss_core_hwmod; |
| 44 | extern struct omap_hwmod omap2xxx_dss_dispc_hwmod; |
| 45 | extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod; |
| 46 | extern struct omap_hwmod omap2xxx_dss_venc_hwmod; |
| 47 | extern struct omap_hwmod omap2xxx_gpio1_hwmod; |
| 48 | extern struct omap_hwmod omap2xxx_gpio2_hwmod; |
| 49 | extern struct omap_hwmod omap2xxx_gpio3_hwmod; |
| 50 | extern struct omap_hwmod omap2xxx_gpio4_hwmod; |
| 51 | extern struct omap_hwmod omap2xxx_mcspi1_hwmod; |
| 52 | extern struct omap_hwmod omap2xxx_mcspi2_hwmod; |
Vaibhav Hiremath | c8d82ff | 2012-05-08 11:34:30 -0600 | [diff] [blame] | 53 | extern struct omap_hwmod omap2xxx_counter_32k_hwmod; |
Afzal Mohammed | 49484a6 | 2012-09-23 17:28:24 -0600 | [diff] [blame] | 54 | extern struct omap_hwmod omap2xxx_gpmc_hwmod; |
Paul Walmsley | e9b0a2f | 2012-09-23 17:28:25 -0600 | [diff] [blame] | 55 | extern struct omap_hwmod omap2xxx_rng_hwmod; |
Mark A. Greer | e569e99 | 2013-03-30 15:49:19 -0600 | [diff] [blame] | 56 | extern struct omap_hwmod omap2xxx_sham_hwmod; |
Mark A. Greer | 660ffd6 | 2012-12-21 09:28:09 -0700 | [diff] [blame] | 57 | extern struct omap_hwmod omap2xxx_aes_hwmod; |
Paul Walmsley | d826ebf | 2011-07-09 19:14:07 -0600 | [diff] [blame] | 58 | |
Paul Walmsley | 6a29755 | 2012-04-19 04:04:34 -0600 | [diff] [blame] | 59 | /* Common interface data across OMAP2xxx */ |
| 60 | extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core; |
| 61 | extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main; |
| 62 | extern struct omap_hwmod_ocp_if omap2xxx_dss__l3; |
| 63 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup; |
| 64 | extern struct omap_hwmod_ocp_if omap2_l4_core__uart1; |
| 65 | extern struct omap_hwmod_ocp_if omap2_l4_core__uart2; |
| 66 | extern struct omap_hwmod_ocp_if omap2_l4_core__uart3; |
| 67 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1; |
| 68 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2; |
| 69 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2; |
| 70 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3; |
| 71 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4; |
| 72 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5; |
| 73 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6; |
| 74 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7; |
| 75 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8; |
| 76 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9; |
| 77 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10; |
| 78 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11; |
| 79 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12; |
| 80 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss; |
| 81 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc; |
| 82 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi; |
| 83 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc; |
Paul Walmsley | e9b0a2f | 2012-09-23 17:28:25 -0600 | [diff] [blame] | 84 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng; |
Mark A. Greer | e569e99 | 2013-03-30 15:49:19 -0600 | [diff] [blame] | 85 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham; |
Mark A. Greer | 660ffd6 | 2012-12-21 09:28:09 -0700 | [diff] [blame] | 86 | extern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes; |
Paul Walmsley | 6a29755 | 2012-04-19 04:04:34 -0600 | [diff] [blame] | 87 | |
Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 88 | /* OMAP hwmod classes - forward declarations */ |
| 89 | extern struct omap_hwmod_class l3_hwmod_class; |
| 90 | extern struct omap_hwmod_class l4_hwmod_class; |
| 91 | extern struct omap_hwmod_class mpu_hwmod_class; |
Kevin Hilman | 90709ae | 2010-07-26 16:34:31 -0600 | [diff] [blame] | 92 | extern struct omap_hwmod_class iva_hwmod_class; |
Paul Walmsley | 273b946 | 2011-07-09 19:14:08 -0600 | [diff] [blame] | 93 | extern struct omap_hwmod_class omap2_uart_class; |
| 94 | extern struct omap_hwmod_class omap2_dss_hwmod_class; |
| 95 | extern struct omap_hwmod_class omap2_dispc_hwmod_class; |
| 96 | extern struct omap_hwmod_class omap2_rfbi_hwmod_class; |
| 97 | extern struct omap_hwmod_class omap2_venc_hwmod_class; |
Paul Walmsley | 03d830e | 2012-05-08 11:34:27 -0600 | [diff] [blame] | 98 | extern struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc; |
| 99 | extern struct omap_hwmod_class omap2_hdq1w_class; |
Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 100 | |
Paul Walmsley | 273b946 | 2011-07-09 19:14:08 -0600 | [diff] [blame] | 101 | extern struct omap_hwmod_class omap2xxx_timer_hwmod_class; |
| 102 | extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class; |
| 103 | extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class; |
| 104 | extern struct omap_hwmod_class omap2xxx_dma_hwmod_class; |
| 105 | extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class; |
| 106 | extern struct omap_hwmod_class omap2xxx_mcspi_class; |
Paul Walmsley | ded1138 | 2011-07-09 19:14:06 -0600 | [diff] [blame] | 107 | |
Archit Taneja | b923d40 | 2011-10-06 18:04:08 -0600 | [diff] [blame] | 108 | extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr; |
| 109 | |
Paul Walmsley | 43b4099 | 2010-02-22 22:09:34 -0700 | [diff] [blame] | 110 | #endif |