Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2016 Intel Corp. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | */ |
| 16 | |
| 17 | #ifndef MAINBOARD_GPIO_H |
| 18 | #define MAINBOARD_GPIO_H |
| 19 | |
| 20 | #include <soc/gpio.h> |
| 21 | |
| 22 | static const struct pad_config gpio_table[] = { |
| 23 | /** South West Community **/ |
| 24 | /* PCIe WAKE */ |
| 25 | PAD_CFG_NF(GPIO_205, NATIVE, DEEP, NF1), /* PCIE_WLAN_WAKE3_N */ |
| 26 | PAD_NC(GPIO_206, UP_20K), /* PCIE_WAKE1_B */ |
| 27 | PAD_NC(GPIO_207, UP_20K), /* PCIE_WAKE2_B */ |
| 28 | PAD_CFG_NF(GPIO_208, UP_20K, DEEP, NF1), /* PCIE_SSD_WAKE0_N */ |
| 29 | /* eMMC */ |
| 30 | PAD_CFG_NF(GPIO_156, DN_20K, DEEP, NF1), /* EMMC0_CLK */ |
| 31 | PAD_CFG_NF(GPIO_157, UP_20K, DEEP, NF1), /* EMMC0_D0 */ |
| 32 | PAD_CFG_NF(GPIO_158, UP_20K, DEEP, NF1), /* EMMC0_D1 */ |
| 33 | PAD_CFG_NF(GPIO_159, UP_20K, DEEP, NF1), /* EMMC0_D2 */ |
| 34 | PAD_CFG_NF(GPIO_160, UP_20K, DEEP, NF1), /* EMMC0_D3 */ |
| 35 | PAD_CFG_NF(GPIO_161, UP_20K, DEEP, NF1), /* EMMC0_D4 */ |
| 36 | PAD_CFG_NF(GPIO_162, UP_20K, DEEP, NF1), /* EMMC0_D5 */ |
| 37 | PAD_CFG_NF(GPIO_163, UP_20K, DEEP, NF1), /* EMMC0_D6 */ |
| 38 | PAD_CFG_NF(GPIO_164, UP_20K, DEEP, NF1), /* EMMC0_D7 */ |
| 39 | PAD_CFG_NF(GPIO_165, UP_20K, DEEP, NF1), /* EMMC0_CMD */ |
| 40 | PAD_CFG_NF(GPIO_182, DN_20K, DEEP, NF1), /* EMMC_RCLK */ |
| 41 | /* SDIO */ |
| 42 | PAD_NC(GPIO_166, DN_20K), /* SDIO_CLK */ |
| 43 | PAD_CFG_GPI(GPIO_167, NONE, DEEP), /* DB_ID */ |
| 44 | /* Configure SDIO to enable power gating */ |
| 45 | PAD_CFG_NF(GPIO_168, UP_20K, DEEP, NF1), /* SDIO_D1 */ |
| 46 | PAD_NC(GPIO_169, DN_20K), /* SDIO_D2 */ |
| 47 | PAD_NC(GPIO_170, DN_20K), /* SDIO_D3 */ |
| 48 | PAD_NC(GPIO_171, DN_20K), /* SDIO_CMD */ |
| 49 | /* SD CARD */ |
| 50 | PAD_CFG_NF(GPIO_172, UP_20K, DEEP, NF1), /* SDCARD_CLK */ |
| 51 | PAD_CFG_NF(GPIO_173, UP_20K, DEEP, NF1), /* SDCARD_D0 */ |
| 52 | PAD_CFG_NF(GPIO_174, UP_20K, DEEP, NF1), /* SDCARD_D1 */ |
| 53 | PAD_CFG_NF(GPIO_175, UP_20K, DEEP, NF1), /* SDCARD_D2 */ |
| 54 | PAD_CFG_NF(GPIO_176, UP_20K, DEEP, NF1), /* SDCARD_D3 */ |
| 55 | PAD_CFG_NF(GPIO_177, NATIVE, DEEP, NF1), /* SDCARD_CD_B */ |
| 56 | PAD_CFG_NF(GPIO_178, UP_20K, DEEP, NF1), /* SDCARD_CMD */ |
| 57 | PAD_CFG_NF(GPIO_179, NATIVE, DEEP, NF1), /* SDCARD_CLK_FB */ |
| 58 | PAD_CFG_GPO(GPIO_183, 1, DEEP), /* SDCARD_PWR_EN_N */ |
| 59 | PAD_NC(GPIO_186, DN_20K), /* SDCARD_LVL_WP */ |
| 60 | /* SmBus */ |
| 61 | PAD_NC(SMB_ALERTB, UP_20K), /* SMB_ALERTB */ |
| 62 | PAD_NC(SMB_CLK, UP_20K), /* SMB_CLK */ |
| 63 | PAD_NC(SMB_DATA, UP_20K), /* SMB_DATA */ |
| 64 | /* LPC */ |
| 65 | PAD_CFG_NF(LPC_ILB_SERIRQ, NATIVE, DEEP, NF1), /* LPC_SERIRQ */ |
| 66 | PAD_CFG_NF(LPC_CLKOUT0, NONE, DEEP, NF1), /* LPC_CLKOUT0 */ |
| 67 | PAD_NC(LPC_CLKOUT1, NONE), /* LPC_CLKOUT1 */ |
| 68 | PAD_CFG_NF(LPC_AD0, NATIVE, DEEP, NF1), /* LPC_AD0 */ |
| 69 | PAD_CFG_NF(LPC_AD1, NATIVE, DEEP, NF1), /* LPC_AD1 */ |
| 70 | PAD_CFG_NF(LPC_AD2, NATIVE, DEEP, NF1), /* LPC_AD2 */ |
| 71 | PAD_CFG_NF(LPC_AD3, NATIVE, DEEP, NF1), /* LPC_AD3 */ |
| 72 | PAD_CFG_NF(LPC_CLKRUNB, NATIVE, DEEP, NF1), /* LPC_CLKRUN_N */ |
| 73 | PAD_CFG_NF(LPC_FRAMEB, NATIVE, DEEP, NF1), /* LPC_FRAMEB */ |
| 74 | /** end of South West Community **/ |
| 75 | |
| 76 | /** West Community **/ |
| 77 | /* I2C lines */ |
| 78 | PAD_CFG_NF(GPIO_124, UP_2K, DEEP, NF1), /* I2C0_SDA for Audio Codec */ |
| 79 | PAD_CFG_NF(GPIO_125, UP_2K, DEEP, NF1), /* I2C0_SCL for Audio Codec */ |
| 80 | PAD_CFG_NF(GPIO_126, NONE, DEEP, NF1), /* LPSS_I2C1_SDA for NFC*/ |
| 81 | PAD_CFG_NF(GPIO_127, NONE, DEEP, NF1), /* LPSS_I2C1_SCL for NFC*/ |
| 82 | PAD_NC(GPIO_128, UP_20K), /* LPSS_I2C2_SDA */ |
| 83 | PAD_NC(GPIO_129, UP_20K), /* LPSS_I2C2_SCL */ |
| 84 | PAD_CFG_NF(GPIO_130, UP_2K, DEEP, NF1), /* I2C3_SDA for Touch Screen */ |
| 85 | PAD_CFG_NF(GPIO_131, UP_2K, DEEP, NF1), /* I2C3_SCL for Touchscreen */ |
| 86 | PAD_CFG_NF(GPIO_132, UP_2K, DEEP, NF1), /* I2C4_SDA for Trackpad */ |
| 87 | PAD_CFG_NF(GPIO_133, UP_2K, DEEP, NF1), /* I2C4_SCL for Trackpad */ |
| 88 | PAD_NC(GPIO_134, UP_20K), /* LPSS_I2C5_SDA */ |
| 89 | PAD_NC(GPIO_135, UP_20K), /* LPSS_I2C5_SCL */ |
| 90 | PAD_NC(GPIO_136, UP_20K), /* LPSS_I2C6_SDA */ |
| 91 | PAD_NC(GPIO_137, UP_20K), /* LPSS_I2C6_SCL */ |
| 92 | PAD_NC(GPIO_138, UP_20K), /* LPSS_I2C7_SDA */ |
| 93 | PAD_NC(GPIO_139, UP_20K), /* LPSS_I2C7_SCL */ |
| 94 | /* I2S lines */ |
| 95 | PAD_CFG_NF(GPIO_146, NATIVE, DEEP, NF2), /* I2S6_BCLK_Codec */ |
| 96 | PAD_CFG_NF(GPIO_147, NATIVE, DEEP, NF2), /* I2S6_SYNC_Codec */ |
| 97 | PAD_CFG_NF(GPIO_148, NATIVE, DEEP, NF2), /* I2S6_SDI_Codec */ |
| 98 | PAD_CFG_NF(GPIO_149, NATIVE, DEEP, NF2), /* I2S6_SDO_Codec */ |
| 99 | /* Misc */ |
| 100 | PAD_CFG_GPO(GPIO_150, 1, DEEP), /* NFC_RESET_N */ |
| 101 | PAD_CFG_GPI(GPIO_151, UP_20K, DEEP), /* RSVD (ISH_BASE_ACCEL_INT_N) */ |
| 102 | PAD_CFG_GPI(GPIO_152, UP_20K, DEEP), /* RSVD (ALS_IRQ_N) */ |
| 103 | PAD_NC(GPIO_153, DN_20K), /* ISH_GPIO_7 */ |
| 104 | PAD_CFG_GPO(GPIO_154, 1, DEEP), /* BT_DISABLE_1P8_N */ |
| 105 | PAD_CFG_GPO(GPIO_155, 1, DEEP), /* RSVD (WIFI_PERST_1P8_N) */ |
| 106 | /* PCIE_CLKREQ */ |
| 107 | PAD_CFG_NF(GPIO_209, UP_20K, DEEP, NF1), /* SSD CLKREQ */ |
| 108 | PAD_NC(GPIO_210, UP_20K), /* PCIE_CLKREQ1_B */ |
| 109 | PAD_NC(GPIO_211, UP_20K), /* PCIE_CLKREQ2_B */ |
| 110 | PAD_CFG_NF(GPIO_212, NATIVE, DEEP, NF1), /* Wifi CLKREQ */ |
| 111 | /* OSC signals */ |
| 112 | PAD_NC(OSC_CLK_OUT_0, DN_20K), |
| 113 | PAD_NC(OSC_CLK_OUT_1, DN_20K), |
| 114 | PAD_NC(OSC_CLK_OUT_2, DN_20K), |
| 115 | PAD_NC(OSC_CLK_OUT_3, DN_20K), |
| 116 | PAD_NC(OSC_CLK_OUT_4, DN_20K), |
| 117 | /* PMU */ |
| 118 | PAD_NC(PMU_AC_PRESENT, DN_20K), /* PMU_AC_PRESENT */ |
| 119 | PAD_NC(PMU_BATLOW_B, UP_20K), /* PMU_BATLOW_B */ |
| 120 | PAD_CFG_NF(PMU_PLTRST_B, NONE, DEEP, NF1), /* PMU_PLTRST_N */ |
| 121 | PAD_CFG_NF(PMU_PWRBTN_B, UP_20K, DEEP, NF1), /* PMU_PWRBTN_N */ |
| 122 | PAD_CFG_NF(PMU_RESETBUTTON_B, NONE, DEEP, NF1), /* PMU_RSTBTN_N */ |
| 123 | PAD_CFG_NF(PMU_SLP_S0_B, NONE, DEEP, NF1), /* PMU_SLP_S0_N */ |
| 124 | PAD_CFG_NF(PMU_SLP_S3_B, NONE, DEEP, NF1), /* PMU_SLP_S3_N */ |
| 125 | PAD_CFG_NF(PMU_SLP_S4_B, NONE, DEEP, NF1), /* PMU_SLP_S4_N */ |
| 126 | PAD_CFG_NF(PMU_SUSCLK, NONE, DEEP, NF1), /* PMU_SUSCLK */ |
| 127 | PAD_NC(PMU_WAKE_B, UP_20K), /* PMU_WAKE_B */ |
| 128 | PAD_CFG_NF(SUS_STAT_B, NONE, DEEP, NF1), /* SUS_STAT_N */ |
| 129 | PAD_CFG_NF(SUSPWRDNACK, NONE, DEEP, NF1), /* SUSPWRDNACK */ |
| 130 | /** end of West Community **/ |
| 131 | |
| 132 | /** North West Community */ |
| 133 | /* DDI */ |
| 134 | PAD_NC(GPIO_187, UP_20K), /* HV_DDI0_DDC_SDA */ |
| 135 | PAD_NC(GPIO_188, UP_20K), /* HV_DDI0_DDC_SCL */ |
| 136 | PAD_NC(GPIO_189, UP_20K), /* HV_DDI1_DDC_SDA */ |
| 137 | PAD_NC(GPIO_190, UP_20K), /* HV_DDI1_DDC_SCL */ |
| 138 | /* DBI */ |
| 139 | PAD_NC(GPIO_191, UP_20K), /* DBI_SDA */ |
| 140 | PAD_NC(GPIO_192, UP_20K), /* DBI_SCL */ |
| 141 | /* Panel 0 */ |
| 142 | PAD_CFG_NF(GPIO_193, NATIVE, DEEP, NF1), /* PANEL0_VDDEN */ |
| 143 | PAD_CFG_NF(GPIO_194, NATIVE, DEEP, NF1), /* PANEL0_BKLTEN */ |
| 144 | PAD_CFG_NF(GPIO_195, NATIVE, DEEP, NF1), /* PANEL0_BKLTCTL */ |
| 145 | /* Panel 1 */ |
| 146 | PAD_NC(GPIO_196, DN_20K), /* PANEL1_VDDEN */ |
| 147 | PAD_NC(GPIO_197, DN_20K), /* PANEL1_BKLTEN */ |
| 148 | PAD_NC(GPIO_198, DN_20K), /* PANEL1_BKLTCTL */ |
| 149 | /* Hot Plug Detect */ |
| 150 | PAD_CFG_NF(GPIO_199, UP_20K, DEEP, NF2), /* DDI0_HPD */ |
| 151 | PAD_CFG_NF(GPIO_200, UP_20K, DEEP, NF2), /* DDI1_HPD */ |
| 152 | /* GP_INTD_DSI */ |
| 153 | PAD_NC(GPIO_201, DN_20K), /* GP_INTD_DSI_TE1 */ |
| 154 | PAD_NC(GPIO_202, DN_20K), /* GP_INTD_DSI_TE2 */ |
| 155 | /* USB OC */ |
| 156 | PAD_CFG_NF(GPIO_203, NATIVE, DEEP, NF1), /* USB2_OC0_3p3_N */ |
| 157 | PAD_CFG_NF(GPIO_204, NATIVE, DEEP, NF1), /* USB2_OC2_N */ |
| 158 | /* SPI */ |
| 159 | PAD_NC(PMC_SPI_FS0, UP_20K), /* PMC_SPI_FS0 */ |
| 160 | PAD_CFG_NF(PMC_SPI_FS1, NATIVE, DEEP, NF2), /* HV_DDI2_HPD */ |
| 161 | PAD_NC(PMC_SPI_FS2, UP_20K), /* PMC_SPI_FS2 */ |
| 162 | PAD_NC(PMC_SPI_RXD, DN_20K), /* PMC_SPI_RXD */ |
| 163 | PAD_NC(PMC_SPI_TXD, DN_20K), /* PMC_SPI_TXD */ |
| 164 | PAD_NC(PMC_SPI_CLK, DN_20K), /* PMC_SPI_CLK */ |
| 165 | /* PMIC */ |
| 166 | PAD_NC(PMIC_PWRGOOD, NONE), /* PMIC_PWRGOOD */ |
| 167 | PAD_NC(PMIC_RESET_B, NONE), /* PMIC_RESET_B */ |
| 168 | PAD_NC(GPIO_213, NONE), /* PMIC_SDWN_B */ |
| 169 | PAD_NC(GPIO_214, DN_20K), /* PMIC_BCUDISW2 */ |
| 170 | PAD_NC(GPIO_215, DN_20K), /* PMIC_BCUDISCRIT */ |
| 171 | PAD_CFG_NF(PMIC_THERMTRIP_B, UP_20K, DEEP, NF1), /* PMIC_THERMTRIP_B */ |
| 172 | PAD_NC(PMIC_STDBY, DN_20K), /* PMIC_STDBY */ |
| 173 | PAD_CFG_NF(PROCHOT_B, UP_20K, DEEP, NF1), /* PROCHOT_N */ |
| 174 | PAD_CFG_NF(PMIC_I2C_SCL, UP_1K, DEEP, NF1), /* PMIC_I2C_SCL */ |
| 175 | PAD_CFG_NF(PMIC_I2C_SDA, UP_1K, DEEP, NF1), /* PMIC_I2C_SDA */ |
| 176 | /* I2S1 */ |
| 177 | PAD_NC(GPIO_74, DN_20K), /* I2S1_MCLK */ |
| 178 | PAD_CFG_GPI(GPIO_75, UP_20K, DEEP), /* SPI_WP_STAT */ |
Harsha Priya | f0416ed | 2016-07-11 13:19:02 -0700 | [diff] [blame] | 179 | PAD_CFG_GPO(GPIO_76, 0, DEEP), /* I2S1_WS_SYNC -- SPK_PA_EN */ |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 180 | PAD_NC(GPIO_77, DN_20K), /* I2S1_SDI */ |
| 181 | PAD_NC(GPIO_78, DN_20K), /* I2S1_SDO */ |
| 182 | /* I2S4 or DMIC */ |
| 183 | PAD_CFG_NF(GPIO_79, NATIVE, DEEP, NF1), /* DMIC_CLK_A1 */ |
| 184 | PAD_CFG_NF(GPIO_80, NATIVE, DEEP, NF1), /* DMIC_CLK_B1 */ |
| 185 | PAD_CFG_NF(GPIO_81, NATIVE, DEEP, NF1), /* DMIC_DATA_1 */ |
| 186 | PAD_CFG_NF(GPIO_82, NATIVE, DEEP, NF1), /* DMIC_CLK_AB2 */ |
| 187 | PAD_CFG_NF(GPIO_83, NATIVE, DEEP, NF1), /* DMIC_DATA_2 */ |
| 188 | PAD_CFG_NF(GPIO_84, NATIVE, DEEP, NF1), /* MCLK */ |
| 189 | /* I2S2 or Headset amp */ |
| 190 | PAD_CFG_NF(GPIO_85, NATIVE, DEEP, NF1), /* I2S2_BCLK_AMP */ |
| 191 | PAD_CFG_NF(GPIO_86, NATIVE, DEEP, NF1), /* I2S2_SYNC_AMP */ |
| 192 | PAD_CFG_NF(GPIO_87, NATIVE, DEEP, NF1), /* I2S2_SDI_AMP */ |
| 193 | PAD_CFG_NF(GPIO_88, NATIVE, DEEP, NF1), /* I2S2_SDO_AMP */ |
| 194 | /* I2S3 */ |
| 195 | PAD_NC(GPIO_89, DN_20K), /* I2S3_BCLK */ |
| 196 | PAD_NC(GPIO_90, DN_20K), /* I2S3_WS_SYNC */ |
| 197 | PAD_NC(GPIO_91, DN_20K), /* I2S3_SDI */ |
| 198 | PAD_NC(GPIO_92, DN_20K), /* I2S3_SDO */ |
| 199 | /* Fast SPI */ |
| 200 | PAD_CFG_NF(GPIO_97, NATIVE, DEEP, NF1), /* FST_SPI_CS0_B */ |
| 201 | PAD_NC(GPIO_98, UP_20K), /* FST_SPI_CS1_B */ |
| 202 | PAD_CFG_NF(GPIO_99, NATIVE, DEEP, NF1), /* FST_SPI_MOSI_IO0 */ |
| 203 | PAD_CFG_NF(GPIO_100, NATIVE, DEEP, NF1), /* FST_SPI_MISO_IO1 */ |
| 204 | PAD_NC(GPIO_101, UP_20K), /* FST_IO2 */ |
| 205 | PAD_NC(GPIO_102, UP_20K), /* FST_IO3 */ |
| 206 | PAD_CFG_NF(GPIO_103, NATIVE, DEEP, NF1), /* FST_SPI_CLK */ |
| 207 | PAD_CFG_NF(FST_SPI_CLK_FB, NATIVE, DEEP, NF1), /* FST_SPI_CLK_FB */ |
| 208 | /* GP_SSP_0 / SPI - FP */ |
| 209 | PAD_CFG_NF(GPIO_104, NATIVE, DEEP, NF1), /* SPI for FP */ |
| 210 | PAD_CFG_NF(GPIO_105, NATIVE, DEEP, NF1), /* SPI for FP */ |
| 211 | PAD_CFG_NF(GPIO_106, NATIVE, DEEP, NF3), /* FST_SPI_CS2_B for TPM */ |
| 212 | PAD_CFG_NF(GPIO_109, NATIVE, DEEP, NF1), /* SPI for FP */ |
| 213 | PAD_CFG_NF(GPIO_110, NATIVE, DEEP, NF1), /* SPI for FP */ |
| 214 | /* GP_SSP_1 */ |
| 215 | PAD_NC(GPIO_111, DN_20K), /* GP_SSP_1_CLK */ |
| 216 | PAD_CFG_GPO(GPIO_112, 1, DEEP), /* FP Reset */ |
| 217 | PAD_NC(GPIO_113, DN_20K), /* GP_SSP_1_FS1 */ |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 218 | PAD_CFG_GPI_APIC_LOW(GPIO_116, UP_20K, DEEP), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 219 | /* AUDIO_CODEC_IRQ_N */ |
| 220 | PAD_NC(GPIO_117, DN_20K), /* GP_SSP_1_TXD */ |
| 221 | /* GP_SSP_2 */ |
| 222 | PAD_NC(GPIO_118, DN_20K), /* GP_SSP_2_CLK */ |
| 223 | PAD_NC(GPIO_119, DN_20K), /* GP_SSP_2_FS0 */ |
| 224 | PAD_NC(GPIO_120, DN_20K), /* GP_SSP_2_FS1 */ |
| 225 | PAD_NC(GPIO_121, DN_20K), /* GP_SSP_2_FS2 */ |
| 226 | PAD_NC(GPIO_122, DN_20K), /* GP_SSP_2_RXD */ |
| 227 | PAD_NC(GPIO_123, DN_20K), /* GP_SSP_2_TXD */ |
| 228 | /** end of North West Community */ |
| 229 | /** North Community */ |
| 230 | /* MIPI60 debug */ |
| 231 | PAD_CFG_NF(GPIO_0, NATIVE, DEEP, NF1), |
| 232 | PAD_CFG_NF(GPIO_1, NATIVE, DEEP, NF1), |
| 233 | PAD_CFG_NF(GPIO_2, NATIVE, DEEP, NF1), |
| 234 | PAD_CFG_NF(GPIO_3, NATIVE, DEEP, NF1), |
| 235 | PAD_CFG_NF(GPIO_4, NATIVE, DEEP, NF1), |
| 236 | PAD_CFG_NF(GPIO_5, NATIVE, DEEP, NF1), |
| 237 | PAD_CFG_NF(GPIO_6, NATIVE, DEEP, NF1), |
| 238 | PAD_CFG_NF(GPIO_7, NATIVE, DEEP, NF1), |
| 239 | PAD_CFG_NF(GPIO_8, NATIVE, DEEP, NF1), |
| 240 | PAD_CFG_GPI(GPIO_9, UP_20K, DEEP), /* SPI_TPM_IRQ_N */ |
| 241 | PAD_NC(GPIO_10, DN_20K), /* RSVD for MIPI (unused) */ |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 242 | PAD_CFG_GPI_SCI_LOW(GPIO_11, UP_20K, DEEP, EDGE_SINGLE), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 243 | /* SOC_WAKE_SCI_N */ |
| 244 | PAD_NC(GPIO_12, DN_20K), |
| 245 | PAD_NC(GPIO_13, DN_20K), |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 246 | PAD_CFG_GPI_APIC_LOW(GPIO_14, UP_20K, DEEP), /* FP INT */ |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 247 | PAD_NC(GPIO_15, DN_20K), |
| 248 | PAD_NC(GPIO_16, UP_20K), |
| 249 | PAD_NC(GPIO_17, UP_20K), |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 250 | PAD_CFG_GPI_APIC_LOW(GPIO_18, UP_20K, DEEP), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 251 | /* Trackpad_INT_N */ |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 252 | PAD_CFG_GPI_APIC_LOW(GPIO_19, UP_20K, DEEP), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 253 | /* Audio_Jack_Present_N */ |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 254 | PAD_CFG_GPI_APIC_LOW(GPIO_20, UP_20K, DEEP), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 255 | /* NFC INT */ |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 256 | PAD_CFG_GPI_APIC_LOW(GPIO_21, UP_20K, DEEP), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 257 | /* TCH_INT_N */ |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 258 | PAD_CFG_GPI_SCI_LOW(GPIO_22, UP_20K, DEEP, EDGE_SINGLE), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 259 | /* EC_SOC_WAKE_1P8_N */ |
| 260 | PAD_CFG_GPO(GPIO_23, 1, DEEP), /* GPS_NSTANDBY */ |
| 261 | PAD_CFG_GPO(GPIO_24, 1, DEEP), /* SSD_SATA_DEVSLP */ |
| 262 | PAD_NC(GPIO_25, DN_20K), |
| 263 | PAD_NC(GPIO_26, DN_20K), |
| 264 | PAD_CFG_GPO(GPIO_27, 0, DEEP), /* NFC DL REQ */ |
| 265 | PAD_NC(GPIO_28, DN_20K), |
| 266 | PAD_NC(GPIO_29, DN_20K), |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 267 | PAD_CFG_GPI_APIC_LOW(GPIO_30, UP_20K, DEEP), |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 268 | /* EC_KBD_IRQ_SOC_N */ |
| 269 | PAD_NC(GPIO_31, DN_20K), |
| 270 | PAD_CFG_NF(GPIO_32, NATIVE, DEEP, NF5), /* GPS_SUSCLK_32K */ |
| 271 | PAD_CFG_GPI(GPIO_33, UP_20K, DEEP), /* EC_KBD_IRQ_SOC_N */ |
| 272 | PAD_NC(GPIO_34, DN_20K), |
| 273 | PAD_NC(GPIO_35, DN_20K), |
| 274 | PAD_CFG_GPO(GPIO_36, 0, DEEP), /* TOUCH_PNL_RST */ |
| 275 | PAD_CFG_NF(GPIO_37, NATIVE, DEEP, NF1), /* SOC_BUZZER */ |
| 276 | PAD_NC(GPIO_38, UP_20K), |
| 277 | PAD_NC(GPIO_39, UP_20K), |
| 278 | PAD_NC(GPIO_40, UP_20K), |
| 279 | PAD_CFG_GPI(GPIO_41, UP_20K, DEEP), /* LPSS_UART0_CTS_B */ |
| 280 | PAD_CFG_NF(GPIO_42, NATIVE, DEEP, NF1), /* GPS_UART_RXD */ |
| 281 | PAD_CFG_NF(GPIO_43, NATIVE, DEEP, NF1), /* GPS_UART_TXD */ |
| 282 | PAD_CFG_NF(GPIO_44, NATIVE, DEEP, NF1), /* GPS_UART_RTS_B */ |
| 283 | PAD_CFG_NF(GPIO_45, NATIVE, DEEP, NF1), /* GPS_UART_CTS_N */ |
| 284 | PAD_CFG_NF(GPIO_46, NATIVE, DEEP, NF1), /* UART2 RX*/ |
| 285 | PAD_CFG_NF(GPIO_47, NATIVE, DEEP, NF1), /* UART2 TX*/ |
| 286 | PAD_NC(GPIO_48, UP_20K), |
Aaron Durbin | c79101a | 2016-07-12 17:31:22 -0500 | [diff] [blame] | 287 | PAD_CFG_GPI_SMI_LOW(GPIO_49, UP_20K, DEEP, EDGE_SINGLE), /* EC_SMI_N */ |
Jagadish Krishnamoorthy | 2dd226a | 2016-05-26 14:18:41 -0700 | [diff] [blame] | 288 | /* Camera interface*/ |
| 289 | PAD_NC(GPIO_62, DN_20K), /* GP_CAMERASB00 */ |
| 290 | PAD_NC(GPIO_63, DN_20K), /* GP_CAMERASB01 */ |
| 291 | PAD_NC(GPIO_64, DN_20K), /* GP_CAMERASB02 */ |
| 292 | PAD_NC(GPIO_65, DN_20K), /* GP_CAMERASB03 */ |
| 293 | PAD_NC(GPIO_66, DN_20K), /* GP_CAMERASB04 */ |
| 294 | PAD_NC(GPIO_67, DN_20K), /* GP_CAMERASB05 */ |
| 295 | PAD_NC(GPIO_68, DN_20K), /* GP_CAMERASB06 */ |
| 296 | PAD_NC(GPIO_69, DN_20K), /* GP_CAMERASB07 */ |
| 297 | PAD_NC(GPIO_70, DN_20K), /* GP_CAMERASB08 */ |
| 298 | PAD_NC(GPIO_71, DN_20K), /* GP_CAMERASB09 */ |
| 299 | PAD_NC(GPIO_72, DN_20K), /* GP_CAMERASB10 */ |
| 300 | PAD_NC(GPIO_73, DN_20K), /* GP_CAMERASB11 */ |
| 301 | /** End of North Community */ |
| 302 | }; |
| 303 | |
| 304 | #endif |