2006-01-09 17:05:41 +00:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-at91rm9200/generic.h
|
|
|
|
*
|
|
|
|
* Copyright (C) 2005 David Brownell
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
|
2006-07-05 16:22:52 +00:00
|
|
|
/* Interrupts */
|
|
|
|
extern void __init at91rm9200_init_irq(unsigned int priority[]);
|
|
|
|
extern void __init at91_aic_init(unsigned int priority[]);
|
|
|
|
extern void __init at91_gpio_irq_setup(unsigned banks);
|
2006-01-09 17:05:41 +00:00
|
|
|
|
2006-07-05 16:22:52 +00:00
|
|
|
/* Timer */
|
2006-01-09 17:05:41 +00:00
|
|
|
struct sys_timer;
|
|
|
|
extern struct sys_timer at91rm9200_timer;
|
|
|
|
|
2006-07-05 16:22:52 +00:00
|
|
|
/* Memory Map */
|
2006-01-09 17:05:41 +00:00
|
|
|
extern void __init at91rm9200_map_io(void);
|
|
|
|
|
2006-07-05 16:22:52 +00:00
|
|
|
/* Clocks */
|
2006-01-09 17:05:41 +00:00
|
|
|
extern int __init at91_clock_init(unsigned long main_clock);
|
2006-06-20 18:30:19 +00:00
|
|
|
struct device;
|
|
|
|
extern void __init at91_clock_associate(const char *id, struct device *dev, const char *func);
|
|
|
|
|
|
|
|
/* Power Management */
|
|
|
|
extern void at91_irq_suspend(void);
|
|
|
|
extern void at91_irq_resume(void);
|
|
|
|
|