123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273 |
- /*
- * omap_hwmod_2xxx_interconnect_data.c - common interconnect data for OMAP2xxx
- *
- * Copyright (C) 2009-2011 Nokia Corporation
- * Paul Walmsley
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
- *
- * XXX handle crossbar/shared link difference for L3?
- * XXX these should be marked initdata for multi-OMAP kernels
- */
- #include <asm/sizes.h>
- #include "omap_hwmod.h"
- #include "l3_2xxx.h"
- #include "l4_2xxx.h"
- #include "serial.h"
- #include "omap_hwmod_common_data.h"
- /*
- * Common interconnect data
- */
- /* L3 -> L4_CORE interface */
- struct omap_hwmod_ocp_if omap2xxx_l3_main__l4_core = {
- .master = &omap2xxx_l3_main_hwmod,
- .slave = &omap2xxx_l4_core_hwmod,
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* MPU -> L3 interface */
- struct omap_hwmod_ocp_if omap2xxx_mpu__l3_main = {
- .master = &omap2xxx_mpu_hwmod,
- .slave = &omap2xxx_l3_main_hwmod,
- .user = OCP_USER_MPU,
- };
- /* DSS -> l3 */
- struct omap_hwmod_ocp_if omap2xxx_dss__l3 = {
- .master = &omap2xxx_dss_core_hwmod,
- .slave = &omap2xxx_l3_main_hwmod,
- .fw = {
- .omap2 = {
- .l3_perm_bit = OMAP2_L3_CORE_FW_CONNID_DSS,
- .flags = OMAP_FIREWALL_L3,
- },
- },
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* L4_CORE -> L4_WKUP interface */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__l4_wkup = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_l4_wkup_hwmod,
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* L4 CORE -> UART1 interface */
- struct omap_hwmod_ocp_if omap2_l4_core__uart1 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_uart1_hwmod,
- .clk = "uart1_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* L4 CORE -> UART2 interface */
- struct omap_hwmod_ocp_if omap2_l4_core__uart2 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_uart2_hwmod,
- .clk = "uart2_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* L4 PER -> UART3 interface */
- struct omap_hwmod_ocp_if omap2_l4_core__uart3 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_uart3_hwmod,
- .clk = "uart3_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4 core -> mcspi1 interface */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi1 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_mcspi1_hwmod,
- .clk = "mcspi1_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4 core -> mcspi2 interface */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__mcspi2 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_mcspi2_hwmod,
- .clk = "mcspi2_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer2 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer2 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer2_hwmod,
- .clk = "gpt2_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer3 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer3 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer3_hwmod,
- .clk = "gpt3_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer4 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer4 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer4_hwmod,
- .clk = "gpt4_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer5 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer5 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer5_hwmod,
- .clk = "gpt5_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer6 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer6 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer6_hwmod,
- .clk = "gpt6_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer7 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer7 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer7_hwmod,
- .clk = "gpt7_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer8 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer8 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer8_hwmod,
- .clk = "gpt8_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer9 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer9 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer9_hwmod,
- .clk = "gpt9_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer10 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer10 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer10_hwmod,
- .clk = "gpt10_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer11 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer11 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer11_hwmod,
- .clk = "gpt11_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> timer12 */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__timer12 = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_timer12_hwmod,
- .clk = "gpt12_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> dss */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__dss = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_dss_core_hwmod,
- .clk = "dss_ick",
- .addr = omap2_dss_addrs,
- .fw = {
- .omap2 = {
- .l4_fw_region = OMAP2420_L4_CORE_FW_DSS_CORE_REGION,
- .flags = OMAP_FIREWALL_L4,
- },
- },
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> dss_dispc */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_dispc = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_dss_dispc_hwmod,
- .clk = "dss_ick",
- .addr = omap2_dss_dispc_addrs,
- .fw = {
- .omap2 = {
- .l4_fw_region = OMAP2420_L4_CORE_FW_DSS_DISPC_REGION,
- .flags = OMAP_FIREWALL_L4,
- },
- },
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> dss_rfbi */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_rfbi = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_dss_rfbi_hwmod,
- .clk = "dss_ick",
- .addr = omap2_dss_rfbi_addrs,
- .fw = {
- .omap2 = {
- .l4_fw_region = OMAP2420_L4_CORE_FW_DSS_CORE_REGION,
- .flags = OMAP_FIREWALL_L4,
- },
- },
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> dss_venc */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__dss_venc = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_dss_venc_hwmod,
- .clk = "dss_ick",
- .addr = omap2_dss_venc_addrs,
- .fw = {
- .omap2 = {
- .l4_fw_region = OMAP2420_L4_CORE_FW_DSS_VENC_REGION,
- .flags = OMAP_FIREWALL_L4,
- },
- },
- .flags = OCPIF_SWSUP_IDLE,
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4_core -> rng */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__rng = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_rng_hwmod,
- .clk = "rng_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4 core -> sham interface */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__sham = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_sham_hwmod,
- .clk = "sha_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
- /* l4 core -> aes interface */
- struct omap_hwmod_ocp_if omap2xxx_l4_core__aes = {
- .master = &omap2xxx_l4_core_hwmod,
- .slave = &omap2xxx_aes_hwmod,
- .clk = "aes_ick",
- .user = OCP_USER_MPU | OCP_USER_SDMA,
- };
|