aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include/mach/gpio-u1.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/gpio-u1.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/gpio-u1.h78
1 files changed, 67 insertions, 11 deletions
diff --git a/arch/arm/mach-exynos/include/mach/gpio-u1.h b/arch/arm/mach-exynos/include/mach/gpio-u1.h
index a4b85ac..6b8abb2 100644
--- a/arch/arm/mach-exynos/include/mach/gpio-u1.h
+++ b/arch/arm/mach-exynos/include/mach/gpio-u1.h
@@ -55,6 +55,11 @@
#define GPIO_CAM_SENSOR_CORE EXYNOS4210_GPE2(5)
#define GPIO_TSP_LDO_ON EXYNOS4_GPL0(3)
+#ifdef CONFIG_MACH_TRATS
+#define GPIO_TSP_SDA EXYNOS4_GPA1(2)
+#define GPIO_TSP_SCL EXYNOS4_GPA1(3)
+#endif
+
#define GPIO_USB_SEL EXYNOS4_GPL0(6)
#if !defined(CONFIG_MACH_U1_KOR_LGT)
#define GPIO_UART_SEL EXYNOS4_GPY4(7)
@@ -162,11 +167,19 @@
#define GPIO_2MIC_SDA EXYNOS4_GPC1(2)
#define GPIO_2MIC_SCL EXYNOS4_GPC1(0)
+#if defined(CONFIG_MACH_U1_NA_SPR) || defined(CONFIG_MACH_U1_NA_USCC)
+#if defined(CONFIG_LEDS_GPIO)
+/* GPIO's for SVC LED */
+#define GPIO_SVC_LED_BLUE EXYNOS4_GPA1(5)
+#define GPIO_SVC_LED_RED EXYNOS4_GPB(1)
+#endif
+#else
#define GPIO_FLM_RXD EXYNOS4_GPA1(4)
#define GPIO_FLM_RXD_AF 2
#define GPIO_FLM_TXD EXYNOS4_GPA1(5)
#define GPIO_FLM_TXD_AF 2
+#endif
#if defined(CONFIG_MACH_U1_KOR_LGT)
#define GPIO_DPRAM_INT_N EXYNOS4_GPX1(0)
@@ -182,7 +195,11 @@
#define GPIO_PDA_ACTIVE EXYNOS4_GPY4(2)
#define GPIO_CP_DUMP_INT EXYNOS4_GPX1(2)
#else
+#if defined(CONFIG_MACH_U1_NA_SPR) || defined(CONFIG_MACH_U1_NA_USCC)
+#define GPIO_PDA_ACTIVE EXYNOS4_GPY4(2)
+#else
#define GPIO_PDA_ACTIVE EXYNOS4_GPX1(7)
+#endif
#define GPIO_CP_DUMP_INT DUMMY_GPIO
#endif
#define GPIO_CP_RST EXYNOS4_GPX1(4)
@@ -208,6 +225,16 @@
#define IRQ_SUSPEND_REQUEST IRQ_EINT11
#define IRQ_IPC_HOST_WAKEUP IRQ_EINT9
+
+#ifdef CONFIG_USBHUB_USB3803
+#define GPIO_USB_RESET_N EXYNOS4210_GPE1(5)
+#define GPIO_USB_BYPASS_N EXYNOS4_GPX1(7)
+#define GPIO_USB_CLOCK_EN EXYNOS4_GPA1(4)
+#define GPIO_USB_I2C_SDA EXYNOS4_GPY1(1)
+#define GPIO_USB_I2C_SCL EXYNOS4_GPY1(0)
+#endif /* CONFIG_USBHUB_USB3803 */
+
+
#define GPIO_WLAN_EN EXYNOS4_GPL1(2)
#define GPIO_WLAN_EN_AF 1
@@ -223,22 +250,27 @@
#define GPIO_BT_WAKE EXYNOS4_GPX3(1)
-#define GPIO_WLAN_SDIO_CLK EXYNOS4_GPK3(0)
-#define GPIO_WLAN_SDIO_CLK_AF 2
+#if defined(CONFIG_MACH_U1_NA_SPR) || defined(CONFIG_MACH_U1_NA_USCC)
+#define GPIO_WLAN_SDIO_CLK EXYNOS4_GPK2(0)
+#define GPIO_WLAN_SDIO_CMD EXYNOS4_GPK2(1)
+#define GPIO_WLAN_SDIO_D0 EXYNOS4_GPK2(3)
+#define GPIO_WLAN_SDIO_D1 EXYNOS4_GPK2(4)
+#define GPIO_WLAN_SDIO_D2 EXYNOS4_GPK2(5)
+#define GPIO_WLAN_SDIO_D3 EXYNOS4_GPK2(6)
+#else
+#define GPIO_WLAN_SDIO_CLK EXYNOS4_GPK3(0)
+#define GPIO_WLAN_SDIO_CMD EXYNOS4_GPK3(1)
+#define GPIO_WLAN_SDIO_D0 EXYNOS4_GPK3(3)
+#define GPIO_WLAN_SDIO_D1 EXYNOS4_GPK3(4)
+#define GPIO_WLAN_SDIO_D2 EXYNOS4_GPK3(5)
+#define GPIO_WLAN_SDIO_D3 EXYNOS4_GPK3(6)
+#endif
-#define GPIO_WLAN_SDIO_CMD EXYNOS4_GPK3(1)
+#define GPIO_WLAN_SDIO_CLK_AF 2
#define GPIO_WLAN_SDIO_CMD_AF 2
-
-#define GPIO_WLAN_SDIO_D0 EXYNOS4_GPK3(3)
#define GPIO_WLAN_SDIO_D0_AF 2
-
-#define GPIO_WLAN_SDIO_D1 EXYNOS4_GPK3(4)
#define GPIO_WLAN_SDIO_D1_AF 2
-
-#define GPIO_WLAN_SDIO_D2 EXYNOS4_GPK3(5)
#define GPIO_WLAN_SDIO_D2_AF 2
-
-#define GPIO_WLAN_SDIO_D3 EXYNOS4_GPK3(6)
#define GPIO_WLAN_SDIO_D3_AF 2
#define GPIO_HW_REV0 EXYNOS4210_GPE1(0)
@@ -272,9 +304,14 @@
#define GPIO_MHL_SDA_18V EXYNOS4_GPY3(0)
#define GPIO_MHL_SCL_18V EXYNOS4_GPY3(2)
#else
+#if defined(CONFIG_MACH_U1_NA_SPR) || defined(CONFIG_MACH_U1_NA_USCC)
+#define GPIO_MHL_SDA_18V EXYNOS4_GPY3(0)
+#define GPIO_MHL_SCL_18V EXYNOS4_GPY3(2)
+#else
#define GPIO_MHL_SDA_18V EXYNOS4210_GPE1(6)
#define GPIO_MHL_SCL_18V EXYNOS4210_GPE1(5)
#endif
+#endif
#define GPIO_AP_HDMI_SDA GPIO_MSENSOR_MHL_SDA_28V
#define GPIO_AP_HDMI_SDA_AF GPIO_MSENSOR_MHL_SDA_AF
@@ -333,5 +370,24 @@
#define GPIO_DPRAM_UBN EXYNOS4_GPY1(1)
#endif
+#if defined(CONFIG_TARGET_LOCALE_NA) && defined(CONFIG_WIMAX_CMC)
+#define GPIO_WIMAX_USB_EN EXYNOS4_GPB(4)
+#define GPIO_WIMAX_EN EXYNOS4210_GPE1(7)
+#define GPIO_WIMAX_RESET_N EXYNOS4_GPA0(5)
+#define GPIO_WIMAX_USB_EN EXYNOS4_GPB(4)
+#define GPIO_WIMAX_WAKEUP EXYNOS4_GPX1(3)
+#define GPIO_WIMAX_IF_MODE0 EXYNOS4_GPY3(5)
+#define GPIO_WIMAX_IF_MODE1 EXYNOS4_GPY3(6)
+#define GPIO_WIMAX_CON0 EXYNOS4_GPL2(6)
+#define GPIO_WIMAX_CON1 EXYNOS4_GPL2(7)
+#define GPIO_WIMAX_CON2 EXYNOS4210_GPE2(3)
+#define GPIO_WIMAX_INT EXYNOS4_GPX1(1)
+#define GPIO_WIMAX_I2C_CON EXYNOS4210_GPE1(6)
+#define GPIO_WIMAX_DBGEN_28V EXYNOS4_GPA0(4)
+#define GPIO_UART_SEL1 EXYNOS4_GPB(0)
+#define GPIO_CMC_SCL_18V EXYNOS4_GPY0(0)
+#define GPIO_CMC_SDA_18V EXYNOS4_GPY0(1)
+#endif
+
#endif
#endif /* __MACH_GPIO_U1_H */