Duncan Laurie | 3ece50d | 2013-06-24 14:57:40 -0700 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2012 Google Inc. |
| 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; version 2 of the License. |
| 9 | * |
| 10 | * This program is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | * GNU General Public License for more details. |
Duncan Laurie | 3ece50d | 2013-06-24 14:57:40 -0700 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef BOLT_GPIO_H |
| 17 | #define BOLT_GPIO_H |
| 18 | |
| 19 | struct pch_lp_gpio_map; |
| 20 | |
| 21 | const struct pch_lp_gpio_map mainboard_gpio_map[] = { |
| 22 | LP_GPIO_UNUSED, /* 0: UNUSED */ |
| 23 | LP_GPIO_UNUSED, /* 1: UNUSED */ |
| 24 | LP_GPIO_UNUSED, /* 2: UNUSED */ |
| 25 | LP_GPIO_UNUSED, /* 3: UNUSED */ |
| 26 | LP_GPIO_NATIVE, /* 4: NATIVE: I2C0_SDA_GPIO4 */ |
| 27 | LP_GPIO_NATIVE, /* 5: NATIVE: I2C0_SCL_GPIO5 */ |
| 28 | LP_GPIO_NATIVE, /* 6: NATIVE: I2C1_SDA_GPIO6 */ |
| 29 | LP_GPIO_NATIVE, /* 7: NATIVE: I2C1_SCL_GPIO7 */ |
| 30 | LP_GPIO_ACPI_SCI, /* 8: PCH_LTE_WAKE_L */ |
| 31 | LP_GPIO_UNUSED, /* 9: UNUSED */ |
| 32 | LP_GPIO_ACPI_SCI, /* 10: PCH_WLAN_WAKE_L */ |
| 33 | LP_GPIO_UNUSED, /* 11: UNUSED */ |
| 34 | LP_GPIO_UNUSED, /* 12: UNUSED */ |
| 35 | LP_GPIO_INPUT_INVERT, /* 13: TRACKPAD_INT_L (WAKE) */ |
| 36 | LP_GPIO_INPUT_INVERT, /* 14: TOUCH_INT_L (WAKE) */ |
| 37 | LP_GPIO_UNUSED, /* 15: UNUSED (STRAP) */ |
| 38 | LP_GPIO_INPUT, /* 16: PCH_WP */ |
| 39 | LP_GPIO_UNUSED, /* 17: UNUSED */ |
| 40 | LP_GPIO_NATIVE, /* 18: PCIE_WLAN_CLKREQ_L */ |
| 41 | LP_GPIO_UNUSED, /* 19: UNUSED */ |
| 42 | LP_GPIO_UNUSED, /* 20: UNUSED */ |
| 43 | LP_GPIO_UNUSED, /* 21: UNUSED */ |
| 44 | LP_GPIO_UNUSED, /* 22: UNUSED */ |
| 45 | LP_GPIO_UNUSED, /* 23: UNUSED */ |
| 46 | LP_GPIO_UNUSED, /* 24: UNUSED */ |
| 47 | LP_GPIO_INPUT, /* 25: EC_IN_RW */ |
| 48 | LP_GPIO_UNUSED, /* 26: UNUSED */ |
| 49 | LP_GPIO_UNUSED, /* 27: UNUSED */ |
| 50 | LP_GPIO_UNUSED, /* 28: UNUSED */ |
Duncan Laurie | d988b61 | 2013-09-25 14:05:31 -0700 | [diff] [blame] | 51 | LP_GPIO_INPUT, /* 29: NATIVE: WLAN_OFF_L */ |
Duncan Laurie | 3ece50d | 2013-06-24 14:57:40 -0700 | [diff] [blame] | 52 | LP_GPIO_NATIVE, /* 30: NATIVE: PCH_SUSWARN_L */ |
| 53 | LP_GPIO_NATIVE, /* 31: NATIVE: ACOK_BUF */ |
| 54 | LP_GPIO_NATIVE, /* 32: NATIVE: LPC_CLKRUN_L */ |
| 55 | LP_GPIO_NATIVE, /* 33: NATIVE: SSD_DEVSLP */ |
| 56 | LP_GPIO_ACPI_SMI, /* 34: EC_SMI_L */ |
| 57 | LP_GPIO_ACPI_SMI, /* 35: PCH_NMI_DBG_L (route in NMI_EN) */ |
| 58 | LP_GPIO_ACPI_SCI, /* 36: EC_SCI_L */ |
| 59 | LP_GPIO_UNUSED, /* 37: UNUSED */ |
| 60 | LP_GPIO_UNUSED, /* 38: UNUSED */ |
| 61 | LP_GPIO_UNUSED, /* 39: UNUSED */ |
| 62 | LP_GPIO_NATIVE, /* 40: NATIVE: PCH_USB1_OC_L */ |
| 63 | LP_GPIO_NATIVE, /* 41: NATIVE: PCH_USB2_OC_L */ |
| 64 | LP_GPIO_UNUSED, /* 42: UNUSED */ |
| 65 | LP_GPIO_UNUSED, /* 43: UNUSED */ |
| 66 | LP_GPIO_OUT_HIGH, /* 44: PP3300_SSD_EN */ |
| 67 | LP_GPIO_OUT_HIGH, /* 45: PP3300_CODEC_EN */ |
| 68 | LP_GPIO_OUT_HIGH, /* 46: WLAN_DISABLE_L */ |
| 69 | LP_GPIO_UNUSED, /* 47: UNUSED */ |
| 70 | LP_GPIO_OUT_HIGH, /* 48: TPM_LP_EN_L */ |
| 71 | LP_GPIO_OUT_HIGH, /* 49: HDMI_CEC */ |
| 72 | LP_GPIO_UNUSED, /* 50: UNUSED */ |
| 73 | LP_GPIO_INPUT, /* 51: ALS_INT_L */ |
| 74 | LP_GPIO_INPUT, /* 52: SIM_DET */ |
| 75 | LP_GPIO_PIRQ, /* 53: TRACKPAD_INT_L_R (PIRQV) */ |
| 76 | LP_GPIO_PIRQ, /* 54: TOUCH_INT_L_R (PIRQW) */ |
| 77 | LP_GPIO_UNUSED, /* 55: UNUSED */ |
| 78 | LP_GPIO_UNUSED, /* 56: UNUSED */ |
| 79 | LP_GPIO_OUT_HIGH, /* 57: PP3300_AUTOBAHN_EN */ |
| 80 | LP_GPIO_UNUSED, /* 58: UNUSED */ |
| 81 | LP_GPIO_OUT_HIGH, /* 59: LTE_DISABLE_L */ |
| 82 | LP_GPIO_UNUSED, /* 60: UNUSED */ |
| 83 | LP_GPIO_NATIVE, /* 61: NATIVE: PCH_SUS_STAT */ |
| 84 | LP_GPIO_NATIVE, /* 62: NATIVE: PCH_SUSCLK */ |
| 85 | LP_GPIO_NATIVE, /* 63: NATIVE: PCH_SLP_S5_L */ |
| 86 | LP_GPIO_UNUSED, /* 64: UNUSED */ |
| 87 | LP_GPIO_UNUSED, /* 65: UNUSED */ |
| 88 | LP_GPIO_UNUSED, /* 66: UNUSED (STRAP) */ |
| 89 | LP_GPIO_UNUSED, /* 67: UNUSED */ |
| 90 | LP_GPIO_UNUSED, /* 68: UNUSED */ |
| 91 | LP_GPIO_UNUSED, /* 69: UNUSED */ |
| 92 | LP_GPIO_UNUSED, /* 70: UNUSED */ |
| 93 | LP_GPIO_NATIVE, /* 71: NATIVE: MODPHY_EN */ |
| 94 | LP_GPIO_UNUSED, /* 72: UNUSED */ |
| 95 | LP_GPIO_UNUSED, /* 73: UNUSED */ |
| 96 | LP_GPIO_UNUSED, /* 74: UNUSED */ |
| 97 | LP_GPIO_UNUSED, /* 75: UNUSED */ |
| 98 | LP_GPIO_UNUSED, /* 76: UNUSED */ |
| 99 | LP_GPIO_UNUSED, /* 77: UNUSED */ |
| 100 | LP_GPIO_UNUSED, /* 78: UNUSED */ |
| 101 | LP_GPIO_UNUSED, /* 79: UNUSED */ |
| 102 | LP_GPIO_UNUSED, /* 80: UNUSED */ |
| 103 | LP_GPIO_NATIVE, /* 81: NATIVE: PCH_HDA_SPKR */ |
| 104 | LP_GPIO_NATIVE, /* 82: NATIVE: EC_RCIN_L */ |
| 105 | LP_GPIO_UNUSED, /* 83: UNUSED */ |
| 106 | LP_GPIO_UNUSED, /* 84: UNUSED */ |
| 107 | LP_GPIO_UNUSED, /* 85: UNUSED */ |
| 108 | LP_GPIO_UNUSED, /* 86: UNUSED (STRAP) */ |
| 109 | LP_GPIO_UNUSED, /* 87: UNUSED */ |
| 110 | LP_GPIO_UNUSED, /* 88: UNUSED */ |
| 111 | LP_GPIO_UNUSED, /* 89: UNUSED */ |
| 112 | LP_GPIO_UNUSED, /* 90: UNUSED */ |
| 113 | LP_GPIO_NATIVE, /* 91: NATIVE: UART0_PCHRX_BTTX */ |
| 114 | LP_GPIO_NATIVE, /* 92: NATIVE: UART0_PCHTX_BTRX */ |
| 115 | LP_GPIO_NATIVE, /* 93: NATIVE: UART0_PCHRTS_BTCTS_L */ |
| 116 | LP_GPIO_NATIVE, /* 94: NATIVE: UART0_PCHCTS_BTRTS_L */ |
| 117 | LP_GPIO_END |
| 118 | }; |
| 119 | |
| 120 | #endif |