ff594e2296
We can now probe devices with ti-sysc interconnect driver and dts data. Let's drop the related platform data and custom ti,hwmods dts property. As we're just dropping data, and the early platform data init is based on the custom ti,hwmods property, we want to drop both the platform data and ti,hwmods property in a single patch. Cc: Franklin S Cooper Jr <fcooper@ti.com> Cc: Keerthy <j-keerthy@ti.com> Cc: Roger Quadros <rogerq@ti.com> Tested-by: Keerthy <j-keerthy@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
163 lines
4.1 KiB
C
163 lines
4.1 KiB
C
/*
|
|
*
|
|
* Copyright (C) 2013 Texas Instruments Incorporated
|
|
*
|
|
* Interconnects common for AM335x and AM43x
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License as
|
|
* published by the Free Software Foundation version 2.
|
|
*
|
|
* This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
|
* kind, whether express or implied; without even the implied warranty
|
|
* of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
#include <linux/sizes.h>
|
|
#include "omap_hwmod.h"
|
|
#include "omap_hwmod_33xx_43xx_common_data.h"
|
|
|
|
/* mpu -> l3 main */
|
|
struct omap_hwmod_ocp_if am33xx_mpu__l3_main = {
|
|
.master = &am33xx_mpu_hwmod,
|
|
.slave = &am33xx_l3_main_hwmod,
|
|
.clk = "dpll_mpu_m2_ck",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l3 main -> l3 s */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__l3_s = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_l3_s_hwmod,
|
|
.clk = "l3s_gclk",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* l3 s -> l4 per/ls */
|
|
struct omap_hwmod_ocp_if am33xx_l3_s__l4_ls = {
|
|
.master = &am33xx_l3_s_hwmod,
|
|
.slave = &am33xx_l4_ls_hwmod,
|
|
.clk = "l3s_gclk",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* l3 s -> l4 wkup */
|
|
struct omap_hwmod_ocp_if am33xx_l3_s__l4_wkup = {
|
|
.master = &am33xx_l3_s_hwmod,
|
|
.slave = &am33xx_l4_wkup_hwmod,
|
|
.clk = "l3s_gclk",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* l3 main -> l3 instr */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__l3_instr = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_l3_instr_hwmod,
|
|
.clk = "l3s_gclk",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* mpu -> prcm */
|
|
struct omap_hwmod_ocp_if am33xx_mpu__prcm = {
|
|
.master = &am33xx_mpu_hwmod,
|
|
.slave = &am33xx_prcm_hwmod,
|
|
.clk = "dpll_mpu_m2_ck",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* l3 s -> l3 main*/
|
|
struct omap_hwmod_ocp_if am33xx_l3_s__l3_main = {
|
|
.master = &am33xx_l3_s_hwmod,
|
|
.slave = &am33xx_l3_main_hwmod,
|
|
.clk = "l3s_gclk",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* pru-icss -> l3 main */
|
|
struct omap_hwmod_ocp_if am33xx_pruss__l3_main = {
|
|
.master = &am33xx_pruss_hwmod,
|
|
.slave = &am33xx_l3_main_hwmod,
|
|
.clk = "l3_gclk",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* gfx -> l3 main */
|
|
struct omap_hwmod_ocp_if am33xx_gfx__l3_main = {
|
|
.master = &am33xx_gfx_hwmod,
|
|
.slave = &am33xx_l3_main_hwmod,
|
|
.clk = "dpll_core_m4_ck",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* l3 main -> gfx */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__gfx = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_gfx_hwmod,
|
|
.clk = "dpll_core_m4_ck",
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|
|
|
|
/* l4 wkup -> rtc */
|
|
struct omap_hwmod_ocp_if am33xx_l4_wkup__rtc = {
|
|
.master = &am33xx_l4_wkup_hwmod,
|
|
.slave = &am33xx_rtc_hwmod,
|
|
.clk = "clkdiv32k_ick",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l3s cfg -> gpmc */
|
|
struct omap_hwmod_ocp_if am33xx_l3_s__gpmc = {
|
|
.master = &am33xx_l3_s_hwmod,
|
|
.slave = &am33xx_gpmc_hwmod,
|
|
.clk = "l3s_gclk",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l4 per -> timer2 */
|
|
struct omap_hwmod_ocp_if am33xx_l4_ls__timer2 = {
|
|
.master = &am33xx_l4_ls_hwmod,
|
|
.slave = &am33xx_timer2_hwmod,
|
|
.clk = "l4ls_gclk",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l3 main -> tpcc */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__tpcc = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_tpcc_hwmod,
|
|
.clk = "l3_gclk",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l3 main -> tpcc0 */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__tptc0 = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_tptc0_hwmod,
|
|
.clk = "l3_gclk",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l3 main -> tpcc1 */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__tptc1 = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_tptc1_hwmod,
|
|
.clk = "l3_gclk",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l3 main -> tpcc2 */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__tptc2 = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_tptc2_hwmod,
|
|
.clk = "l3_gclk",
|
|
.user = OCP_USER_MPU,
|
|
};
|
|
|
|
/* l3 main -> ocmc */
|
|
struct omap_hwmod_ocp_if am33xx_l3_main__ocmc = {
|
|
.master = &am33xx_l3_main_hwmod,
|
|
.slave = &am33xx_ocmcram_hwmod,
|
|
.user = OCP_USER_MPU | OCP_USER_SDMA,
|
|
};
|