2005-04-16 16:20:36 -06:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-clps711x/common.h
|
|
|
|
*
|
|
|
|
* Common bits.
|
|
|
|
*/
|
|
|
|
|
2013-07-08 17:01:40 -06:00
|
|
|
#include <linux/reboot.h>
|
|
|
|
|
2012-11-17 06:57:15 -07:00
|
|
|
#define CLPS711X_NR_IRQS (33)
|
2012-11-17 06:57:08 -07:00
|
|
|
#define CLPS711X_NR_GPIO (4 * 8 + 3)
|
|
|
|
#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
|
|
|
|
|
2005-04-16 16:20:36 -06:00
|
|
|
extern void clps711x_map_io(void);
|
|
|
|
extern void clps711x_init_irq(void);
|
2012-11-08 12:40:59 -07:00
|
|
|
extern void clps711x_timer_init(void);
|
2012-11-17 06:57:14 -07:00
|
|
|
extern void clps711x_handle_irq(struct pt_regs *regs);
|
2013-07-08 17:01:40 -06:00
|
|
|
extern void clps711x_restart(enum reboot_mode mode, const char *cmd);
|
2013-05-13 11:07:31 -06:00
|
|
|
extern void clps711x_init_early(void);
|