blob: 7979d8ab7e07bebe75828d3eaf8c6567682f67c4 [file] [log] [blame]
SAN People73a59c12006-01-09 17:05:41 +00001/*
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 Victorba854e12006-07-05 17:22:52 +010011 /* Interrupts */
12extern void __init at91rm9200_init_irq(unsigned int priority[]);
13extern void __init at91_aic_init(unsigned int priority[]);
14extern void __init at91_gpio_irq_setup(unsigned banks);
SAN People73a59c12006-01-09 17:05:41 +000015
Andrew Victorba854e12006-07-05 17:22:52 +010016 /* Timer */
SAN People73a59c12006-01-09 17:05:41 +000017struct sys_timer;
18extern struct sys_timer at91rm9200_timer;
19
Andrew Victorba854e12006-07-05 17:22:52 +010020 /* Memory Map */
SAN People73a59c12006-01-09 17:05:41 +000021extern void __init at91rm9200_map_io(void);
22
Andrew Victorba854e12006-07-05 17:22:52 +010023 /* Clocks */
SAN People73a59c12006-01-09 17:05:41 +000024extern int __init at91_clock_init(unsigned long main_clock);
Andrew Victor907d6de2006-06-20 19:30:19 +010025struct device;
26extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func);
27
28 /* Power Management */
29extern void at91_irq_suspend(void);
30extern void at91_irq_resume(void);
31