Linux 5.7.7
[linux/fpc-iii.git] / arch / arm / mach-omap2 / omap_hwmod_common_data.h
blobc85cb8b5831cdbff5a8d241ac76ce84b83b7b13c
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * omap_hwmod_common_data.h - OMAP hwmod common macros and declarations
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
13 #include "omap_hwmod.h"
15 #include "common.h"
16 #include "display.h"
18 /* Common IP block data across OMAP2xxx */
19 extern struct omap_hwmod omap2xxx_l3_main_hwmod;
20 extern struct omap_hwmod omap2xxx_l4_core_hwmod;
21 extern struct omap_hwmod omap2xxx_l4_wkup_hwmod;
22 extern struct omap_hwmod omap2xxx_mpu_hwmod;
23 extern struct omap_hwmod omap2xxx_iva_hwmod;
24 extern struct omap_hwmod omap2xxx_timer1_hwmod;
25 extern struct omap_hwmod omap2xxx_timer2_hwmod;
26 extern struct omap_hwmod omap2xxx_timer3_hwmod;
27 extern struct omap_hwmod omap2xxx_timer4_hwmod;
28 extern struct omap_hwmod omap2xxx_timer5_hwmod;
29 extern struct omap_hwmod omap2xxx_timer6_hwmod;
30 extern struct omap_hwmod omap2xxx_timer7_hwmod;
31 extern struct omap_hwmod omap2xxx_timer8_hwmod;
32 extern struct omap_hwmod omap2xxx_timer9_hwmod;
33 extern struct omap_hwmod omap2xxx_timer10_hwmod;
34 extern struct omap_hwmod omap2xxx_timer11_hwmod;
35 extern struct omap_hwmod omap2xxx_timer12_hwmod;
36 extern struct omap_hwmod omap2xxx_wd_timer2_hwmod;
37 extern struct omap_hwmod omap2xxx_uart1_hwmod;
38 extern struct omap_hwmod omap2xxx_uart2_hwmod;
39 extern struct omap_hwmod omap2xxx_uart3_hwmod;
40 extern struct omap_hwmod omap2xxx_dss_core_hwmod;
41 extern struct omap_hwmod omap2xxx_dss_dispc_hwmod;
42 extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod;
43 extern struct omap_hwmod omap2xxx_dss_venc_hwmod;
44 extern struct omap_hwmod omap2xxx_gpio1_hwmod;
45 extern struct omap_hwmod omap2xxx_gpio2_hwmod;
46 extern struct omap_hwmod omap2xxx_gpio3_hwmod;
47 extern struct omap_hwmod omap2xxx_gpio4_hwmod;
48 extern struct omap_hwmod omap2xxx_mcspi1_hwmod;
49 extern struct omap_hwmod omap2xxx_mcspi2_hwmod;
50 extern struct omap_hwmod omap2xxx_counter_32k_hwmod;
51 extern struct omap_hwmod omap2xxx_gpmc_hwmod;
52 extern struct omap_hwmod omap2xxx_rng_hwmod;
53 extern struct omap_hwmod omap2xxx_sham_hwmod;
54 extern struct omap_hwmod omap2xxx_aes_hwmod;
56 /* Common interface data across OMAP2xxx */
57 extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core;
58 extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main;
59 extern struct omap_hwmod_ocp_if omap2xxx_dss__l3;
60 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup;
61 extern struct omap_hwmod_ocp_if omap2_l4_core__uart1;
62 extern struct omap_hwmod_ocp_if omap2_l4_core__uart2;
63 extern struct omap_hwmod_ocp_if omap2_l4_core__uart3;
64 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1;
65 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2;
66 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2;
67 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3;
68 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4;
69 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5;
70 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6;
71 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7;
72 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8;
73 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9;
74 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10;
75 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11;
76 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12;
77 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss;
78 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc;
79 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi;
80 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc;
81 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng;
82 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham;
83 extern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes;
85 /* OMAP hwmod classes - forward declarations */
86 extern struct omap_hwmod_class l3_hwmod_class;
87 extern struct omap_hwmod_class l4_hwmod_class;
88 extern struct omap_hwmod_class mpu_hwmod_class;
89 extern struct omap_hwmod_class iva_hwmod_class;
90 extern struct omap_hwmod_class omap2_uart_class;
91 extern struct omap_hwmod_class omap2_dss_hwmod_class;
92 extern struct omap_hwmod_class omap2_dispc_hwmod_class;
93 extern struct omap_hwmod_class omap2_rfbi_hwmod_class;
94 extern struct omap_hwmod_class omap2_venc_hwmod_class;
95 extern struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc;
96 extern struct omap_hwmod_class omap2_hdq1w_class;
98 extern struct omap_hwmod_class omap2xxx_timer_hwmod_class;
99 extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class;
100 extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class;
101 extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class;
102 extern struct omap_hwmod_class omap2xxx_mcspi_class;
104 extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr;
106 #endif