diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2010-01-22 12:59:41 +0100 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2010-01-22 13:00:39 +0100 |
commit | 3c4a1161634e1b425c9f1154b1935c6b9f422394 (patch) | |
tree | a861c605e253aab36354f0c343e0e5ac0c0d3e6f /arch/arm/mach-s3c2442/include/mach/gta02.h | |
parent | af7547573622173cd6e1aac9e288fc50165e5a47 (diff) |
gta02: Configure pcf50633-gpio device and add a regulator device which
represents the power switch in front of the gsm modem.
Diffstat (limited to 'arch/arm/mach-s3c2442/include/mach/gta02.h')
-rw-r--r-- | arch/arm/mach-s3c2442/include/mach/gta02.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2442/include/mach/gta02.h b/arch/arm/mach-s3c2442/include/mach/gta02.h index 11624c0b926..c1ed538af63 100644 --- a/arch/arm/mach-s3c2442/include/mach/gta02.h +++ b/arch/arm/mach-s3c2442/include/mach/gta02.h @@ -80,6 +80,10 @@ #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); extern struct pcf50633 *gta02_pcf; |