SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/arm/mach-at91rm9200/generic.h |
| 3 | * |
| 4 | * Copyright (C) 2005 David Brownell |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License version 2 as |
| 8 | * published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
Andrew Victor | ba854e1 | 2006-07-05 17:22:52 +0100 | [diff] [blame^] | 11 | /* Interrupts */ |
| 12 | extern void __init at91rm9200_init_irq(unsigned int priority[]); |
| 13 | extern void __init at91_aic_init(unsigned int priority[]); |
| 14 | extern void __init at91_gpio_irq_setup(unsigned banks); |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 15 | |
Andrew Victor | ba854e1 | 2006-07-05 17:22:52 +0100 | [diff] [blame^] | 16 | /* Timer */ |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 17 | struct sys_timer; |
| 18 | extern struct sys_timer at91rm9200_timer; |
| 19 | |
Andrew Victor | ba854e1 | 2006-07-05 17:22:52 +0100 | [diff] [blame^] | 20 | /* Memory Map */ |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 21 | extern void __init at91rm9200_map_io(void); |
| 22 | |
Andrew Victor | ba854e1 | 2006-07-05 17:22:52 +0100 | [diff] [blame^] | 23 | /* Clocks */ |
SAN People | 73a59c1 | 2006-01-09 17:05:41 +0000 | [diff] [blame] | 24 | extern int __init at91_clock_init(unsigned long main_clock); |
Andrew Victor | 907d6de | 2006-06-20 19:30:19 +0100 | [diff] [blame] | 25 | struct device; |
| 26 | extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func); |
| 27 | |
| 28 | /* Power Management */ |
| 29 | extern void at91_irq_suspend(void); |
| 30 | extern void at91_irq_resume(void); |
| 31 | |