From 8e4bff4cab0ddac6060645b0715210484d02ff40 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Wed, 30 Aug 2017 08:25:59 +0000 Subject: Initial file dump from open source release --- arch/arm/mach-clps711x/common.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 arch/arm/mach-clps711x/common.h (limited to 'arch/arm/mach-clps711x/common.h') diff --git a/arch/arm/mach-clps711x/common.h b/arch/arm/mach-clps711x/common.h new file mode 100644 index 00000000..f84a7292 --- /dev/null +++ b/arch/arm/mach-clps711x/common.h @@ -0,0 +1,15 @@ +/* + * linux/arch/arm/mach-clps711x/common.h + * + * Common bits. + */ + +#define CLPS711X_NR_IRQS (33) +#define CLPS711X_NR_GPIO (4 * 8 + 3) +#define CLPS711X_GPIO(prt, bit) ((prt) * 8 + (bit)) + +extern void clps711x_map_io(void); +extern void clps711x_init_irq(void); +extern void clps711x_timer_init(void); +extern void clps711x_handle_irq(struct pt_regs *regs); +extern void clps711x_restart(char mode, const char *cmd); -- cgit v1.3.1