3 * Copyright (C) 2013 Texas Instruments Incorporated
5 * Interconnects common for AM335x and AM43x
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation version 2.
11 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
12 * kind, whether express or implied; without even the implied warranty
13 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
17 #include <linux/sizes.h>
18 #include "omap_hwmod.h"
19 #include "omap_hwmod_33xx_43xx_common_data.h"
22 struct omap_hwmod_ocp_if am33xx_mpu__l3_main
= {
23 .master
= &am33xx_mpu_hwmod
,
24 .slave
= &am33xx_l3_main_hwmod
,
25 .clk
= "dpll_mpu_m2_ck",
30 struct omap_hwmod_ocp_if am33xx_l3_main__l3_s
= {
31 .master
= &am33xx_l3_main_hwmod
,
32 .slave
= &am33xx_l3_s_hwmod
,
34 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
37 /* l3 s -> l4 per/ls */
38 struct omap_hwmod_ocp_if am33xx_l3_s__l4_ls
= {
39 .master
= &am33xx_l3_s_hwmod
,
40 .slave
= &am33xx_l4_ls_hwmod
,
42 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
46 struct omap_hwmod_ocp_if am33xx_l3_s__l4_wkup
= {
47 .master
= &am33xx_l3_s_hwmod
,
48 .slave
= &am33xx_l4_wkup_hwmod
,
50 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
53 /* l3 main -> l3 instr */
54 struct omap_hwmod_ocp_if am33xx_l3_main__l3_instr
= {
55 .master
= &am33xx_l3_main_hwmod
,
56 .slave
= &am33xx_l3_instr_hwmod
,
58 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
62 struct omap_hwmod_ocp_if am33xx_mpu__prcm
= {
63 .master
= &am33xx_mpu_hwmod
,
64 .slave
= &am33xx_prcm_hwmod
,
65 .clk
= "dpll_mpu_m2_ck",
66 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
70 struct omap_hwmod_ocp_if am33xx_l3_s__l3_main
= {
71 .master
= &am33xx_l3_s_hwmod
,
72 .slave
= &am33xx_l3_main_hwmod
,
74 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
77 /* pru-icss -> l3 main */
78 struct omap_hwmod_ocp_if am33xx_pruss__l3_main
= {
79 .master
= &am33xx_pruss_hwmod
,
80 .slave
= &am33xx_l3_main_hwmod
,
82 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
86 struct omap_hwmod_ocp_if am33xx_gfx__l3_main
= {
87 .master
= &am33xx_gfx_hwmod
,
88 .slave
= &am33xx_l3_main_hwmod
,
89 .clk
= "dpll_core_m4_ck",
90 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
94 struct omap_hwmod_ocp_if am33xx_l3_main__gfx
= {
95 .master
= &am33xx_l3_main_hwmod
,
96 .slave
= &am33xx_gfx_hwmod
,
97 .clk
= "dpll_core_m4_ck",
98 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
102 struct omap_hwmod_ocp_if am33xx_l4_wkup__rtc
= {
103 .master
= &am33xx_l4_wkup_hwmod
,
104 .slave
= &am33xx_rtc_hwmod
,
105 .clk
= "clkdiv32k_ick",
106 .user
= OCP_USER_MPU
,
109 /* l3s cfg -> gpmc */
110 struct omap_hwmod_ocp_if am33xx_l3_s__gpmc
= {
111 .master
= &am33xx_l3_s_hwmod
,
112 .slave
= &am33xx_gpmc_hwmod
,
114 .user
= OCP_USER_MPU
,
117 /* l4 per -> timer2 */
118 struct omap_hwmod_ocp_if am33xx_l4_ls__timer2
= {
119 .master
= &am33xx_l4_ls_hwmod
,
120 .slave
= &am33xx_timer2_hwmod
,
122 .user
= OCP_USER_MPU
,
125 /* l3 main -> tpcc */
126 struct omap_hwmod_ocp_if am33xx_l3_main__tpcc
= {
127 .master
= &am33xx_l3_main_hwmod
,
128 .slave
= &am33xx_tpcc_hwmod
,
130 .user
= OCP_USER_MPU
,
133 /* l3 main -> tpcc0 */
134 struct omap_hwmod_ocp_if am33xx_l3_main__tptc0
= {
135 .master
= &am33xx_l3_main_hwmod
,
136 .slave
= &am33xx_tptc0_hwmod
,
138 .user
= OCP_USER_MPU
,
141 /* l3 main -> tpcc1 */
142 struct omap_hwmod_ocp_if am33xx_l3_main__tptc1
= {
143 .master
= &am33xx_l3_main_hwmod
,
144 .slave
= &am33xx_tptc1_hwmod
,
146 .user
= OCP_USER_MPU
,
149 /* l3 main -> tpcc2 */
150 struct omap_hwmod_ocp_if am33xx_l3_main__tptc2
= {
151 .master
= &am33xx_l3_main_hwmod
,
152 .slave
= &am33xx_tptc2_hwmod
,
154 .user
= OCP_USER_MPU
,
157 /* l3 main -> ocmc */
158 struct omap_hwmod_ocp_if am33xx_l3_main__ocmc
= {
159 .master
= &am33xx_l3_main_hwmod
,
160 .slave
= &am33xx_ocmcram_hwmod
,
161 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,