2006-01-10 01:05:41 +08: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-09-27 17:50:59 +08:00
|
|
|
/* Processors */
|
|
|
|
extern void __init at91rm9200_initialize(unsigned long main_clock);
|
|
|
|
|
2006-07-06 00:22:52 +08: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-10 01:05:41 +08:00
|
|
|
|
2006-07-06 00:22:52 +08:00
|
|
|
/* Timer */
|
2006-01-10 01:05:41 +08:00
|
|
|
struct sys_timer;
|
|
|
|
extern struct sys_timer at91rm9200_timer;
|
|
|
|
|
2006-07-06 00:22:52 +08:00
|
|
|
/* Clocks */
|
2006-01-10 01:05:41 +08:00
|
|
|
extern int __init at91_clock_init(unsigned long main_clock);
|
2006-06-21 02:30:19 +08: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);
|
|
|
|
|