aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2440/include/mach/gta02.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-05-18 01:01:49 +0200
committerLars-Peter Clausen <lars@metafoo.de>2010-05-18 01:01:49 +0200
commitcd3258c9d166f8c64a85b0cd2c0cd64342d69eb8 (patch)
tree0308b57e53c74521f8df7dc56784ee96682b0059 /arch/arm/mach-s3c2440/include/mach/gta02.h
parentf1f8ac32dddfb765e8d57fdb3b3e9c10727a0873 (diff)
parent8b604bd0f2f3e097bb2fc8b558a0f4e6ca7bdb13 (diff)
Merge branch 'gta02-machine-2.6.34' into om-gta02-2.6.34
Diffstat (limited to 'arch/arm/mach-s3c2440/include/mach/gta02.h')
-rw-r--r--arch/arm/mach-s3c2440/include/mach/gta02.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/include/mach/gta02.h b/arch/arm/mach-s3c2440/include/mach/gta02.h
index 953331d8d56..f11f794158c 100644
--- a/arch/arm/mach-s3c2440/include/mach/gta02.h
+++ b/arch/arm/mach-s3c2440/include/mach/gta02.h
@@ -2,6 +2,7 @@
#define _GTA02_H
#include <mach/regs-gpio.h>
+#include <mach/regs-gpioj.h>
/* Different hardware revisions, passed in ATAG_REVISION by u-boot */
#define GTA02v1_SYSTEM_REV 0x00000310
@@ -79,6 +80,11 @@
#define GTA02_PCB_ID2_0 S3C2410_GPD(3)
#define GTA02_PCB_ID2_1 S3C2410_GPD(4)
+#define GTA02_GPIO_GLAMO_BASE S3C_GPIO_END
+#define GTA02_GPIO_GLAMO(x) (GTA02_GPIO_GLAMO_BASE + (x))
+#define GTA02_GPIO_PCF_BASE (GTA02_GPIO_GLAMO_BASE + 32)
+#define GTA02_GPIO_PCF(x) (GTA02_GPIO_PCF_BASE + (x))
+
int gta02_get_pcb_revision(void);
#endif /* _GTA02_H */