summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/mach-s3c64xx/crag6410.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/mach-s3c64xx/crag6410.h')
-rw-r--r--kernel/arch/arm/mach-s3c64xx/crag6410.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/kernel/arch/arm/mach-s3c64xx/crag6410.h b/kernel/arch/arm/mach-s3c64xx/crag6410.h
new file mode 100644
index 000000000..dcbe17f5e
--- /dev/null
+++ b/kernel/arch/arm/mach-s3c64xx/crag6410.h
@@ -0,0 +1,25 @@
+/* Cragganmore 6410 shared definitions
+ *
+ * Copyright 2011 Wolfson Microelectronics plc
+ * Mark Brown <broonie@opensource.wolfsonmicro.com>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef MACH_CRAG6410_H
+#define MACH_CRAG6410_H
+
+#include <mach/gpio-samsung.h>
+
+#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
+#define BANFF_PMIC_IRQ_BASE (IRQ_BOARD_START + 64)
+
+#define PCA935X_GPIO_BASE GPIO_BOARD_START
+#define CODEC_GPIO_BASE (GPIO_BOARD_START + 8)
+#define GLENFARCLAS_PMIC_GPIO_BASE (GPIO_BOARD_START + 32)
+#define BANFF_PMIC_GPIO_BASE (GPIO_BOARD_START + 64)
+#define MMGPIO_GPIO_BASE (GPIO_BOARD_START + 96)
+
+#endif