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
,
78 struct omap_hwmod_ocp_if am33xx_gfx__l3_main
= {
79 .master
= &am33xx_gfx_hwmod
,
80 .slave
= &am33xx_l3_main_hwmod
,
81 .clk
= "dpll_core_m4_ck",
82 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
86 struct omap_hwmod_ocp_if am33xx_l3_main__gfx
= {
87 .master
= &am33xx_l3_main_hwmod
,
88 .slave
= &am33xx_gfx_hwmod
,
89 .clk
= "dpll_core_m4_ck",
90 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,
94 struct omap_hwmod_ocp_if am33xx_l4_wkup__rtc
= {
95 .master
= &am33xx_l4_wkup_hwmod
,
96 .slave
= &am33xx_rtc_hwmod
,
97 .clk
= "clkdiv32k_ick",
101 /* l3s cfg -> gpmc */
102 struct omap_hwmod_ocp_if am33xx_l3_s__gpmc
= {
103 .master
= &am33xx_l3_s_hwmod
,
104 .slave
= &am33xx_gpmc_hwmod
,
106 .user
= OCP_USER_MPU
,
109 /* l4 per -> timer2 */
110 struct omap_hwmod_ocp_if am33xx_l4_ls__timer2
= {
111 .master
= &am33xx_l4_ls_hwmod
,
112 .slave
= &am33xx_timer2_hwmod
,
114 .user
= OCP_USER_MPU
,
117 /* l3 main -> ocmc */
118 struct omap_hwmod_ocp_if am33xx_l3_main__ocmc
= {
119 .master
= &am33xx_l3_main_hwmod
,
120 .slave
= &am33xx_ocmcram_hwmod
,
121 .user
= OCP_USER_MPU
| OCP_USER_SDMA
,