2005-04-16 22:20:36 +00:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-clps711x/common.h
|
|
|
|
*
|
|
|
|
* Common bits.
|
|
|
|
*/
|
|
|
|
|
2012-11-17 13:57:13 +00:00
|
|
|
#define CLPS711X_NR_IRQS (30)
|
2012-11-17 13:57:08 +00:00
|
|
|
#define CLPS711X_NR_GPIO (4 * 8 + 3)
|
|
|
|
#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
|
|
|
|
|
2005-04-16 22:20:36 +00:00
|
|
|
struct sys_timer;
|
|
|
|
|
|
|
|
extern void clps711x_map_io(void);
|
|
|
|
extern void clps711x_init_irq(void);
|
2012-11-17 13:57:14 +00:00
|
|
|
extern void clps711x_handle_irq(struct pt_regs *regs);
|
2011-11-05 17:41:52 +00:00
|
|
|
extern void clps711x_restart(char mode, const char *cmd);
|
2012-11-17 13:57:14 +00:00
|
|
|
extern struct sys_timer clps711x_timer;
|