Loading...
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_iva_hwmod;
24extern struct omap_hwmod omap2xxx_timer3_hwmod;
25extern struct omap_hwmod omap2xxx_timer4_hwmod;
26extern struct omap_hwmod omap2xxx_timer5_hwmod;
27extern struct omap_hwmod omap2xxx_timer6_hwmod;
28extern struct omap_hwmod omap2xxx_timer7_hwmod;
29extern struct omap_hwmod omap2xxx_timer8_hwmod;
30extern struct omap_hwmod omap2xxx_timer9_hwmod;
31extern struct omap_hwmod omap2xxx_timer10_hwmod;
32extern struct omap_hwmod omap2xxx_timer11_hwmod;
33extern struct omap_hwmod omap2xxx_timer12_hwmod;
34extern struct omap_hwmod omap2xxx_wd_timer2_hwmod;
35extern struct omap_hwmod omap2xxx_uart1_hwmod;
36extern struct omap_hwmod omap2xxx_uart2_hwmod;
37extern struct omap_hwmod omap2xxx_uart3_hwmod;
38extern struct omap_hwmod omap2xxx_dss_core_hwmod;
39extern struct omap_hwmod omap2xxx_dss_dispc_hwmod;
40extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod;
41extern struct omap_hwmod omap2xxx_dss_venc_hwmod;
42extern struct omap_hwmod omap2xxx_gpio1_hwmod;
43extern struct omap_hwmod omap2xxx_gpio2_hwmod;
44extern struct omap_hwmod omap2xxx_gpio3_hwmod;
45extern struct omap_hwmod omap2xxx_gpio4_hwmod;
46extern struct omap_hwmod omap2xxx_mcspi1_hwmod;
47extern struct omap_hwmod omap2xxx_mcspi2_hwmod;
48extern struct omap_hwmod omap2xxx_gpmc_hwmod;
49extern struct omap_hwmod omap2xxx_rng_hwmod;
50extern struct omap_hwmod omap2xxx_sham_hwmod;
51extern struct omap_hwmod omap2xxx_aes_hwmod;
52
53/* Common interface data across OMAP2xxx */
54extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core;
55extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main;
56extern struct omap_hwmod_ocp_if omap2xxx_dss__l3;
57extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup;
58extern struct omap_hwmod_ocp_if omap2_l4_core__uart1;
59extern struct omap_hwmod_ocp_if omap2_l4_core__uart2;
60extern struct omap_hwmod_ocp_if omap2_l4_core__uart3;
61extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1;
62extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2;
63extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2;
64extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3;
65extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4;
66extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5;
67extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6;
68extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7;
69extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8;
70extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9;
71extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10;
72extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11;
73extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12;
74extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss;
75extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc;
76extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi;
77extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc;
78extern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng;
79extern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham;
80extern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes;
81
82/* OMAP hwmod classes - forward declarations */
83extern struct omap_hwmod_class l3_hwmod_class;
84extern struct omap_hwmod_class l4_hwmod_class;
85extern struct omap_hwmod_class mpu_hwmod_class;
86extern struct omap_hwmod_class iva_hwmod_class;
87extern struct omap_hwmod_class omap2_uart_class;
88extern struct omap_hwmod_class omap2_dss_hwmod_class;
89extern struct omap_hwmod_class omap2_dispc_hwmod_class;
90extern struct omap_hwmod_class omap2_rfbi_hwmod_class;
91extern struct omap_hwmod_class omap2_venc_hwmod_class;
92extern struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc;
93extern struct omap_hwmod_class omap2_hdq1w_class;
94
95extern struct omap_hwmod_class omap2xxx_timer_hwmod_class;
96extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class;
97extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class;
98extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class;
99extern struct omap_hwmod_class omap2xxx_mcspi_class;
100
101extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr;
102
103#endif
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 "omap_hwmod.h"
17
18#include "common.h"
19#include "display.h"
20
21/* Common address space across OMAP2xxx/3xxx */
22extern struct omap_hwmod_addr_space omap2_dma_system_addrs[];
23
24/* Common IP block data across OMAP2xxx */
25extern struct omap_gpio_dev_attr omap2xxx_gpio_dev_attr;
26extern struct omap_hwmod omap2xxx_l3_main_hwmod;
27extern struct omap_hwmod omap2xxx_l4_core_hwmod;
28extern struct omap_hwmod omap2xxx_l4_wkup_hwmod;
29extern struct omap_hwmod omap2xxx_mpu_hwmod;
30extern struct omap_hwmod omap2xxx_iva_hwmod;
31extern struct omap_hwmod omap2xxx_timer1_hwmod;
32extern struct omap_hwmod omap2xxx_timer2_hwmod;
33extern struct omap_hwmod omap2xxx_timer3_hwmod;
34extern struct omap_hwmod omap2xxx_timer4_hwmod;
35extern struct omap_hwmod omap2xxx_timer5_hwmod;
36extern struct omap_hwmod omap2xxx_timer6_hwmod;
37extern struct omap_hwmod omap2xxx_timer7_hwmod;
38extern struct omap_hwmod omap2xxx_timer8_hwmod;
39extern struct omap_hwmod omap2xxx_timer9_hwmod;
40extern struct omap_hwmod omap2xxx_timer10_hwmod;
41extern struct omap_hwmod omap2xxx_timer11_hwmod;
42extern struct omap_hwmod omap2xxx_timer12_hwmod;
43extern struct omap_hwmod omap2xxx_wd_timer2_hwmod;
44extern struct omap_hwmod omap2xxx_uart1_hwmod;
45extern struct omap_hwmod omap2xxx_uart2_hwmod;
46extern struct omap_hwmod omap2xxx_uart3_hwmod;
47extern struct omap_hwmod omap2xxx_dss_core_hwmod;
48extern struct omap_hwmod omap2xxx_dss_dispc_hwmod;
49extern struct omap_hwmod omap2xxx_dss_rfbi_hwmod;
50extern struct omap_hwmod omap2xxx_dss_venc_hwmod;
51extern struct omap_hwmod omap2xxx_gpio1_hwmod;
52extern struct omap_hwmod omap2xxx_gpio2_hwmod;
53extern struct omap_hwmod omap2xxx_gpio3_hwmod;
54extern struct omap_hwmod omap2xxx_gpio4_hwmod;
55extern struct omap_hwmod omap2xxx_mcspi1_hwmod;
56extern struct omap_hwmod omap2xxx_mcspi2_hwmod;
57extern struct omap_hwmod omap2xxx_counter_32k_hwmod;
58extern struct omap_hwmod omap2xxx_gpmc_hwmod;
59extern struct omap_hwmod omap2xxx_rng_hwmod;
60extern struct omap_hwmod omap2xxx_sham_hwmod;
61extern struct omap_hwmod omap2xxx_aes_hwmod;
62
63/* Common interface data across OMAP2xxx */
64extern struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core;
65extern struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main;
66extern struct omap_hwmod_ocp_if omap2xxx_dss__l3;
67extern struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup;
68extern struct omap_hwmod_ocp_if omap2_l4_core__uart1;
69extern struct omap_hwmod_ocp_if omap2_l4_core__uart2;
70extern struct omap_hwmod_ocp_if omap2_l4_core__uart3;
71extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1;
72extern struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2;
73extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2;
74extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3;
75extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4;
76extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5;
77extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6;
78extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7;
79extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8;
80extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9;
81extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10;
82extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11;
83extern struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12;
84extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss;
85extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc;
86extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi;
87extern struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc;
88extern struct omap_hwmod_ocp_if omap2xxx_l4_core__rng;
89extern struct omap_hwmod_ocp_if omap2xxx_l4_core__sham;
90extern struct omap_hwmod_ocp_if omap2xxx_l4_core__aes;
91
92/* Common IP block data */
93extern struct omap_hwmod_dma_info omap2_uart1_sdma_reqs[];
94extern struct omap_hwmod_dma_info omap2_uart2_sdma_reqs[];
95extern struct omap_hwmod_dma_info omap2_uart3_sdma_reqs[];
96extern struct omap_hwmod_dma_info omap2_i2c1_sdma_reqs[];
97extern struct omap_hwmod_dma_info omap2_i2c2_sdma_reqs[];
98extern struct omap_hwmod_dma_info omap2_mcspi1_sdma_reqs[];
99extern struct omap_hwmod_dma_info omap2_mcspi2_sdma_reqs[];
100extern struct omap_hwmod_dma_info omap2_mcbsp1_sdma_reqs[];
101extern struct omap_hwmod_dma_info omap2_mcbsp2_sdma_reqs[];
102
103/* Common IP block data on OMAP2430/OMAP3 */
104extern struct omap_hwmod_dma_info omap2_mcbsp3_sdma_reqs[];
105
106/* Common IP block data across OMAP2/3 */
107extern struct omap_hwmod_irq_info omap2_timer1_mpu_irqs[];
108extern struct omap_hwmod_irq_info omap2_timer2_mpu_irqs[];
109extern struct omap_hwmod_irq_info omap2_timer3_mpu_irqs[];
110extern struct omap_hwmod_irq_info omap2_timer4_mpu_irqs[];
111extern struct omap_hwmod_irq_info omap2_timer5_mpu_irqs[];
112extern struct omap_hwmod_irq_info omap2_timer6_mpu_irqs[];
113extern struct omap_hwmod_irq_info omap2_timer7_mpu_irqs[];
114extern struct omap_hwmod_irq_info omap2_timer8_mpu_irqs[];
115extern struct omap_hwmod_irq_info omap2_timer9_mpu_irqs[];
116extern struct omap_hwmod_irq_info omap2_timer10_mpu_irqs[];
117extern struct omap_hwmod_irq_info omap2_timer11_mpu_irqs[];
118extern struct omap_hwmod_irq_info omap2_uart1_mpu_irqs[];
119extern struct omap_hwmod_irq_info omap2_uart2_mpu_irqs[];
120extern struct omap_hwmod_irq_info omap2_uart3_mpu_irqs[];
121extern struct omap_hwmod_irq_info omap2_dispc_irqs[];
122extern struct omap_hwmod_irq_info omap2_i2c1_mpu_irqs[];
123extern struct omap_hwmod_irq_info omap2_i2c2_mpu_irqs[];
124extern struct omap_hwmod_irq_info omap2_dma_system_irqs[];
125extern struct omap_hwmod_irq_info omap2_mcspi1_mpu_irqs[];
126extern struct omap_hwmod_irq_info omap2_mcspi2_mpu_irqs[];
127extern struct omap_hwmod_addr_space omap2xxx_timer12_addrs[];
128extern struct omap_hwmod_irq_info omap2_hdq1w_mpu_irqs[];
129
130/* OMAP hwmod classes - forward declarations */
131extern struct omap_hwmod_class l3_hwmod_class;
132extern struct omap_hwmod_class l4_hwmod_class;
133extern struct omap_hwmod_class mpu_hwmod_class;
134extern struct omap_hwmod_class iva_hwmod_class;
135extern struct omap_hwmod_class omap2_uart_class;
136extern struct omap_hwmod_class omap2_dss_hwmod_class;
137extern struct omap_hwmod_class omap2_dispc_hwmod_class;
138extern struct omap_hwmod_class omap2_rfbi_hwmod_class;
139extern struct omap_hwmod_class omap2_venc_hwmod_class;
140extern struct omap_hwmod_class_sysconfig omap2_hdq1w_sysc;
141extern struct omap_hwmod_class omap2_hdq1w_class;
142
143extern struct omap_hwmod_class omap2xxx_timer_hwmod_class;
144extern struct omap_hwmod_class omap2xxx_wd_timer_hwmod_class;
145extern struct omap_hwmod_class omap2xxx_gpio_hwmod_class;
146extern struct omap_hwmod_class omap2xxx_dma_hwmod_class;
147extern struct omap_hwmod_class omap2xxx_mailbox_hwmod_class;
148extern struct omap_hwmod_class omap2xxx_mcspi_class;
149
150extern struct omap_dss_dispc_dev_attr omap2_3_dss_dispc_dev_attr;
151
152#endif