aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-exynos/include/mach/gpio-rev00-p10.h
diff options
context:
space:
mode:
authorcodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-02 13:09:29 +0200
committercodeworkx <daniel.hillenbrand@codeworkx.de>2012-06-02 13:09:29 +0200
commitc6da2cfeb05178a11c6d062a06f8078150ee492f (patch)
treef3b4021d252c52d6463a9b3c1bb7245e399b009c /arch/arm/mach-exynos/include/mach/gpio-rev00-p10.h
parentc6d7c4dbff353eac7919342ae6b3299a378160a6 (diff)
downloadkernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.zip
kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.gz
kernel_samsung_smdk4412-c6da2cfeb05178a11c6d062a06f8078150ee492f.tar.bz2
samsung update 1
Diffstat (limited to 'arch/arm/mach-exynos/include/mach/gpio-rev00-p10.h')
-rw-r--r--arch/arm/mach-exynos/include/mach/gpio-rev00-p10.h311
1 files changed, 311 insertions, 0 deletions
diff --git a/arch/arm/mach-exynos/include/mach/gpio-rev00-p10.h b/arch/arm/mach-exynos/include/mach/gpio-rev00-p10.h
new file mode 100644
index 0000000..2e8a85c
--- /dev/null
+++ b/arch/arm/mach-exynos/include/mach/gpio-rev00-p10.h
@@ -0,0 +1,311 @@
+#ifndef __MACH_GPIO_P10_H
+#define __MACH_GPIO_P10 __FILE__
+
+#include <mach/gpio.h>
+
+extern void p10_config_gpio_table(void);
+extern void p10_config_sleep_gpio_table(void);
+
+#define GPIO_5M_CAM_SCL_18V EXYNOS5_GPF0(1)
+#define GPIO_5M_CAM_SDA_18V EXYNOS5_GPF0(0)
+#define GPIO_5M_CORE_EN EXYNOS5_GPV0(2)
+#define GPIO_5M_nRST EXYNOS5_GPE0(0)
+#define GPIO_5M_SPI_CLK EXYNOS5_GPA2(4)
+#define GPIO_5M_SPI_CS EXYNOS5_GPA2(5)
+#define GPIO_5M_SPI_DI EXYNOS5_GPA2(6)
+#define GPIO_5M_SPI_DO EXYNOS5_GPA2(7)
+
+#define GPIO_ACC_INT EXYNOS5_GPX1(4)
+
+#define GPIO_ACCESSORY_CHECK EXYNOS5_GPE0(4)
+#define GPIO_ACCESSORY_EN EXYNOS5_GPH1(5)
+#define GPIO_ACCESSORY_INT EXYNOS5_GPX3(2)
+
+#define GPIO_ADC_INT EXYNOS5_GPX2(4)
+#define GPIO_ADC_SCL_18V EXYNOS5_GPV3(0)
+#define GPIO_ADC_SDA_18V EXYNOS5_GPV3(1)
+
+#define GPIO_AMP_L_INT EXYNOS5_GPB0(1)
+#define GPIO_AMP_L_SCL_18V EXYNOS5_GPC1(1)
+#define GPIO_AMP_L_SDA_18V EXYNOS5_GPC1(0)
+#define GPIO_AMP_R_INT EXYNOS5_GPB1(0)
+#define GPIO_AMP_R_SCL_18V EXYNOS5_GPB1(2)
+#define GPIO_AMP_R_SDA_18V EXYNOS5_GPB1(1)
+
+#define GPIO_AP_CP_INT EXYNOS5_GPB0(4)
+#define GPIO_AP_CPU_PWR_DN EXYNOS5_GPX1(5)
+#define GPIO_AP_PMIC_IRQ EXYNOS5_GPX0(2)
+#define GPIO_AP_PMIC_SCL EXYNOS5_GPA2(3)
+#define GPIO_AP_PMIC_SDA EXYNOS5_GPA2(2)
+#define GPIO_AP_RXD EXYNOS5_GPA1(0)
+#define GPIO_AP_TXD EXYNOS5_GPA1(1)
+
+#define GPIO_AP2CMC_INT1_18V EXYNOS5_GPX0(6)
+#define GPIO_AP2CMC_INT2_18V EXYNOS5_GPX1(1)
+#define GPIO_AP2CMC_INT3_18V EXYNOS5_GPX1(2)
+
+#define GPIO_BARO_INT EXYNOS5_GPB0(2)
+
+#define GPIO_BSENSE_SCL_18V EXYNOS5_GPD0(3)
+#define GPIO_BSENSE_SDA_18V EXYNOS5_GPD0(2)
+
+#define GPIO_BT_EN EXYNOS5_GPE0(2)
+#define GPIO_BT_HOST_WAKE EXYNOS5_GPX2(6)
+#define GPIO_BT_nRST EXYNOS5_GPE0(1)
+#define GPIO_BT_UART_CTS EXYNOS5_GPA0(2)
+#define GPIO_BT_UART_RTS EXYNOS5_GPA0(3)
+#define GPIO_BT_UART_RXD EXYNOS5_GPA0(0)
+#define GPIO_BT_UART_TXD EXYNOS5_GPA0(1)
+#define GPIO_BT_WAKE EXYNOS5_GPH1(3)
+#define IRQ_BT_HOST_WAKE IRQ_EINT(22)
+
+#define GPIO_BUCK2_SEL EXYNOS5_GPV0(4)
+#define GPIO_BUCK3_SEL EXYNOS5_GPV0(1)
+#define GPIO_BUCK4_SEL EXYNOS5_GPV0(0)
+
+#define GPIO_CAM_FLASH_EN EXYNOS5_GPG1(0)
+#define GPIO_CAM_FLASH_SET EXYNOS5_GPG1(1)
+#define GPIO_CAM_IO_EN EXYNOS5_GPV0(3)
+#define GPIO_CAM_MCLK EXYNOS5_GPH0(3)
+#define GPIO_CAM_VT_nRST EXYNOS5_GPG1(6)
+
+#define GPIO_CHG_SDA_18V EXYNOS5_GPE0(1)
+#define GPIO_CHG_SCL_18V EXYNOS5_GPE0(2)
+
+#define GPIO_CMC_CLK_18V EXYNOS5_GPF1(0)
+#define GPIO_CMC_CS_18V EXYNOS5_GPF1(1)
+#define GPIO_CMC_DI_18V EXYNOS5_GPF1(3)
+#define GPIO_CMC_DO_18V EXYNOS5_GPF1(2)
+#define GPIO_CMC_PMIC_PWRON EXYNOS5_GPD1(5)
+#define GPIO_CMC_SPI_CLK_ACK EXYNOS5_GPX1(3)
+#define GPIO_CMC_SPI_CLK_REQ EXYNOS5_GPB0(3)
+
+#define GPIO_CMC221_CPU_RST EXYNOS5_GPB0(0)
+
+#define GPIO_CMC2AP_INT1_18V EXYNOS5_GPX0(3)
+#define GPIO_CMC2AP_INT2_18V EXYNOS5_GPX1(0)
+
+#define GPIO_WM8994_LDO EXYNOS5_GPH1(1)
+#define GPIO_CODEC_SCL_18V EXYNOS5_GPB2(3)
+#define GPIO_CODEC_SDA_18V EXYNOS5_GPB2(2)
+
+#define GPIO_DET_35 EXYNOS5_GPX0(1)
+
+#define GPIO_DOCK_INT EXYNOS5_GPX3(0)
+
+#define GPIO_DP_HPD EXYNOS5_GPX0(7)
+
+#define GPIO_DPRAM_A0 EXYNOS5_GPY3(0)
+#define GPIO_DPRAM_A1 EXYNOS5_GPY3(1)
+#define GPIO_DPRAM_A2 EXYNOS5_GPY3(2)
+#define GPIO_DPRAM_A3 EXYNOS5_GPY3(3)
+#define GPIO_DPRAM_A4 EXYNOS5_GPY3(4)
+#define GPIO_DPRAM_A5 EXYNOS5_GPY3(5)
+#define GPIO_DPRAM_A6 EXYNOS5_GPY3(6)
+#define GPIO_DPRAM_A7 EXYNOS5_GPY3(7)
+#define GPIO_DPRAM_A8 EXYNOS5_GPY4(0)
+#define GPIO_DPRAM_A9 EXYNOS5_GPY4(1)
+#define GPIO_DPRAM_A10 EXYNOS5_GPY4(2)
+#define GPIO_DPRAM_A11 EXYNOS5_GPY4(3)
+#define GPIO_DPRAM_A12 EXYNOS5_GPY4(4)
+#define GPIO_DPRAM_A13 EXYNOS5_GPY4(5)
+
+#define GPIO_DPRAM_D0 EXYNOS5_GPY5(0)
+#define GPIO_DPRAM_D1 EXYNOS5_GPY5(1)
+#define GPIO_DPRAM_D2 EXYNOS5_GPY5(2)
+#define GPIO_DPRAM_D3 EXYNOS5_GPY5(3)
+#define GPIO_DPRAM_D4 EXYNOS5_GPY5(4)
+#define GPIO_DPRAM_D5 EXYNOS5_GPY5(5)
+#define GPIO_DPRAM_D6 EXYNOS5_GPY5(6)
+#define GPIO_DPRAM_D7 EXYNOS5_GPY5(7)
+#define GPIO_DPRAM_D8 EXYNOS5_GPY6(0)
+#define GPIO_DPRAM_D9 EXYNOS5_GPY6(1)
+#define GPIO_DPRAM_D10 EXYNOS5_GPY6(2)
+#define GPIO_DPRAM_D11 EXYNOS5_GPY6(3)
+#define GPIO_DPRAM_D12 EXYNOS5_GPY6(4)
+#define GPIO_DPRAM_D13 EXYNOS5_GPY6(5)
+#define GPIO_DPRAM_D14 EXYNOS5_GPY6(6)
+#define GPIO_DPRAM_D15 EXYNOS5_GPY6(7)
+
+#define GPIO_DPRAM_CSN EXYNOS5_GPY0(0)
+#define GPIO_DPRAM_INT EXYNOS5_GPX0(5)
+#define GPIO_DPRAM_REN EXYNOS5_GPY0(4)
+#define GPIO_DPRAM_WEN EXYNOS5_GPY0(5)
+
+#define GPIO_EAR_SEND_END EXYNOS5_GPX3(6)
+
+#define GPIO_eMMC_EN EXYNOS5_GPC0(2)
+
+#define GPIO_FM34_PWDN EXYNOS5_GPG0(3)
+#define GPIO_FM34_RESET EXYNOS5_GPG0(4)
+#define GPIO_FM34_BYPASS EXYNOS5_GPH1(4)
+
+#define GPIO_ES305_WAKEUP EXYNOS5_GPG0(3)
+#define GPIO_ES305_RESET EXYNOS5_GPG0(4)
+
+#define GPIO_FUEL_ALERT EXYNOS5_GPX2(3)
+#define GPIO_FUEL_SCL_18V EXYNOS5_GPD0(1)
+#define GPIO_FUEL_SDA_18V EXYNOS5_GPD0(0)
+
+#define GPIO_GPS_PWR_EN EXYNOS5_GPE1(0)
+#define GPIO_GPS_nRST EXYNOS5_GPE0(6)
+#define GPIO_GPS_CTS EXYNOS5_GPA0(6)
+#define GPIO_GPS_RTS EXYNOS5_GPA0(7)
+#define GPIO_GPS_RXD EXYNOS5_GPA0(4)
+#define GPIO_GPS_TXD EXYNOS5_GPA0(5)
+
+#define GPIO_GPS_CTS_AF 2
+#define GPIO_GPS_RTS_AF 2
+#define GPIO_GPS_RXD_AF 2
+#define GPIO_GPS_TXD_AF 2
+
+#define GPIO_GSENSE_SCL_18V EXYNOS5_GPB3(3)
+#define GPIO_GSENSE_SDA_18V EXYNOS5_GPB3(2)
+
+#define GPIO_HDMI_EN EXYNOS5_GPC1(2)
+#define GPIO_HDMI_HPD EXYNOS5_GPX3(7)
+
+#define GPIO_HUM_SCL_18V EXYNOS5_GPV2(4)
+#define GPIO_HUM_SDA_18V EXYNOS5_GPV2(5)
+
+#define GPIO_HW_REV0 EXYNOS5_GPV1(4)
+#define GPIO_HW_REV1 EXYNOS5_GPV1(3)
+#define GPIO_HW_REV2 EXYNOS5_GPV1(2)
+#define GPIO_HW_REV3 EXYNOS5_GPV1(1)
+
+#define GPIO_IPC_RXD EXYNOS5_GPA1(4)
+#define GPIO_IPC_TXD EXYNOS5_GPA1(5)
+
+#define GPIO_IRDA_DOUT_AP EXYNOS5_GPG0(1)
+
+#define GPIO_ISP_RXD EXYNOS5_GPE1(1)
+#define GPIO_ISP_TXD EXYNOS5_GPE0(7)
+
+#define GPIO_LCD_APS_EN_18V EXYNOS5_GPG0(3)
+#define GPIO_LCD_EN EXYNOS5_GPH1(7)
+#define GPIO_LCD_ID EXYNOS5_GPD1(4)
+#define GPIO_LCD_PWM_IN_18V EXYNOS5_GPB2(0)
+
+#define GPIO_LCDP_SCL__18V EXYNOS5_GPD0(6)
+#define GPIO_LCDP_SDA__18V EXYNOS5_GPD0(7)
+
+#define GPIO_LED_BACKLIGHT_RESET EXYNOS5_GPG0(5)
+
+#define GPIO_LIGHT_I2C_SCL EXYNOS5_GPB1(4)
+#define GPIO_LIGHT_I2C_SDA EXYNOS5_GPB1(3)
+#define GPIO_LIGHT_nINT EXYNOS5_GPH1(2)
+
+#define GPIO_LTE_ACTIVE EXYNOS5_GPX1(6)
+
+#define GPIO_MHL_DSCL_18V EXYNOS5_GPB3(1)
+#define GPIO_MHL_DSDA_18V EXYNOS5_GPB3(0)
+#define GPIO_MHL_INT EXYNOS5_GPG0(6)
+#define GPIO_MHL_RST EXYNOS5_GPG0(7)
+#define GPIO_MHL_SCL_18V EXYNOS5_GPD0(5)
+#define GPIO_MHL_SDA_18V EXYNOS5_GPD0(4)
+
+#define GPIO_MM_I2S_CLK EXYNOS5_GPZ(0)
+#define GPIO_MM_I2S_DI EXYNOS5_GPZ(3)
+#define GPIO_MM_I2S_DO EXYNOS5_GPZ(4)
+#define GPIO_MM_I2S_SYNC EXYNOS5_GPZ(2)
+
+#define GPIO_MOTOR_SCL_18V EXYNOS5_GPD1(3)
+#define GPIO_MOTOR_SDA_18V EXYNOS5_GPD1(2)
+
+#define GPIO_MSENSE_INT EXYNOS5_GPX2(2)
+#define GPIO_MSENSE_SCL_18V EXYNOS5_GPV2(6)
+#define GPIO_MSENSE_SDA_18V EXYNOS5_GPV2(7)
+
+#define GPIO_NAND_CLK EXYNOS5_GPC0(0)
+#define GPIO_NAND_CMD EXYNOS5_GPC0(1)
+#define GPIO_NAND_D0 EXYNOS5_GPC0(3)
+#define GPIO_NAND_D1 EXYNOS5_GPC0(4)
+#define GPIO_NAND_D2 EXYNOS5_GPC0(5)
+#define GPIO_NAND_D3 EXYNOS5_GPC0(6)
+#define GPIO_NAND_D4 EXYNOS5_GPC1(3)
+#define GPIO_NAND_D5 EXYNOS5_GPC1(4)
+#define GPIO_NAND_D6 EXYNOS5_GPC1(5)
+#define GPIO_NAND_D7 EXYNOS5_GPC1(6)
+
+#define GPIO_NFC_EN EXYNOS5_GPD1(6)
+#define GPIO_NFC_FIRMWARE EXYNOS5_GPD1(7)
+#define GPIO_NFC_IRQ EXYNOS5_GPX1(7)
+#define GPIO_NFC_SCL_18V EXYNOS5_GPV2(1)
+#define GPIO_NFC_SDA_18V EXYNOS5_GPV2(0)
+
+#define GPIO_nPOWER EXYNOS5_GPX2(7)
+
+#define GPIO_OTG_EN EXYNOS5_GPC3(2)
+
+#define GPIO_PDA_ACTIVE EXYNOS5_GPE0(3)
+
+#define GPIO_PMIC_DVS1 EXYNOS5_GPV0(7)
+#define GPIO_PMIC_DVS2 EXYNOS5_GPV0(6)
+#define GPIO_PMIC_DVS3 EXYNOS5_GPV0(5)
+
+#define GPIO_REMOTE_SENSE_IRQ EXYNOS5_GPX3(1)
+
+#define GPIO_RGB_SCL_18V EXYNOS5_GPD1(1)
+#define GPIO_RGB_SDA_18V EXYNOS5_GPD1(0)
+
+#define GPIO_SIM_DETECT EXYNOS5_GPX3(3)
+
+#define GPIO_T_FLASH_CLK EXYNOS5_GPC2(0)
+#define GPIO_T_FLASH_CMD EXYNOS5_GPC2(1)
+#define GPIO_T_FLASH_D0 EXYNOS5_GPC2(3)
+#define GPIO_T_FLASH_D1 EXYNOS5_GPC2(4)
+#define GPIO_T_FLASH_D2 EXYNOS5_GPC2(5)
+#define GPIO_T_FLASH_D3 EXYNOS5_GPC2(6)
+#define GPIO_T_FLASH_DETECT EXYNOS5_GPX3(4)
+
+#define GPIO_TA_EN EXYNOS5_GPG1(5)
+#define GPIO_TA_nCHG EXYNOS5_GPG1(4)
+#define GPIO_TA_nCONNECTED EXYNOS5_GPX0(0)
+
+#define GPIO_TF_EN EXYNOS5_GPY2(0)
+
+#define GPIO_TOUCH_CHG EXYNOS5_GPG1(2)
+#define GPIO_TOUCH_RESET EXYNOS5_GPG1(3)
+
+#define GPIO_TSP_SCL_18V EXYNOS5_GPA1(3)
+#define GPIO_TSP_SDA_18V EXYNOS5_GPA1(2)
+
+#define GPIO_UART_SEL EXYNOS5_GPE0(5)
+
+#define GPIO_USB_SEL1 EXYNOS5_GPH0(1)
+
+#define GPIO_USB30_EN EXYNOS5_GPG0(2)
+
+#define GPIO_VOL_DOWN EXYNOS5_GPX2(1)
+#define GPIO_VOL_UP EXYNOS5_GPX2(0)
+
+#define GPIO_VT_CAM_SCL_18V EXYNOS5_GPF0(3)
+#define GPIO_VT_CAM_SDA_18V EXYNOS5_GPF0(2)
+
+#define GPIO_VTCAM_MCLK EXYNOS5_GPG2(1)
+
+#define GPIO_WLAN_EN EXYNOS5_GPH0(0)
+#define GPIO_WLAN_EN_AF 1
+#define GPIO_WLAN_HOST_WAKE EXYNOS5_GPX2(5)
+#define GPIO_WLAN_HOST_WAKE_AF 0xF
+#define GPIO_WLAN_SDIO_CLK EXYNOS5_GPC3(0)
+#define GPIO_WLAN_SDIO_CLK_AF 2
+#define GPIO_WLAN_SDIO_CMD EXYNOS5_GPC3(1)
+#define GPIO_WLAN_SDIO_CMD_AF 2
+#define GPIO_WLAN_SDIO_D0 EXYNOS5_GPC3(3)
+#define GPIO_WLAN_SDIO_D0_AF 2
+#define GPIO_WLAN_SDIO_D1 EXYNOS5_GPC3(4)
+#define GPIO_WLAN_SDIO_D1_AF 2
+#define GPIO_WLAN_SDIO_D2 EXYNOS5_GPC3(5)
+#define GPIO_WLAN_SDIO_D2_AF 2
+#define GPIO_WLAN_SDIO_D3 EXYNOS5_GPC3(6)
+#define GPIO_WLAN_SDIO_D3_AF 2
+#define GPIO_WLAN_WAKE EXYNOS5_GPV1(0)
+
+/**
+ * Remappig for downward compatibility.
+ */
+#define GPIO_PMIC_IRQ GPIO_AP_PMIC_IRQ
+#define GPIO_HDMI_CEC GPIO_EAR_SEND_END
+
+#endif /* __MACH_GPIO_P10_H */