aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/include/mach/emev2.h
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-05-19 11:57:36 -0700
committerOlof Johansson <olof@lixom.net>2012-05-19 11:57:36 -0700
commit0804dcb2afdcf014947ee98264041765f580d43f (patch)
tree7711bd9db2e31a23880b2d463066de92f0f64a52 /arch/arm/mach-shmobile/include/mach/emev2.h
parent19a64d9d591f9d188707e86e53bc0c4ed99ac8f0 (diff)
parent450cca47d65b7500ba05d56770adbf8c758dc87d (diff)
Merge branch 'emev2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/renesas into next/socsoc
* 'emev2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/renesas: mach-shmobile: Use DT_MACHINE for KZM9D V3 mach-shmobile: Emma Mobile EV2 DT support V3 mach-shmobile: KZM9D board Ethernet support V3 mach-shmobile: Emma Mobile EV2 GPIO support V3 mach-shmobile: Emma Mobile EV2 SMP support V3 mach-shmobile: KZM9D board support V3 mach-shmobile: Emma Mobile EV2 SoC base support V3 gpio: Emma Mobile GPIO driver V2
Diffstat (limited to 'arch/arm/mach-shmobile/include/mach/emev2.h')
-rw-r--r--arch/arm/mach-shmobile/include/mach/emev2.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/include/mach/emev2.h b/arch/arm/mach-shmobile/include/mach/emev2.h
new file mode 100644
index 000000000000..e6b0c1bf4b7e
--- /dev/null
+++ b/arch/arm/mach-shmobile/include/mach/emev2.h
@@ -0,0 +1,19 @@
+#ifndef __ASM_EMEV2_H__
+#define __ASM_EMEV2_H__
+
+extern void emev2_map_io(void);
+extern void emev2_init_irq(void);
+extern void emev2_add_early_devices(void);
+extern void emev2_add_standard_devices(void);
+extern void emev2_clock_init(void);
+extern void emev2_set_boot_vector(unsigned long value);
+extern unsigned int emev2_get_core_count(void);
+extern int emev2_platform_cpu_kill(unsigned int cpu);
+extern void emev2_secondary_init(unsigned int cpu);
+extern int emev2_boot_secondary(unsigned int cpu);
+extern void emev2_smp_prepare_cpus(void);
+
+#define EMEV2_GPIO_BASE 200
+#define EMEV2_GPIO_IRQ(n) (EMEV2_GPIO_BASE + (n))
+
+#endif /* __ASM_EMEV2_H__ */