2 * omap_hwmod_2xxx_interconnect_data.c - common interconnect data for OMAP2xxx
4 * Copyright (C) 2009-2011 Nokia Corporation
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
11 * XXX handle crossbar/shared link difference for L3?
12 * XXX these should be marked initdata for multi-OMAP kernels
14 #include <asm/sizes.h>
16 #include "omap_hwmod.h"
21 #include "omap_hwmod_common_data.h"
24 * Common interconnect data
27 /* L3 -> L4_CORE interface */
28 struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core
= {
29 .master
= &omap2xxx_l3_main_hwmod
,
30 .slave
= &omap2xxx_l4_core_hwmod
,
31 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
34 /* MPU -> L3 interface */
35 struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main
= {
36 .master
= &omap2xxx_mpu_hwmod
,
37 .slave
= &omap2xxx_l3_main_hwmod
,
42 struct omap_hwmod_ocp_if omap2xxx_dss__l3
= {
43 .master
= &omap2xxx_dss_core_hwmod
,
44 .slave
= &omap2xxx_l3_main_hwmod
,
47 .l3_perm_bit
= OMAP2_L3_CORE_FW_CONNID_DSS
,
48 .flags
= OMAP_FIREWALL_L3
,
51 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
54 /* L4_CORE -> L4_WKUP interface */
55 struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup
= {
56 .master
= &omap2xxx_l4_core_hwmod
,
57 .slave
= &omap2xxx_l4_wkup_hwmod
,
58 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
61 /* L4 CORE -> UART1 interface */
62 struct omap_hwmod_ocp_if omap2_l4_core__uart1
= {
63 .master
= &omap2xxx_l4_core_hwmod
,
64 .slave
= &omap2xxx_uart1_hwmod
,
66 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
69 /* L4 CORE -> UART2 interface */
70 struct omap_hwmod_ocp_if omap2_l4_core__uart2
= {
71 .master
= &omap2xxx_l4_core_hwmod
,
72 .slave
= &omap2xxx_uart2_hwmod
,
74 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
77 /* L4 PER -> UART3 interface */
78 struct omap_hwmod_ocp_if omap2_l4_core__uart3
= {
79 .master
= &omap2xxx_l4_core_hwmod
,
80 .slave
= &omap2xxx_uart3_hwmod
,
82 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
85 /* l4 core -> mcspi1 interface */
86 struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1
= {
87 .master
= &omap2xxx_l4_core_hwmod
,
88 .slave
= &omap2xxx_mcspi1_hwmod
,
90 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
93 /* l4 core -> mcspi2 interface */
94 struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2
= {
95 .master
= &omap2xxx_l4_core_hwmod
,
96 .slave
= &omap2xxx_mcspi2_hwmod
,
98 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
101 /* l4_core -> timer2 */
102 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2
= {
103 .master
= &omap2xxx_l4_core_hwmod
,
104 .slave
= &omap2xxx_timer2_hwmod
,
106 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
109 /* l4_core -> timer3 */
110 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3
= {
111 .master
= &omap2xxx_l4_core_hwmod
,
112 .slave
= &omap2xxx_timer3_hwmod
,
114 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
117 /* l4_core -> timer4 */
118 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4
= {
119 .master
= &omap2xxx_l4_core_hwmod
,
120 .slave
= &omap2xxx_timer4_hwmod
,
122 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
125 /* l4_core -> timer5 */
126 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5
= {
127 .master
= &omap2xxx_l4_core_hwmod
,
128 .slave
= &omap2xxx_timer5_hwmod
,
130 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
133 /* l4_core -> timer6 */
134 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6
= {
135 .master
= &omap2xxx_l4_core_hwmod
,
136 .slave
= &omap2xxx_timer6_hwmod
,
138 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
141 /* l4_core -> timer7 */
142 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7
= {
143 .master
= &omap2xxx_l4_core_hwmod
,
144 .slave
= &omap2xxx_timer7_hwmod
,
146 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
149 /* l4_core -> timer8 */
150 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8
= {
151 .master
= &omap2xxx_l4_core_hwmod
,
152 .slave
= &omap2xxx_timer8_hwmod
,
154 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
157 /* l4_core -> timer9 */
158 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9
= {
159 .master
= &omap2xxx_l4_core_hwmod
,
160 .slave
= &omap2xxx_timer9_hwmod
,
162 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
165 /* l4_core -> timer10 */
166 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10
= {
167 .master
= &omap2xxx_l4_core_hwmod
,
168 .slave
= &omap2xxx_timer10_hwmod
,
170 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
173 /* l4_core -> timer11 */
174 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11
= {
175 .master
= &omap2xxx_l4_core_hwmod
,
176 .slave
= &omap2xxx_timer11_hwmod
,
178 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
181 /* l4_core -> timer12 */
182 struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12
= {
183 .master
= &omap2xxx_l4_core_hwmod
,
184 .slave
= &omap2xxx_timer12_hwmod
,
186 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
190 struct omap_hwmod_ocp_if omap2xxx_l4_core__dss
= {
191 .master
= &omap2xxx_l4_core_hwmod
,
192 .slave
= &omap2xxx_dss_core_hwmod
,
194 .addr
= omap2_dss_addrs
,
197 .l4_fw_region
= OMAP2420_L4_CORE_FW_DSS_CORE_REGION
,
198 .flags
= OMAP_FIREWALL_L4
,
201 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
204 /* l4_core -> dss_dispc */
205 struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc
= {
206 .master
= &omap2xxx_l4_core_hwmod
,
207 .slave
= &omap2xxx_dss_dispc_hwmod
,
209 .addr
= omap2_dss_dispc_addrs
,
212 .l4_fw_region
= OMAP2420_L4_CORE_FW_DSS_DISPC_REGION
,
213 .flags
= OMAP_FIREWALL_L4
,
216 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
219 /* l4_core -> dss_rfbi */
220 struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi
= {
221 .master
= &omap2xxx_l4_core_hwmod
,
222 .slave
= &omap2xxx_dss_rfbi_hwmod
,
224 .addr
= omap2_dss_rfbi_addrs
,
227 .l4_fw_region
= OMAP2420_L4_CORE_FW_DSS_CORE_REGION
,
228 .flags
= OMAP_FIREWALL_L4
,
231 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
234 /* l4_core -> dss_venc */
235 struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc
= {
236 .master
= &omap2xxx_l4_core_hwmod
,
237 .slave
= &omap2xxx_dss_venc_hwmod
,
239 .addr
= omap2_dss_venc_addrs
,
242 .l4_fw_region
= OMAP2420_L4_CORE_FW_DSS_VENC_REGION
,
243 .flags
= OMAP_FIREWALL_L4
,
246 .flags
= OCPIF_SWSUP_IDLE
,
247 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
251 struct omap_hwmod_ocp_if omap2xxx_l4_core__rng
= {
252 .master
= &omap2xxx_l4_core_hwmod
,
253 .slave
= &omap2xxx_rng_hwmod
,
255 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
258 /* l4 core -> sham interface */
259 struct omap_hwmod_ocp_if omap2xxx_l4_core__sham
= {
260 .master
= &omap2xxx_l4_core_hwmod
,
261 .slave
= &omap2xxx_sham_hwmod
,
263 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
266 /* l4 core -> aes interface */
267 struct omap_hwmod_ocp_if omap2xxx_l4_core__aes
= {
268 .master
= &omap2xxx_l4_core_hwmod
,
269 .slave
= &omap2xxx_aes_hwmod
,
271 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,