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