blob: f84a7292c70e4a77dc64eeda432266c1a6b7ac4b [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 Shiyan19792612012-11-17 17:57:15 +04007#define CLPS711X_NR_IRQS (33)
Alexander Shiyanb3a076d2012-11-17 17:57:08 +04008#define CLPS711X_NR_GPIO (4 * 8 + 3)
9#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit))
10
Linus Torvalds1da177e2005-04-16 15:20:36 -070011extern void clps711x_map_io(void);
12extern void clps711x_init_irq(void);
Stephen Warren6bb27d72012-11-08 12:40:59 -070013extern void clps711x_timer_init(void);
Alexander Shiyan99f04c82012-11-17 17:57:14 +040014extern void clps711x_handle_irq(struct pt_regs *regs);
Russell King6c000712011-11-05 17:41:52 +000015extern void clps711x_restart(char mode, const char *cmd);