Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
omap_hwmod_common_data.h
Go to the documentation of this file.
1 /*
2  * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations
3  *
4  * Copyright (C) 2010-2011 Nokia Corporation
5  * Copyright (C) 2010-2012 Texas Instruments, Inc.
6  * Paul Walmsley
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 
16 #include <plat/omap_hwmod.h>
17 
18 #include "common.h"
19 #include "display.h"
20 
21 /* Common address space across OMAP2xxx */
23 
24 /* Common address space across OMAP2xxx/3xxx */
42 
43 /* Common IP block data across OMAP2xxx */
50 extern struct omap_hwmod omap2xxx_mpu_hwmod;
51 extern struct omap_hwmod omap2xxx_iva_hwmod;
52 extern struct omap_hwmod omap2xxx_timer1_hwmod;
53 extern struct omap_hwmod omap2xxx_timer2_hwmod;
54 extern struct omap_hwmod omap2xxx_timer3_hwmod;
55 extern struct omap_hwmod omap2xxx_timer4_hwmod;
56 extern struct omap_hwmod omap2xxx_timer5_hwmod;
57 extern struct omap_hwmod omap2xxx_timer6_hwmod;
58 extern struct omap_hwmod omap2xxx_timer7_hwmod;
59 extern struct omap_hwmod omap2xxx_timer8_hwmod;
60 extern struct omap_hwmod omap2xxx_timer9_hwmod;
65 extern struct omap_hwmod omap2xxx_uart1_hwmod;
66 extern struct omap_hwmod omap2xxx_uart2_hwmod;
67 extern struct omap_hwmod omap2xxx_uart3_hwmod;
72 extern struct omap_hwmod omap2xxx_gpio1_hwmod;
73 extern struct omap_hwmod omap2xxx_gpio2_hwmod;
74 extern struct omap_hwmod omap2xxx_gpio3_hwmod;
75 extern struct omap_hwmod omap2xxx_gpio4_hwmod;
76 extern struct omap_hwmod omap2xxx_mcspi1_hwmod;
77 extern struct omap_hwmod omap2xxx_mcspi2_hwmod;
79 extern struct omap_hwmod omap2xxx_gpmc_hwmod;
80 extern struct omap_hwmod omap2xxx_rng_hwmod;
81 
82 /* Common interface data across OMAP2xxx */
108 
109 /* Common IP block data */
119 
120 /* Common IP block data on OMAP2430/OMAP3 */
122 
123 /* Common IP block data across OMAP2/3 */
138 extern struct omap_hwmod_irq_info omap2_dispc_irqs[];
141 extern struct omap_hwmod_irq_info omap2_gpio1_irqs[];
142 extern struct omap_hwmod_irq_info omap2_gpio2_irqs[];
143 extern struct omap_hwmod_irq_info omap2_gpio3_irqs[];
144 extern struct omap_hwmod_irq_info omap2_gpio4_irqs[];
150 
151 /* OMAP hwmod classes - forward declarations */
152 extern struct omap_hwmod_class l3_hwmod_class;
153 extern struct omap_hwmod_class l4_hwmod_class;
154 extern struct omap_hwmod_class mpu_hwmod_class;
155 extern struct omap_hwmod_class iva_hwmod_class;
156 extern struct omap_hwmod_class omap2_uart_class;
162 extern struct omap_hwmod_class omap2_hdq1w_class;
163 
170 
172 
173 #endif