summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/crag6410.h
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2013-01-02 11:18:31 -0800
committerKukjin Kim <kgene.kim@samsung.com>2013-01-10 10:45:38 -0800
commite62359283cc5ce3264a1634f822822669c6b2d9f (patch)
tree7b1218515d126ff166e9a3bed2dcee9112ec51bb /arch/arm/mach-s3c64xx/crag6410.h
parentb4353784ea6d5fd4cffa7498b656f5a72d20f2cd (diff)
downloadblackbird-op-linux-e62359283cc5ce3264a1634f822822669c6b2d9f.tar.gz
blackbird-op-linux-e62359283cc5ce3264a1634f822822669c6b2d9f.zip
ARM: S3C64XX: make crag6410.h local
The header can be local in mach-s3c64xx/. Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c64xx/crag6410.h')
-rw-r--r--arch/arm/mach-s3c64xx/crag6410.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/crag6410.h b/arch/arm/mach-s3c64xx/crag6410.h
new file mode 100644
index 000000000000..4c3c9994fc2c
--- /dev/null
+++ b/arch/arm/mach-s3c64xx/crag6410.h
@@ -0,0 +1,24 @@
+/* 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 <linux/gpio.h>
+
+#define GLENFARCLAS_PMIC_IRQ_BASE IRQ_BOARD_START
+
+#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
OpenPOWER on IntegriCloud