diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-04-19 15:33:56 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-04-19 15:33:56 -0400 |
commit | e17f18c007040053babe785f5ba61aa3536bd77d (patch) | |
tree | 09b7a21f7e279ac738c9e4de8e7fe7e6d9e06729 | |
parent | 0c6688753f9912c6a7013549ec31c8844020bbc1 (diff) |
ARM: OMAP4: hwmod data: add OCM RAM IP block
Add the OCM RAM IP block and interconnect data. This is an oh-chip
block of SRAM connected directly to the L3 bus.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: BenoƮt Cousson <b-cousson@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index c080fd6c806e..b8e27132e9db 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c | |||
@@ -281,7 +281,6 @@ static struct omap_hwmod omap44xx_mpu_private_hwmod = { | |||
281 | * efuse_ctrl_std | 281 | * efuse_ctrl_std |
282 | * mpu_c0 | 282 | * mpu_c0 |
283 | * mpu_c1 | 283 | * mpu_c1 |
284 | * ocmc_ram | ||
285 | * ocp_wp_noc | 284 | * ocp_wp_noc |
286 | * prcm_mpu | 285 | * prcm_mpu |
287 | * prm | 286 | * prm |
@@ -2385,6 +2384,28 @@ static struct omap_hwmod omap44xx_mpu_hwmod = { | |||
2385 | }; | 2384 | }; |
2386 | 2385 | ||
2387 | /* | 2386 | /* |
2387 | * 'ocmc_ram' class | ||
2388 | * top-level core on-chip ram | ||
2389 | */ | ||
2390 | |||
2391 | static struct omap_hwmod_class omap44xx_ocmc_ram_hwmod_class = { | ||
2392 | .name = "ocmc_ram", | ||
2393 | }; | ||
2394 | |||
2395 | /* ocmc_ram */ | ||
2396 | static struct omap_hwmod omap44xx_ocmc_ram_hwmod = { | ||
2397 | .name = "ocmc_ram", | ||
2398 | .class = &omap44xx_ocmc_ram_hwmod_class, | ||
2399 | .clkdm_name = "l3_2_clkdm", | ||
2400 | .prcm = { | ||
2401 | .omap4 = { | ||
2402 | .clkctrl_offs = OMAP4_CM_L3_2_OCMC_RAM_CLKCTRL_OFFSET, | ||
2403 | .context_offs = OMAP4_RM_L3_2_OCMC_RAM_CONTEXT_OFFSET, | ||
2404 | }, | ||
2405 | }, | ||
2406 | }; | ||
2407 | |||
2408 | /* | ||
2388 | * 'ocp2scp' class | 2409 | * 'ocp2scp' class |
2389 | * bridge to transform ocp interface protocol to scp (serial control port) | 2410 | * bridge to transform ocp interface protocol to scp (serial control port) |
2390 | * protocol | 2411 | * protocol |
@@ -4964,6 +4985,14 @@ static struct omap_hwmod_ocp_if omap44xx_l4_per__mmc5 = { | |||
4964 | .user = OCP_USER_MPU | OCP_USER_SDMA, | 4985 | .user = OCP_USER_MPU | OCP_USER_SDMA, |
4965 | }; | 4986 | }; |
4966 | 4987 | ||
4988 | /* l3_main_2 -> ocmc_ram */ | ||
4989 | static struct omap_hwmod_ocp_if omap44xx_l3_main_2__ocmc_ram = { | ||
4990 | .master = &omap44xx_l3_main_2_hwmod, | ||
4991 | .slave = &omap44xx_ocmc_ram_hwmod, | ||
4992 | .clk = "l3_div_ck", | ||
4993 | .user = OCP_USER_MPU | OCP_USER_SDMA, | ||
4994 | }; | ||
4995 | |||
4967 | /* l4_cfg -> ocp2scp_usb_phy */ | 4996 | /* l4_cfg -> ocp2scp_usb_phy */ |
4968 | static struct omap_hwmod_ocp_if omap44xx_l4_cfg__ocp2scp_usb_phy = { | 4997 | static struct omap_hwmod_ocp_if omap44xx_l4_cfg__ocp2scp_usb_phy = { |
4969 | .master = &omap44xx_l4_cfg_hwmod, | 4998 | .master = &omap44xx_l4_cfg_hwmod, |
@@ -5695,6 +5724,7 @@ static struct omap_hwmod_ocp_if *omap44xx_hwmod_ocp_ifs[] __initdata = { | |||
5695 | &omap44xx_l4_per__mmc3, | 5724 | &omap44xx_l4_per__mmc3, |
5696 | &omap44xx_l4_per__mmc4, | 5725 | &omap44xx_l4_per__mmc4, |
5697 | &omap44xx_l4_per__mmc5, | 5726 | &omap44xx_l4_per__mmc5, |
5727 | &omap44xx_l3_main_2__ocmc_ram, | ||
5698 | &omap44xx_l4_cfg__ocp2scp_usb_phy, | 5728 | &omap44xx_l4_cfg__ocp2scp_usb_phy, |
5699 | &omap44xx_l3_main_2__sl2if, | 5729 | &omap44xx_l3_main_2__sl2if, |
5700 | &omap44xx_l4_abe__slimbus1, | 5730 | &omap44xx_l4_abe__slimbus1, |