Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/arm/mach-clps711x/common.h |
| 3 | * |
| 4 | * Common bits. |
| 5 | */ |
| 6 | |
Alexander Shiyan | 1979261 | 2012-11-17 17:57:15 +0400 | [diff] [blame] | 7 | #define CLPS711X_NR_IRQS (33) |
Alexander Shiyan | b3a076d | 2012-11-17 17:57:08 +0400 | [diff] [blame] | 8 | #define CLPS711X_NR_GPIO (4 * 8 + 3) |
| 9 | #define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit)) |
| 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | extern void clps711x_map_io(void); |
| 12 | extern void clps711x_init_irq(void); |
Stephen Warren | 6bb27d7 | 2012-11-08 12:40:59 -0700 | [diff] [blame] | 13 | extern void clps711x_timer_init(void); |
Alexander Shiyan | 99f04c8 | 2012-11-17 17:57:14 +0400 | [diff] [blame] | 14 | extern void clps711x_handle_irq(struct pt_regs *regs); |
Russell King | 6c00071 | 2011-11-05 17:41:52 +0000 | [diff] [blame] | 15 | extern void clps711x_restart(char mode, const char *cmd); |