ARM: mach-shmobile: Use CMT2 for timer on sh7372
authorMagnus Damm <damm@opensource.se>
Thu, 30 Jun 2011 09:22:50 +0000 (09:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Jul 2011 06:11:35 +0000 (15:11 +0900)
commit0ed61fc9da59ea45d56a6928653691cef14bab9b
tree9a1cf3e376edd04a12c9e556e2ffe63960bab31f
parente3bbfa78bab125f58b831b5f7f45b5a305091d72
ARM: mach-shmobile: Use CMT2 for timer on sh7372

Switch the sh7372 CPU support to use CMT2 instead
of CMT1 for system timer.

CMT1 is located in the A3SP power domain while CMT2
is located in the always-on power domain C5.

This improves our PM situation - with CMT2 as timer
we can power down A3SP and still access the timer.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/clock-sh7372.c
arch/arm/mach-shmobile/setup-sh7372.c