diff options
author | wanzongshun <mcuos.com@gmail.com> | 2010-02-18 23:21:51 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-02-21 17:22:23 -0500 |
commit | ce746e471f286ab566ae1a4b0df0f90fd8404c67 (patch) | |
tree | 6d5f4dabd8e9a0ceab3c342414a84fe2ed424fc3 /arch/arm/mach-w90x900 | |
parent | d91a8910d9585950706536a643ece51b67c695ec (diff) |
ARM: 5948/1: Enable timer0 to time4 clock support for nuc910
Enable timer0 to time4 clock support for nuc910
Signed-off-by: Wang Qiang <rurality.linux@gmail.com>
Signed-off-by: Wang Zongshun <mcuos.com@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-w90x900')
-rw-r--r-- | arch/arm/mach-w90x900/cpu.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-w90x900/cpu.c b/arch/arm/mach-w90x900/cpu.c index 20dc0c96214..dd8e1fdc5fc 100644 --- a/arch/arm/mach-w90x900/cpu.c +++ b/arch/arm/mach-w90x900/cpu.c | |||
@@ -68,6 +68,11 @@ static DEFINE_CLK(gdma, 27); | |||
68 | static DEFINE_CLK(adc, 28); | 68 | static DEFINE_CLK(adc, 28); |
69 | static DEFINE_CLK(usi, 29); | 69 | static DEFINE_CLK(usi, 29); |
70 | static DEFINE_CLK(ext, 0); | 70 | static DEFINE_CLK(ext, 0); |
71 | static DEFINE_CLK(timer0, 19); | ||
72 | static DEFINE_CLK(timer1, 20); | ||
73 | static DEFINE_CLK(timer2, 21); | ||
74 | static DEFINE_CLK(timer3, 22); | ||
75 | static DEFINE_CLK(timer4, 23); | ||
71 | 76 | ||
72 | static struct clk_lookup nuc900_clkregs[] = { | 77 | static struct clk_lookup nuc900_clkregs[] = { |
73 | DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL), | 78 | DEF_CLKLOOK(&clk_lcd, "nuc900-lcd", NULL), |
@@ -90,6 +95,11 @@ static struct clk_lookup nuc900_clkregs[] = { | |||
90 | DEF_CLKLOOK(&clk_adc, "nuc900-adc", NULL), | 95 | DEF_CLKLOOK(&clk_adc, "nuc900-adc", NULL), |
91 | DEF_CLKLOOK(&clk_usi, "nuc900-spi", NULL), | 96 | DEF_CLKLOOK(&clk_usi, "nuc900-spi", NULL), |
92 | DEF_CLKLOOK(&clk_ext, NULL, "ext"), | 97 | DEF_CLKLOOK(&clk_ext, NULL, "ext"), |
98 | DEF_CLKLOOK(&clk_timer0, NULL, "timer0"), | ||
99 | DEF_CLKLOOK(&clk_timer1, NULL, "timer1"), | ||
100 | DEF_CLKLOOK(&clk_timer2, NULL, "timer2"), | ||
101 | DEF_CLKLOOK(&clk_timer3, NULL, "timer3"), | ||
102 | DEF_CLKLOOK(&clk_timer4, NULL, "timer4"), | ||
93 | }; | 103 | }; |
94 | 104 | ||
95 | /* Initial serial platform data */ | 105 | /* Initial serial platform data */ |