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

source code of linux/arch/arm/mach-omap2/omap_hwmod_common_data.h