diff options
author | Victor Rodriguez <vm.rod25@gmail.com> | 2010-12-27 17:43:12 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-02-28 17:53:28 -0500 |
commit | 5efe330ac19ff63c257db1ab120234cca01a8079 (patch) | |
tree | c8ab1639d74ac73c7436de59373c2f63c46b8aec /arch/arm/mach-davinci | |
parent | ef782d8d4e80b25a56d8cb93d648dd125e6ea95e (diff) |
davinci: USB clocks for Omapl138-Hawkboard
This patch adds USB1.1 and USB2.0 clocks for the Hawkboard-L138 system
Signed-off-by: Victor Rodriguez <vm.rod25@gmail.com>
Tested-by: Rene Gonzalez <renegs.2378@gmail.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index f55a60f34266..c7417a4caeaf 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c | |||
@@ -345,6 +345,20 @@ static struct clk aemif_clk = { | |||
345 | .flags = ALWAYS_ENABLED, | 345 | .flags = ALWAYS_ENABLED, |
346 | }; | 346 | }; |
347 | 347 | ||
348 | static struct clk usb11_clk = { | ||
349 | .name = "usb11", | ||
350 | .parent = &pll0_sysclk4, | ||
351 | .lpsc = DA8XX_LPSC1_USB11, | ||
352 | .gpsc = 1, | ||
353 | }; | ||
354 | |||
355 | static struct clk usb20_clk = { | ||
356 | .name = "usb20", | ||
357 | .parent = &pll0_sysclk2, | ||
358 | .lpsc = DA8XX_LPSC1_USB20, | ||
359 | .gpsc = 1, | ||
360 | }; | ||
361 | |||
348 | static struct clk_lookup da850_clks[] = { | 362 | static struct clk_lookup da850_clks[] = { |
349 | CLK(NULL, "ref", &ref_clk), | 363 | CLK(NULL, "ref", &ref_clk), |
350 | CLK(NULL, "pll0", &pll0_clk), | 364 | CLK(NULL, "pll0", &pll0_clk), |
@@ -387,6 +401,8 @@ static struct clk_lookup da850_clks[] = { | |||
387 | CLK("davinci_mmc.0", NULL, &mmcsd0_clk), | 401 | CLK("davinci_mmc.0", NULL, &mmcsd0_clk), |
388 | CLK("davinci_mmc.1", NULL, &mmcsd1_clk), | 402 | CLK("davinci_mmc.1", NULL, &mmcsd1_clk), |
389 | CLK(NULL, "aemif", &aemif_clk), | 403 | CLK(NULL, "aemif", &aemif_clk), |
404 | CLK(NULL, "usb11", &usb11_clk), | ||
405 | CLK(NULL, "usb20", &usb20_clk), | ||
390 | CLK(NULL, NULL, NULL), | 406 | CLK(NULL, NULL, NULL), |
391 | }; | 407 | }; |
392 | 408 | ||