提交 659fa822 编写于 作者: B Benoit Cousson 提交者: Paul Walmsley

OMAP4: hwmod data: Fix missing address in DMM and EMIF_FW

The DMM is a piece of interconnect that need to be configured properly
for the tiler functionnality. It thus exposes some configuration registers
that were missing previously.
Signed-off-by: NBenoit Cousson <b-cousson@ti.com>
Signed-off-by: NPaul Walmsley <paul@pwsan.com>
上级 0cfe8751
...@@ -73,7 +73,15 @@ static struct omap_hwmod_ocp_if omap44xx_l3_main_1__dmm = { ...@@ -73,7 +73,15 @@ static struct omap_hwmod_ocp_if omap44xx_l3_main_1__dmm = {
.master = &omap44xx_l3_main_1_hwmod, .master = &omap44xx_l3_main_1_hwmod,
.slave = &omap44xx_dmm_hwmod, .slave = &omap44xx_dmm_hwmod,
.clk = "l3_div_ck", .clk = "l3_div_ck",
.user = OCP_USER_MPU | OCP_USER_SDMA, .user = OCP_USER_SDMA,
};
static struct omap_hwmod_addr_space omap44xx_dmm_addrs[] = {
{
.pa_start = 0x4e000000,
.pa_end = 0x4e0007ff,
.flags = ADDR_TYPE_RT
},
}; };
/* mpu -> dmm */ /* mpu -> dmm */
...@@ -81,7 +89,9 @@ static struct omap_hwmod_ocp_if omap44xx_mpu__dmm = { ...@@ -81,7 +89,9 @@ static struct omap_hwmod_ocp_if omap44xx_mpu__dmm = {
.master = &omap44xx_mpu_hwmod, .master = &omap44xx_mpu_hwmod,
.slave = &omap44xx_dmm_hwmod, .slave = &omap44xx_dmm_hwmod,
.clk = "l3_div_ck", .clk = "l3_div_ck",
.user = OCP_USER_MPU | OCP_USER_SDMA, .addr = omap44xx_dmm_addrs,
.addr_cnt = ARRAY_SIZE(omap44xx_dmm_addrs),
.user = OCP_USER_MPU,
}; };
/* dmm slave ports */ /* dmm slave ports */
...@@ -121,12 +131,22 @@ static struct omap_hwmod_ocp_if omap44xx_dmm__emif_fw = { ...@@ -121,12 +131,22 @@ static struct omap_hwmod_ocp_if omap44xx_dmm__emif_fw = {
.user = OCP_USER_MPU | OCP_USER_SDMA, .user = OCP_USER_MPU | OCP_USER_SDMA,
}; };
static struct omap_hwmod_addr_space omap44xx_emif_fw_addrs[] = {
{
.pa_start = 0x4a20c000,
.pa_end = 0x4a20c0ff,
.flags = ADDR_TYPE_RT
},
};
/* l4_cfg -> emif_fw */ /* l4_cfg -> emif_fw */
static struct omap_hwmod_ocp_if omap44xx_l4_cfg__emif_fw = { static struct omap_hwmod_ocp_if omap44xx_l4_cfg__emif_fw = {
.master = &omap44xx_l4_cfg_hwmod, .master = &omap44xx_l4_cfg_hwmod,
.slave = &omap44xx_emif_fw_hwmod, .slave = &omap44xx_emif_fw_hwmod,
.clk = "l4_div_ck", .clk = "l4_div_ck",
.user = OCP_USER_MPU | OCP_USER_SDMA, .addr = omap44xx_emif_fw_addrs,
.addr_cnt = ARRAY_SIZE(omap44xx_emif_fw_addrs),
.user = OCP_USER_MPU,
}; };
/* emif_fw slave ports */ /* emif_fw slave ports */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册