blob: 56dbaca9a728a60a3d2f5a312892d8c409528dfc [file] [log] [blame]
Paul Walmsley43b40992010-02-22 22:09:34 -07001/*
2 * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations
3 *
Paul Walmsleyded11382011-07-09 19:14:06 -06004 * Copyright (C) 2010-2011 Nokia Corporation
Paul Walmsleye9b0a2f2012-09-23 17:28:25 -06005 * Copyright (C) 2010-2012 Texas Instruments, Inc.
Paul Walmsley43b40992010-02-22 22:09:34 -07006 * Paul Walmsley
Paul Walmsley43b40992010-02-22 22:09:34 -07007 * 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 Lindgren2a296c82012-10-02 17:41:35 -070016#include "omap_hwmod.h"
Paul Walmsley43b40992010-02-22 22:09:34 -070017
Tony Lindgren7d7e1eb2012-08-27 17:43:01 -070018#include "common.h"
Archit Tanejab923d402011-10-06 18:04:08 -060019#include "display.h"
20
Paul Walmsley0d619a82011-07-09 19:14:07 -060021/* Common IP block data across OMAP2xxx */
Paul Walmsleycb484272012-04-19 04:04:33 -060022extern struct omap_hwmod omap2xxx_l3_main_hwmod;
23extern struct omap_hwmod omap2xxx_l4_core_hwmod;
24extern struct omap_hwmod omap2xxx_l4_wkup_hwmod;
25extern struct omap_hwmod omap2xxx_mpu_hwmod;
26extern struct omap_hwmod omap2xxx_iva_hwmod;
27extern struct omap_hwmod omap2xxx_timer1_hwmod;
28extern struct omap_hwmod omap2xxx_timer2_hwmod;
29extern struct omap_hwmod omap2xxx_timer3_hwmod;
30extern struct omap_hwmod omap2xxx_timer4_hwmod;
31extern struct omap_hwmod omap2xxx_timer5_hwmod;
32extern struct omap_hwmod omap2xxx_timer6_hwmod;
33extern struct omap_hwmod omap2xxx_timer7_hwmod;
34extern struct omap_hwmod omap2xxx_timer8_hwmod;
35extern struct omap_hwmod omap2xxx_timer9_hwmod;
36extern struct omap_hwmod omap2xxx_timer10_hwmod;
37extern struct omap_hwmod omap2xxx_timer11_hwmod;
38extern struct omap_hwmod omap2xxx_timer12_hwmod;
39extern struct omap_hwmod omap2xxx_wd_timer2_hwmod;
40extern struct omap_hwmod omap2xxx_uart1_hwmod;
41extern struct omap_hwmod omap2xxx_uart2_hwmod;
42extern struct omap_hwmod omap2xxx_uart3_hwmod;
43extern struct omap_hwmod omap2xxx_dss_core_hwmod;
44extern struct omap_hwmod omap2xxx_dss_dispc_hwmod;
45extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod;
46extern struct omap_hwmod omap2xxx_dss_venc_hwmod;
47extern struct omap_hwmod omap2xxx_gpio1_hwmod;
48extern struct omap_hwmod omap2xxx_gpio2_hwmod;
49extern struct omap_hwmod omap2xxx_gpio3_hwmod;
50extern struct omap_hwmod omap2xxx_gpio4_hwmod;
51extern struct omap_hwmod omap2xxx_mcspi1_hwmod;
52extern struct omap_hwmod omap2xxx_mcspi2_hwmod;
Vaibhav Hiremathc8d82ff2012-05-08 11:34:30 -060053extern struct omap_hwmod omap2xxx_counter_32k_hwmod;
Afzal Mohammed49484a62012-09-23 17:28:24 -060054extern struct omap_hwmod omap2xxx_gpmc_hwmod;
Paul Walmsleye9b0a2f2012-09-23 17:28:25 -060055extern struct omap_hwmod omap2xxx_rng_hwmod;
Mark A. Greere569e992013-03-30 15:49:19 -060056extern struct omap_hwmod omap2xxx_sham_hwmod;
Mark A. Greer660ffd62012-12-21 09:28:09 -070057extern struct omap_hwmod omap2xxx_aes_hwmod;
Paul Walmsleyd826ebf2011-07-09 19:14:07 -060058
Paul Walmsley6a297552012-04-19 04:04:34 -060059/* Common interface data across OMAP2xxx */
60extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core;
61extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main;
62extern struct omap_hwmod_ocp_if omap2xxx_dss__l3;
63extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup;
64extern struct omap_hwmod_ocp_if omap2_l4_core__uart1;
65extern struct omap_hwmod_ocp_if omap2_l4_core__uart2;
66extern struct omap_hwmod_ocp_if omap2_l4_core__uart3;
67extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1;
68extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2;
69extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2;
70extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3;
71extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4;
72extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5;
73extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6;
74extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7;
75extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8;
76extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9;
77extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10;
78extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11;
79extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12;
80extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss;
81extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc;
82extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi;
83extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc;
Paul Walmsleye9b0a2f2012-09-23 17:28:25 -060084extern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng;
Mark A. Greere569e992013-03-30 15:49:19 -060085extern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham;
Mark A. Greer660ffd62012-12-21 09:28:09 -070086extern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes;
Paul Walmsley6a297552012-04-19 04:04:34 -060087
Paul Walmsley43b40992010-02-22 22:09:34 -070088/* OMAP hwmod classes - forward declarations */
89extern struct omap_hwmod_class l3_hwmod_class;
90extern struct omap_hwmod_class l4_hwmod_class;
91extern struct omap_hwmod_class mpu_hwmod_class;
Kevin Hilman90709ae2010-07-26 16:34:31 -060092extern struct omap_hwmod_class iva_hwmod_class;
Paul Walmsley273b9462011-07-09 19:14:08 -060093extern struct omap_hwmod_class omap2_uart_class;
94extern struct omap_hwmod_class omap2_dss_hwmod_class;
95extern struct omap_hwmod_class omap2_dispc_hwmod_class;
96extern struct omap_hwmod_class omap2_rfbi_hwmod_class;
97extern struct omap_hwmod_class omap2_venc_hwmod_class;
Paul Walmsley03d830e2012-05-08 11:34:27 -060098extern struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc;
99extern struct omap_hwmod_class omap2_hdq1w_class;
Paul Walmsley43b40992010-02-22 22:09:34 -0700100
Paul Walmsley273b9462011-07-09 19:14:08 -0600101extern struct omap_hwmod_class omap2xxx_timer_hwmod_class;
102extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class;
103extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class;
104extern struct omap_hwmod_class omap2xxx_dma_hwmod_class;
105extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class;
106extern struct omap_hwmod_class omap2xxx_mcspi_class;
Paul Walmsleyded11382011-07-09 19:14:06 -0600107
Archit Tanejab923d402011-10-06 18:04:08 -0600108extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr;
109
Paul Walmsley43b40992010-02-22 22:09:34 -0700110#endif