aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/clock-sh7367.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@opensource.se>2010-02-10 06:13:31 -0500
committerPaul Mundt <lethal@linux-sh.org>2010-02-12 00:10:48 -0500
commit3a7b802d1a8c279876ec74094d71f3c6c45d8030 (patch)
tree22a433940280039b35d1f5222f53d190d49bc2db /arch/arm/mach-shmobile/clock-sh7367.c
parent7fdda6780aaa21c7a94e09975649649bb0f4a932 (diff)
ARM: mach-shmobile: G3EVM USBHS support
Add G3EVM platform data and a magic setup sequence to initialize the r8a66597 block aka USBHS in sh7367. Signed-off-by: Magnus Damm <damm@opensource.se> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm/mach-shmobile/clock-sh7367.c')
-rw-r--r--arch/arm/mach-shmobile/clock-sh7367.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/clock-sh7367.c b/arch/arm/mach-shmobile/clock-sh7367.c
index 3b2e3f2fc7ea..58bd54e1113a 100644
--- a/arch/arm/mach-shmobile/clock-sh7367.c
+++ b/arch/arm/mach-shmobile/clock-sh7367.c
@@ -70,11 +70,18 @@ static struct clk r_clk = {
70 .rate = 32768, 70 .rate = 32768,
71}; 71};
72 72
73/* a static usb0 for now - enough to get r8a66597 working */
74static struct clk usb0_clk = {
75 .name = "usb0",
76};
77
73static struct clk_lookup lookups[] = { 78static struct clk_lookup lookups[] = {
74 { 79 {
75 .clk = &peripheral_clk, 80 .clk = &peripheral_clk,
76 }, { 81 }, {
77 .clk = &r_clk, 82 .clk = &r_clk,
83 }, {
84 .clk = &usb0_clk,
78 } 85 }
79}; 86};
80 87