summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2017-05-23 18:54:10 -0600
committerMartin Roth <martinroth@google.com>2017-07-27 21:32:48 +0000
commitee193362ad6b80d5a3b9823f4840c7c134a239c6 (patch)
tree9d05daf9b76ff0471debc8f78c40db3289799a2e /src/mainboard
parent6f174ee0dda132d1d8e18398a79ecba99094a068 (diff)
google/kahlee: Update GPIO table
Update GPIO settings based on the schematic. Change-Id: Ic8a876198a3ba9029d1aabb273418923e40bfcc6 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: https://review.coreboot.org/19834 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/kahlee/bootblock/BiosCallOuts.c79
1 files changed, 64 insertions, 15 deletions
diff --git a/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c b/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c
index 02fc835272..78b1153677 100644
--- a/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c
+++ b/src/mainboard/google/kahlee/bootblock/BiosCallOuts.c
@@ -20,28 +20,77 @@
#include <stdlib.h>
static const GPIO_CONTROL oem_kahlee_gpio[] = {
- /* BT radio disable */
- {14, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
+ /* SER TX */
+ {8, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
| FCH_GPIO_OUTPUT_ENABLE},
- /* NFC PU */
- {64, Function0, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
+ /* SER RX */
+ {9, Function1, FCH_GPIO_PULL_UP_ENABLE },
+
+ /* AGPIO 12 */
+ {12, Function2, FCH_GPIO_PULL_UP_ENABLE },
+
+ /* TS_EN_SOC (TouchScreen enable GPIO) */
+ {13, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
+ | FCH_GPIO_OUTPUT_ENABLE},
+
+ /* CAM_PWRON (Camera enable GPIO) */
+ {14, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
| FCH_GPIO_OUTPUT_ENABLE},
- /* NFC wake */
- {65, Function0, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
+
+ /* EC_IN_RW */
+ {15, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
| FCH_GPIO_OUTPUT_ENABLE},
- /* Webcam */
- {66, Function0, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
+
+ /* APU_I2C_3_SCL */
+ {19, Function1, FCH_GPIO_PULL_UP_ENABLE },
+
+ /* APU_I2C_3_SDA */
+ {20, Function1, FCH_GPIO_PULL_UP_ENABLE },
+
+
+ /* APU_BT_ON# */
+ {24, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
+ | FCH_GPIO_OUTPUT_ENABLE},
+
+ /* DEVSLP1_SSD */
+ {67, Function1, FCH_GPIO_PULL_UP_ENABLE},
+
+ /* DEVSLP1_EMMC */
+ /* No Connect for now.
+ * {70, Function1, FCH_GPIO_PULL_UP_ENABLE},
+ */
+
+ /* SPI_TPM_CS_L */
+ {76, Function1, FCH_GPIO_PULL_DOWN_ENABLE | FCH_GPIO_OUTPUT_VALUE
+ | FCH_GPIO_OUTPUT_ENABLE},
+
+ /* CAM_LED# */
+ {84, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
| FCH_GPIO_OUTPUT_ENABLE},
- /* PCIe presence detect */
- {69, Function0, FCH_GPIO_PULL_UP_ENABLE},
- /* GPS sleep */
- {70, Function0, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
+
+ /* TS_RST# (TouchScreen Reset) */
+ {85, Function1, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
| FCH_GPIO_OUTPUT_ENABLE},
- /* MUX for Power Express Eval */
- {116, Function1, FCH_GPIO_PULL_DOWN_ENABLE},
- /* SD power */
+
+ /* WLAN_RST#_AUX */
{119, Function2, FCH_GPIO_PULL_UP_ENABLE | FCH_GPIO_OUTPUT_VALUE
| FCH_GPIO_OUTPUT_ENABLE},
+
+ /* BD_ID1 */
+ {135, Function1, 0 },
+
+ /* TPM_SERIRQ# */
+ {139, Function1, FCH_GPIO_PULL_UP_ENABLE },
+
+ /* BD_ID2 */
+ {140, Function1, 0 },
+
+ /* APU_SPI_WP */
+ {142, Function1, FCH_GPIO_PULL_UP_ENABLE },
+
+ /* BD_ID3 */
+ {144, Function1, 0 },
+
{-1}
};