diff options
author | Magnus Damm <damm@igel.co.jp> | 2008-10-31 07:15:48 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:42:50 -0500 |
commit | ecf399bdafb83b6c0091837dd2a0612470e9c8d2 (patch) | |
tree | 84f45d0f00f742f2297f6dcc715eb5c94e68c000 /arch/sh/kernel | |
parent | 7c7e02a28b4e7212dcdcc24bbd2b137790504a84 (diff) |
sh: sh_mobile mstpcr clocks for sh7722
Add sh7722 mstpcr bits and information about their parent clocks.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c index c7155f9b10f5..3ef5825ffa9e 100644 --- a/arch/sh/kernel/cpu/sh4a/clock-sh7722.c +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7722.c | |||
@@ -687,6 +687,31 @@ static struct clk sh7722_mstpcr[] = { | |||
687 | } | 687 | } |
688 | 688 | ||
689 | static struct clk sh7722_mstpcr_clocks[] = { | 689 | static struct clk sh7722_mstpcr_clocks[] = { |
690 | #if defined(CONFIG_CPU_SUBTYPE_SH7722) | ||
691 | MSTPCR("uram0", "umem_clk", 0, 28), | ||
692 | MSTPCR("xymem0", "bus_clk", 0, 26), | ||
693 | MSTPCR("tmu0", "peripheral_clk", 0, 15), | ||
694 | MSTPCR("cmt0", "r_clk", 0, 14), | ||
695 | MSTPCR("rwdt0", "r_clk", 0, 13), | ||
696 | MSTPCR("flctl0", "peripheral_clk", 0, 10), | ||
697 | MSTPCR("scif0", "peripheral_clk", 0, 7), | ||
698 | MSTPCR("scif1", "peripheral_clk", 0, 6), | ||
699 | MSTPCR("scif2", "peripheral_clk", 0, 5), | ||
700 | MSTPCR("i2c0", "peripheral_clk", 1, 9), | ||
701 | MSTPCR("rtc0", "r_clk", 1, 8), | ||
702 | MSTPCR("sdhi0", "peripheral_clk", 2, 18), | ||
703 | MSTPCR("keysc0", "r_clk", 2, 14), | ||
704 | MSTPCR("usbf0", "peripheral_clk", 2, 11), | ||
705 | MSTPCR("2dg0", "bus_clk", 2, 9), | ||
706 | MSTPCR("siu0", "bus_clk", 2, 8), | ||
707 | MSTPCR("vou0", "bus_clk", 2, 5), | ||
708 | MSTPCR("jpu0", "bus_clk", 2, 6), | ||
709 | MSTPCR("beu0", "bus_clk", 2, 4), | ||
710 | MSTPCR("ceu0", "bus_clk", 2, 3), | ||
711 | MSTPCR("veu0", "bus_clk", 2, 2), | ||
712 | MSTPCR("vpu0", "bus_clk", 2, 1), | ||
713 | MSTPCR("lcdc0", "bus_clk", 2, 0), | ||
714 | #endif | ||
690 | }; | 715 | }; |
691 | 716 | ||
692 | static struct clk *sh7722_clocks[] = { | 717 | static struct clk *sh7722_clocks[] = { |