blob: dc60caea3278ca38edc4fe370e8d4ce9f591d6a0 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * linux/arch/arm/mach-clps711x/common.h
3 *
4 * Common bits.
5 */
6
Alexander Shiyanb3a076d2012-11-17 17:57:08 +04007#define CLPS711X_NR_GPIO (4 * 8 + 3)
8#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
9
Linus Torvalds1da177e2005-04-16 15:20:36 -070010struct sys_timer;
11
12extern void clps711x_map_io(void);
13extern void clps711x_init_irq(void);
14extern struct sys_timer clps711x_timer;
Russell King6c000712011-11-05 17:41:52 +000015extern void clps711x_restart(char mode, const char *cmd);