diff options
author | Hari Kanigeri <h-kanigeri2@ti.com> | 2010-07-28 11:47:42 -0500 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2011-06-14 09:05:25 -0700 |
commit | 69e95a690ab17fd35d8255d3e751fbc800c81dae (patch) | |
tree | 90e010ed451ffc414746ced0ee491240dba8f574 /arch/arm/mach-omap2 | |
parent | 1e9936beeb420abf35a0dc0d2c58305ce8f64b20 (diff) | |
download | kernel_samsung_tuna-69e95a690ab17fd35d8255d3e751fbc800c81dae.zip kernel_samsung_tuna-69e95a690ab17fd35d8255d3e751fbc800c81dae.tar.gz kernel_samsung_tuna-69e95a690ab17fd35d8255d3e751fbc800c81dae.tar.bz2 |
omap4: hwmod: changes to add address space for MMU
This patch adds the address space changes for DSP and IPU MMU in OMAP4
Signed-off-by: Hari Kanigeri <h-kanigeri2@ti.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c index e1c69ff..290a2ee 100644 --- a/arch/arm/mach-omap2/omap_hwmod_44xx_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_44xx_data.c @@ -1036,6 +1036,14 @@ static struct omap_hwmod_rst_info omap44xx_dsp_c0_resets[] = { { .name = "dsp", .rst_shift = 0 }, }; +static struct omap_hwmod_addr_space omap44xx_dsp_addrs[] = { + { + .pa_start = 0x4A066000, + .pa_end = 0x4A0660ff, + .flags = ADDR_TYPE_RT + }, +}; + /* dsp -> iva */ static struct omap_hwmod_ocp_if omap44xx_dsp__iva = { .master = &omap44xx_dsp_hwmod, @@ -1055,6 +1063,8 @@ static struct omap_hwmod_ocp_if omap44xx_l4_cfg__dsp = { .master = &omap44xx_l4_cfg_hwmod, .slave = &omap44xx_dsp_hwmod, .clk = "l4_div_ck", + .addr = omap44xx_dsp_addrs, + .addr_cnt = ARRAY_SIZE(omap44xx_dsp_addrs), .user = OCP_USER_MPU | OCP_USER_SDMA, }; @@ -2365,6 +2375,14 @@ static struct omap_hwmod_rst_info omap44xx_ipu_resets[] = { { .name = "mmu_cache", .rst_shift = 2 }, }; +static struct omap_hwmod_addr_space omap44xx_ipu_addrs[] = { + { + .pa_start = 0x55082000, + .pa_end = 0x550820ff, + .flags = ADDR_TYPE_RT + }, +}; + /* ipu master ports */ static struct omap_hwmod_ocp_if *omap44xx_ipu_masters[] = { &omap44xx_ipu__l3_main_2, @@ -2375,6 +2393,8 @@ static struct omap_hwmod_ocp_if omap44xx_l3_main_2__ipu = { .master = &omap44xx_l3_main_2_hwmod, .slave = &omap44xx_ipu_hwmod, .clk = "l3_div_ck", + .addr = omap44xx_ipu_addrs, + .addr_cnt = ARRAY_SIZE(omap44xx_ipu_addrs), .user = OCP_USER_MPU | OCP_USER_SDMA, }; |