summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAfzal Mohammed2013-07-05 17:13:17 +0200
committerPaul Walmsley2013-07-30 13:13:37 +0200
commit50c2a3a1518befe992f868fc1fd867bdad9776ad (patch)
tree748c092a8748bbd9b255e30287cc3fb02a07f644 /arch
parentARM: OMAP2+: hwmod: rt address space index for DT (diff)
downloadkernel-qcow2-linux-50c2a3a1518befe992f868fc1fd867bdad9776ad.tar.gz
kernel-qcow2-linux-50c2a3a1518befe992f868fc1fd867bdad9776ad.tar.xz
kernel-qcow2-linux-50c2a3a1518befe992f868fc1fd867bdad9776ad.zip
ARM: OMAP2+: hwmod: AM335x: fix cpgmac address space
Register target address to be used for cpgmac is the second device address space. By default, hwmod picks first address space (0th index) for register target. With removal of address space from hwmod and using DT instead, cpgmac is getting wrong address space for register target. Fix it by indicating the address space to be used for register target. Signed-off-by: Afzal Mohammed <afzal@ti.com> Tested-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/omap_hwmod_33xx_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
index d4114a919df7..eb2f3b93b51c 100644
--- a/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
+++ b/arch/arm/mach-omap2/omap_hwmod_33xx_data.c
@@ -562,6 +562,7 @@ static struct omap_hwmod am33xx_cpgmac0_hwmod = {
.clkdm_name = "cpsw_125mhz_clkdm",
.flags = (HWMOD_SWSUP_SIDLE | HWMOD_SWSUP_MSTANDBY),
.main_clk = "cpsw_125mhz_gclk",
+ .mpu_rt_idx = 1,
.prcm = {
.omap4 = {
.clkctrl_offs = AM33XX_CM_PER_CPGMAC0_CLKCTRL_OFFSET,