diff options
Diffstat (limited to 'arch/arm/mach-s3c6410/include/mach/om-gta03.h')
-rw-r--r-- | arch/arm/mach-s3c6410/include/mach/om-gta03.h | 98 |
1 files changed, 0 insertions, 98 deletions
diff --git a/arch/arm/mach-s3c6410/include/mach/om-gta03.h b/arch/arm/mach-s3c6410/include/mach/om-gta03.h deleted file mode 100644 index 541c6756f94..00000000000 --- a/arch/arm/mach-s3c6410/include/mach/om-gta03.h +++ /dev/null @@ -1,98 +0,0 @@ -/* - * GTA03 GPIO Mappings - * - * (C) 2008 by Openmoko Inc. - * Author: Andy Green <andy@openmoko.com> - * All rights reserved. - * - * 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 _OM_GTA03_H -#define _OM_GTA03_H - -#include <mach/gpio.h> -#include <mach/irqs.h> -#include <linux/mfd/pcf50633/core.h> - -extern struct pcf50633 *om_gta03_pcf; - -/* ATAG_REVISION from bootloader */ -#define GTA03v1_SYSTEM_REV 0x00000001 - -#define GTA03_GPIO_VIBRATOR_ON S3C64XX_GPF(13) -#define GTA03_GPIO_CLKOUT S3C64XX_GPF(14) - -#define GTA03_GPIO_ACCEL_MISO S3C64XX_GPC(0) -#define GTA03_GPIO_ACCEL_CLK S3C64XX_GPC(1) -#define GTA03_GPIO_ACCEL_MOSI S3C64XX_GPC(2) - -#define GTA03_GPIO_LCM_MISO S3C64XX_GPC(4) -#define GTA03_GPIO_LCM_CLK S3C64XX_GPC(5) -#define GTA03_GPIO_LCM_MOSI S3C64XX_GPC(6) -#define GTA03_GPIO_LCM_CS S3C64XX_GPC(7) - -#define GTA03_GPIO_BTPCM_SHARED_SCLK S3C64XX_GPE(0) -#define GTA03_GPIO_BTPCM_SHARED_EXTCLK S3C64XX_GPE(1) -#define GTA03_GPIO_BTPCM_SHARED_FSYNC S3C64XX_GPE(2) -#define GTA03_GPIO_BTPCM_SHARED_SIN S3C64XX_GPE(3) -#define GTA03_GPIO_BTPCM_SHARED_SOUT S3C64XX_GPE(4) - -#define GTA03_GPIO_WLAN_RESET S3C64XX_GPH(6) -#define GTA03_GPIO_HDQ S3C64XX_GPH(7) -#define GTA03_GPIO_WLAN_PWRDN S3C64XX_GPH(8) - -#define GTA03_GPIO_VERSION2 S3C64XX_GPI(0) -#define GTA03_GPIO_VERSION1 S3C64XX_GPI(1) -#define GTA03_GPIO_VERSION0 S3C64XX_GPI(8) - -#define GTA03_GPIO_NWLAN_POWER S3C64XX_GPK(0) -#define GTA03_GPIO_MODEM_ON S3C64XX_GPK(2) -#define GTA03_GPIO_LED_TRIG S3C64XX_GPK(3) -#define GTA03_GPIO_LED_EN S3C64XX_GPK(4) -#define GTA03_GPIO_LCM_RESET S3C64XX_GPK(6) - -#define GTA03_GPIO_LCM_SD S3C64XX_GPL(0) - -#define GTA03_GPIO_TP_RESET S3C64XX_GPM(0) -#define GTA03_GPIO_GPS_LNA_EN S3C64XX_GPM(2) - -#define GTA03_GPIO_USB_FLT S3C64XX_GPM(4) -#define GTA03_GPIO_USB_OC S3C64XX_GPM(5) - -#define GTA03_GPIO_ACCEL_INT1 S3C64XX_GPN(0) -#define GTA03_GPIO_KEY_MINUS S3C64XX_GPN(1) -#define GTA03_GPIO_KEY_PLUS S3C64XX_GPN(2) -#define GTA03_GPIO_PWR_IND S3C64XX_GPN(3) -#define GTA03_GPIO_PWR_IRQ S3C64XX_GPN(4) -#define GTA03_GPIO_TOUCH S3C64XX_GPN(5) -#define GTA03_GPIO_JACK_INSERT S3C64XX_GPN(6) -#define GTA03_GPIO_GPS_INT S3C64XX_GPN(7) -#define GTA03_GPIO_HOLD S3C64XX_GPN(8) -#define GTA03_GPIO_WLAN_WAKEUP S3C64XX_GPN(9) -#define GTA03_GPIO_ACCEL_INT2 S3C64XX_GPN(10) -#define GTA03_GPIO_IO1 S3C64XX_GPN(11) -#define GTA03_GPIO_NONKEYWAKE S3C64XX_GPN(12) - -#define GTA03_GPIO_N_MODEM_RESET S3C64XX_GPO(1) - -#define GTA03_IRQ_GSENSOR_1 S3C_EINT(0) -#define GTA03_IRQ_KEY_MINUS S3C_EINT(1) -#define GTA03_IRQ_KEY_PLUS S3C_EINT(2) -#define GTA03_IRQ_PWR_IND S3C_EINT(3) -#define GTA03_IRQ_PMU S3C_EINT(4) -#define GTA03_IRQ_TOUCH S3C_EINT(5) -#define GTA03_IRQ_JACK_INSERT S3C_EINT(6) -#define GTA03_IRQ_GPS_INT S3C_EINT(7) -#define GTA03_IRQ_NHOLD S3C_EINT(8) -#define GTA03_IRQ_WLAN_WAKEUP S3C_EINT(9) -#define GTA03_IRQ_GSENSOR_2 S3C_EINT(10) -#define GTA03_IRQ_IO1 S3C_EINT(11) -#define GTA03_IRQ_NONKEYWAKE S3C_EINT(12) - -#define GTA03_IRQ_LED IRQ_EINT_GROUP(6, 9) - -#endif /* _OM_GTA03_H */ |