2005-04-17 02:20:36 +04:00
|
|
|
/*
|
|
|
|
* linux/arch/arm/mach-clps711x/common.h
|
|
|
|
*
|
|
|
|
* Common bits.
|
|
|
|
*/
|
|
|
|
|
2013-07-09 03:01:40 +04:00
|
|
|
#include <linux/reboot.h>
|
|
|
|
|
2012-11-17 17:57:08 +04:00
|
|
|
#define CLPS711X_NR_GPIO (4 * 8 + 3)
|
|
|
|
#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
|
|
|
|
|
2005-04-17 02:20:36 +04:00
|
|
|
extern void clps711x_map_io(void);
|
|
|
|
extern void clps711x_init_irq(void);
|
2012-11-08 23:40:59 +04:00
|
|
|
extern void clps711x_timer_init(void);
|
2013-07-09 03:01:40 +04:00
|
|
|
extern void clps711x_restart(enum reboot_mode mode, const char *cmd);
|
2014-02-02 12:07:46 +04:00
|
|
|
|
|
|
|
/* drivers/irqchip/irq-clps711x.c */
|
|
|
|
void clps711x_intc_init(phys_addr_t, resource_size_t);
|