aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/include/mach/regs-gpio.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-05-03 04:19:49 -0400
committerBen Dooks <ben-linux@fluff.org>2010-05-05 20:32:13 -0400
commit7ced5eab39809539e8fc7f3fb561bd3001d535e7 (patch)
tree67e1a351198da8f33f20e34228becc231af3ae44 /arch/arm/mach-s3c2410/include/mach/regs-gpio.h
parent1ec7269fd8b05044f2cb4059b679e053d57460f5 (diff)
ARM: S3C24XX: Add extended GPIO used on S3C2443 and beyond
Add the GPIO banks that are used on the S3C2443 and above to the list of available GPIOS. Currently we do not have any limit on the SoC GPIO, so these are being registered whether the SoC has them or not. It is currently up to the user not to try and use them. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2410/include/mach/regs-gpio.h')
-rw-r--r--arch/arm/mach-s3c2410/include/mach/regs-gpio.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2410/include/mach/regs-gpio.h b/arch/arm/mach-s3c2410/include/mach/regs-gpio.h
index fd672f330bf2..821b966bf05a 100644
--- a/arch/arm/mach-s3c2410/include/mach/regs-gpio.h
+++ b/arch/arm/mach-s3c2410/include/mach/regs-gpio.h
@@ -639,6 +639,23 @@
639 * for the 2412/2413 from the 2410/2440/2442 639 * for the 2412/2413 from the 2410/2440/2442
640*/ 640*/
641 641
642/* S3C2443 and above */
643#define S3C2440_GPJCON S3C2410_GPIOREG(0xD0)
644#define S3C2440_GPJDAT S3C2410_GPIOREG(0xD4)
645#define S3C2440_GPJUP S3C2410_GPIOREG(0xD8)
646
647#define S3C2443_GPKCON S3C2410_GPIOREG(0xE0)
648#define S3C2443_GPKDAT S3C2410_GPIOREG(0xE4)
649#define S3C2443_GPKUP S3C2410_GPIOREG(0xE8)
650
651#define S3C2443_GPLCON S3C2410_GPIOREG(0xF0)
652#define S3C2443_GPLDAT S3C2410_GPIOREG(0xF4)
653#define S3C2443_GPLUP S3C2410_GPIOREG(0xF8)
654
655#define S3C2443_GPMCON S3C2410_GPIOREG(0x100)
656#define S3C2443_GPMDAT S3C2410_GPIOREG(0x104)
657#define S3C2443_GPMUP S3C2410_GPIOREG(0x108)
658
642/* miscellaneous control */ 659/* miscellaneous control */
643#define S3C2400_MISCCR S3C2410_GPIOREG(0x54) 660#define S3C2400_MISCCR S3C2410_GPIOREG(0x54)
644#define S3C2410_MISCCR S3C2410_GPIOREG(0x80) 661#define S3C2410_MISCCR S3C2410_GPIOREG(0x80)