diff options
Diffstat (limited to 'arch/arm/mach-at91rm9200/clock.c')
-rw-r--r-- | arch/arm/mach-at91rm9200/clock.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/arm/mach-at91rm9200/clock.c b/arch/arm/mach-at91rm9200/clock.c index edc2cc837ae6..5b7892277bee 100644 --- a/arch/arm/mach-at91rm9200/clock.c +++ b/arch/arm/mach-at91rm9200/clock.c | |||
@@ -190,85 +190,85 @@ static void pmc_periph_mode(struct clk *clk, int is_on) | |||
190 | static struct clk udc_clk = { | 190 | static struct clk udc_clk = { |
191 | .name = "udc_clk", | 191 | .name = "udc_clk", |
192 | .parent = &mck, | 192 | .parent = &mck, |
193 | .pmc_mask = 1 << AT91_ID_UDP, | 193 | .pmc_mask = 1 << AT91RM9200_ID_UDP, |
194 | .mode = pmc_periph_mode, | 194 | .mode = pmc_periph_mode, |
195 | }; | 195 | }; |
196 | static struct clk ohci_clk = { | 196 | static struct clk ohci_clk = { |
197 | .name = "ohci_clk", | 197 | .name = "ohci_clk", |
198 | .parent = &mck, | 198 | .parent = &mck, |
199 | .pmc_mask = 1 << AT91_ID_UHP, | 199 | .pmc_mask = 1 << AT91RM9200_ID_UHP, |
200 | .mode = pmc_periph_mode, | 200 | .mode = pmc_periph_mode, |
201 | }; | 201 | }; |
202 | static struct clk ether_clk = { | 202 | static struct clk ether_clk = { |
203 | .name = "ether_clk", | 203 | .name = "ether_clk", |
204 | .parent = &mck, | 204 | .parent = &mck, |
205 | .pmc_mask = 1 << AT91_ID_EMAC, | 205 | .pmc_mask = 1 << AT91RM9200_ID_EMAC, |
206 | .mode = pmc_periph_mode, | 206 | .mode = pmc_periph_mode, |
207 | }; | 207 | }; |
208 | static struct clk mmc_clk = { | 208 | static struct clk mmc_clk = { |
209 | .name = "mci_clk", | 209 | .name = "mci_clk", |
210 | .parent = &mck, | 210 | .parent = &mck, |
211 | .pmc_mask = 1 << AT91_ID_MCI, | 211 | .pmc_mask = 1 << AT91RM9200_ID_MCI, |
212 | .mode = pmc_periph_mode, | 212 | .mode = pmc_periph_mode, |
213 | }; | 213 | }; |
214 | static struct clk twi_clk = { | 214 | static struct clk twi_clk = { |
215 | .name = "twi_clk", | 215 | .name = "twi_clk", |
216 | .parent = &mck, | 216 | .parent = &mck, |
217 | .pmc_mask = 1 << AT91_ID_TWI, | 217 | .pmc_mask = 1 << AT91RM9200_ID_TWI, |
218 | .mode = pmc_periph_mode, | 218 | .mode = pmc_periph_mode, |
219 | }; | 219 | }; |
220 | static struct clk usart0_clk = { | 220 | static struct clk usart0_clk = { |
221 | .name = "usart0_clk", | 221 | .name = "usart0_clk", |
222 | .parent = &mck, | 222 | .parent = &mck, |
223 | .pmc_mask = 1 << AT91_ID_US0, | 223 | .pmc_mask = 1 << AT91RM9200_ID_US0, |
224 | .mode = pmc_periph_mode, | 224 | .mode = pmc_periph_mode, |
225 | }; | 225 | }; |
226 | static struct clk usart1_clk = { | 226 | static struct clk usart1_clk = { |
227 | .name = "usart1_clk", | 227 | .name = "usart1_clk", |
228 | .parent = &mck, | 228 | .parent = &mck, |
229 | .pmc_mask = 1 << AT91_ID_US1, | 229 | .pmc_mask = 1 << AT91RM9200_ID_US1, |
230 | .mode = pmc_periph_mode, | 230 | .mode = pmc_periph_mode, |
231 | }; | 231 | }; |
232 | static struct clk usart2_clk = { | 232 | static struct clk usart2_clk = { |
233 | .name = "usart2_clk", | 233 | .name = "usart2_clk", |
234 | .parent = &mck, | 234 | .parent = &mck, |
235 | .pmc_mask = 1 << AT91_ID_US2, | 235 | .pmc_mask = 1 << AT91RM9200_ID_US2, |
236 | .mode = pmc_periph_mode, | 236 | .mode = pmc_periph_mode, |
237 | }; | 237 | }; |
238 | static struct clk usart3_clk = { | 238 | static struct clk usart3_clk = { |
239 | .name = "usart3_clk", | 239 | .name = "usart3_clk", |
240 | .parent = &mck, | 240 | .parent = &mck, |
241 | .pmc_mask = 1 << AT91_ID_US3, | 241 | .pmc_mask = 1 << AT91RM9200_ID_US3, |
242 | .mode = pmc_periph_mode, | 242 | .mode = pmc_periph_mode, |
243 | }; | 243 | }; |
244 | static struct clk spi_clk = { | 244 | static struct clk spi_clk = { |
245 | .name = "spi0_clk", | 245 | .name = "spi0_clk", |
246 | .parent = &mck, | 246 | .parent = &mck, |
247 | .pmc_mask = 1 << AT91_ID_SPI, | 247 | .pmc_mask = 1 << AT91RM9200_ID_SPI, |
248 | .mode = pmc_periph_mode, | 248 | .mode = pmc_periph_mode, |
249 | }; | 249 | }; |
250 | static struct clk pioA_clk = { | 250 | static struct clk pioA_clk = { |
251 | .name = "pioA_clk", | 251 | .name = "pioA_clk", |
252 | .parent = &mck, | 252 | .parent = &mck, |
253 | .pmc_mask = 1 << AT91_ID_PIOA, | 253 | .pmc_mask = 1 << AT91RM9200_ID_PIOA, |
254 | .mode = pmc_periph_mode, | 254 | .mode = pmc_periph_mode, |
255 | }; | 255 | }; |
256 | static struct clk pioB_clk = { | 256 | static struct clk pioB_clk = { |
257 | .name = "pioB_clk", | 257 | .name = "pioB_clk", |
258 | .parent = &mck, | 258 | .parent = &mck, |
259 | .pmc_mask = 1 << AT91_ID_PIOB, | 259 | .pmc_mask = 1 << AT91RM9200_ID_PIOB, |
260 | .mode = pmc_periph_mode, | 260 | .mode = pmc_periph_mode, |
261 | }; | 261 | }; |
262 | static struct clk pioC_clk = { | 262 | static struct clk pioC_clk = { |
263 | .name = "pioC_clk", | 263 | .name = "pioC_clk", |
264 | .parent = &mck, | 264 | .parent = &mck, |
265 | .pmc_mask = 1 << AT91_ID_PIOC, | 265 | .pmc_mask = 1 << AT91RM9200_ID_PIOC, |
266 | .mode = pmc_periph_mode, | 266 | .mode = pmc_periph_mode, |
267 | }; | 267 | }; |
268 | static struct clk pioD_clk = { | 268 | static struct clk pioD_clk = { |
269 | .name = "pioD_clk", | 269 | .name = "pioD_clk", |
270 | .parent = &mck, | 270 | .parent = &mck, |
271 | .pmc_mask = 1 << AT91_ID_PIOD, | 271 | .pmc_mask = 1 << AT91RM9200_ID_PIOD, |
272 | .mode = pmc_periph_mode, | 272 | .mode = pmc_periph_mode, |
273 | }; | 273 | }; |
274 | 274 | ||