aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include/mach/gpio-rev00-p4notepq.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/gpio-rev00-p4notepq.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/gpio-rev00-p4notepq.h48
1 files changed, 47 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/include/mach/gpio-rev00-p4notepq.h b/arch/arm/mach-exynos/include/mach/gpio-rev00-p4notepq.h
index 3c62331..c44ac94 100644
--- a/arch/arm/mach-exynos/include/mach/gpio-rev00-p4notepq.h
+++ b/arch/arm/mach-exynos/include/mach/gpio-rev00-p4notepq.h
@@ -74,8 +74,10 @@ extern void midas_config_sleep_gpio_table(void);
#define GPIO_PS_ALS_SCL_28V EXYNOS4_GPL0(1)
#define GPIO_GYRO_DE EXYNOS4_GPL2(0)
+#if !defined(CONFIG_QC_MODEM)
#define GPIO_GPS_nRST EXYNOS4_GPL2(1)
#define GPIO_GPS_PWR_EN EXYNOS4_GPL2(2)
+#endif
#define GPIO_GYRO_INT EXYNOS4_GPX0(6)
#define GPIO_GSENSE_SDA_18V EXYNOS4_GPD1(2)
@@ -147,13 +149,19 @@ extern void midas_config_sleep_gpio_table(void);
#define GPIO_TSP_SDA_18V EXYNOS4_GPA1(2)
#define GPIO_TSP_SCL_18V EXYNOS4_GPA1(3)
#define GPIO_TSP_LDO_ON EXYNOS4212_GPM4(5)
-#define GPIO_TSP_RST EXYNOS4_GPL0(5)
+#define GPIO_TSP_RST EXYNOS4212_GPM0(4)
+#define GPIO_TSP_LDO_ON1 EXYNOS4_GPB(5)
+#define GPIO_TSP_LDO_ON2 EXYNOS4_GPB(7)
#define GPIO_PEN_PDCT_18V EXYNOS4_GPC1(0)
#define GPIO_PEN_LDO_EN EXYNOS4_GPC1(1)
#define GPIO_PEN_IRQ_18V EXYNOS4_GPC1(2)
#define GPIO_PEN_SDA_28V EXYNOS4_GPC1(3)
#define GPIO_PEN_SCL_28V EXYNOS4_GPC1(4)
+#define GPIO_S_PEN_IRQ EXYNOS4_GPX1(5)
+#if defined(CONFIG_QC_MODEM)
+#define GPIO_PEN_FWE0 EXYNOS4_GPA0(5)
+#endif
#define GPIO_nPOWER EXYNOS4_GPX2(7)
#define GPIO_VOL_DOWN EXYNOS4_GPX2(2)
@@ -187,7 +195,14 @@ extern void midas_config_sleep_gpio_table(void);
#define GPIO_ISP_TXD EXYNOS4212_GPM4(5)
#define GPIO_ISP_RXD EXYNOS4212_GPM4(6)
+#if defined(CONFIG_IR_REMOCON_GPIO)
#define GPIO_IRDA_CONTROL EXYNOS4_GPL0(3)
+#elif defined(CONFIG_IR_REMOCON_MC96)
+#define GPIO_IRDA_WAKE EXYNOS4_GPL0(3)
+#define GPIO_IRDA_IRQ EXYNOS4_GPM0(6)
+#define GPIO_IRDA_SDA EXYNOS4_GPY0(0)
+#define GPIO_IRDA_SCL EXYNOS4_GPY0(1)
+#endif
#define GPIO_MHL_SDA_1_8V EXYNOS4_GPY2(2)
#define GPIO_MHL_SCL_1_8V EXYNOS4_GPY2(3)
@@ -201,6 +216,9 @@ extern void midas_config_sleep_gpio_table(void);
#define GPIO_USB_SEL1 EXYNOS4_GPY0(5)
#define GPIO_USB_SEL_CP EXYNOS4212_GPM0(7)
#define GPIO_UART_SEL EXYNOS4_GPL2(7)
+#if (CONFIG_SAMSUNG_ANALOG_UART_SWITCH == 2)
+#define GPIO_UART_SEL2 EXYNOS4212_GPJ0(0)
+#endif
/* charger */
#define GPIO_CHG_SDA EXYNOS4212_GPM2(0)
@@ -231,9 +249,15 @@ extern void midas_config_sleep_gpio_table(void);
/* Definitions for Sii 9244B0 */
#define GPIO_PMIC_DVS3 EXYNOS4212_GPM3(2)
+#if !defined(CONFIG_QC_MODEM)
#define GPIO_BUCK2_SEL EXYNOS4_GPX2(4)
#define GPIO_BUCK3_SEL EXYNOS4_GPX2(0)
#define GPIO_BUCK4_SEL EXYNOS4_GPX2(1)
+#else
+#define GPIO_BUCK2_SEL EXYNOS4_GPL2(1)
+#define GPIO_BUCK3_SEL EXYNOS4_GPL2(2)
+#define GPIO_BUCK4_SEL EXYNOS4_GPX2(4)
+#endif
#define GPIO_MHL_RST EXYNOS4_GPF3(4)
#define GPIO_MHL_INT EXYNOS4_GPF3(5)
#define GPIO_MHL_INT_AF S3C_GPIO_SFN(0xF)
@@ -333,4 +357,26 @@ extern void midas_config_sleep_gpio_table(void);
#define GPIO_LVDS_NSHDN EXYNOS4212_GPM0(5)
#endif
+#if defined(CONFIG_QC_MODEM)
+/* Modem Interface GPIOs - MDM */
+#define GPIO_MODEM_BOOT_MODE EXYNOS4_GPD0(1)
+#define GPIO_MDM2AP_HSIC_READY EXYNOS4_GPL0(0)
+#define GPIO_AP2MDM_STATUS EXYNOS4_GPL1(0)
+#define GPIO_MDM2AP_HSIC_PWR_ACTIVE EXYNOS4_GPC0(2) /* AP2MDM_IPC2 */
+#define GPIO_WCN_PRIORITY EXYNOS4_GPC0(0)
+#define GPIO_MDM_LTE_FRAME_SYNC EXYNOS4_GPC0(4)
+#define GPIO_AP2MDM_ERR_FATAL EXYNOS4_GPC0(3)
+#define GPIO_AP2MDM_PON_RESET_N EXYNOS4_GPL2(5)
+#define GPIO_AP2MDM_WAKEUP EXYNOS4212_GPM2(4)
+#define GPIO_AP2MDM_SOFT_RESET EXYNOS4212_GPM3(3)
+#define GPIO_AP2MDM_PMIC_RESET_N EXYNOS4212_GPM3(4)
+#define GPIO_MDM2AP_STATUS EXYNOS4_GPX2(0)
+#define GPIO_MDM2AP_HSIC_RESUME_REQ EXYNOS4_GPX2(1) /* AP2MDM_IPC3 */
+#define GPIO_AP2MDM_VDDMIN EXYNOS4_GPX1(0)
+#define GPIO_MDM2AP_VDDMIN EXYNOS4_GPX1(1)
+#define GPIO_MDM2AP_ERR_FATAL EXYNOS4_GPX1(2)
+#define GPIO_MDM_LTE_ACTIVE EXYNOS4_GPX1(6)
+#define GPIO_AP2MDM_HSIC_PORT_ACTIVE EXYNOS4_GPX3(2) /* AP2MDM_IPC1 */
+#endif
+
#endif /* __MACH_GPIO_MIDAS_H */