diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-07-17 05:56:15 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-07-28 05:10:36 -0400 |
commit | aea167cbb5c9056295109e5e171d27e30e2be5bc (patch) | |
tree | ee87d1120afa05de35b9fd9fe5dc1c0b195d2a65 /include/asm-sh/cpu-sh4 | |
parent | 3fec18bd603c3a55aeb325121a3e752f647641be (diff) |
sh: Add SuperH Mobile MSTPCR bits to clock framework
Handle module stop clock bits in MSTPCRn through the clock framework.
The clocks are named after the bits in the data sheet. The association
between bit number and hardware block is processor specific.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/cpu-sh4')
-rw-r--r-- | include/asm-sh/cpu-sh4/freq.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-sh/cpu-sh4/freq.h b/include/asm-sh/cpu-sh4/freq.h index a898105ebaba..c23af81c2e70 100644 --- a/include/asm-sh/cpu-sh4/freq.h +++ b/include/asm-sh/cpu-sh4/freq.h | |||
@@ -19,6 +19,9 @@ | |||
19 | #define SCLKACR 0xa4150008 | 19 | #define SCLKACR 0xa4150008 |
20 | #define SCLKBCR 0xa415000c | 20 | #define SCLKBCR 0xa415000c |
21 | #define IrDACLKCR 0xa4150010 | 21 | #define IrDACLKCR 0xa4150010 |
22 | #define MSTPCR0 0xa4150030 | ||
23 | #define MSTPCR1 0xa4150034 | ||
24 | #define MSTPCR2 0xa4150038 | ||
22 | #elif defined(CONFIG_CPU_SUBTYPE_SH7763) || \ | 25 | #elif defined(CONFIG_CPU_SUBTYPE_SH7763) || \ |
23 | defined(CONFIG_CPU_SUBTYPE_SH7780) | 26 | defined(CONFIG_CPU_SUBTYPE_SH7780) |
24 | #define FRQCR 0xffc80000 | 27 | #define FRQCR 0xffc80000 |