aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/intel/amenia/gpio.h
diff options
context:
space:
mode:
authorShaunak Saha <shaunak.saha@intel.com>2016-06-10 19:36:49 -0700
committerAaron Durbin <adurbin@chromium.org>2016-07-12 20:38:56 +0200
commit6e5c5a15bc9fe709943598ede0eb52f9766cbb02 (patch)
tree13f077c46160490697b9882d36fb5c29951d8516 /src/mainboard/intel/amenia/gpio.h
parent7f149c7bb4744459c775c32c71fe222c792cea19 (diff)
intel/amenia: Add GPE routing settings
This patch sets the devicetree for gpe0_dw configuration and also configures the GPIO lines for SCI. EC_SCI_GPI is configured to proper value. BUG = chrome-os-partner:53438 TEST = Toggle pch_sci_l from ec console using gpioset command and see that the sci counter increases in /sys/firmware/acpi/interrupt and also 9 in /proc/interrupt Change-Id: I3ae9ef7c6a3c8688bcb6cb4c73f5618e7cde342c Signed-off-by: Shaunak Saha <shaunak.saha@intel.com> Reviewed-on: https://review.coreboot.org/15325 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/intel/amenia/gpio.h')
-rw-r--r--src/mainboard/intel/amenia/gpio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/intel/amenia/gpio.h b/src/mainboard/intel/amenia/gpio.h
index 87d6190672..a39cca3335 100644
--- a/src/mainboard/intel/amenia/gpio.h
+++ b/src/mainboard/intel/amenia/gpio.h
@@ -239,7 +239,7 @@ static const struct pad_config gpio_table[] = {
PAD_CFG_NF(GPIO_8, NATIVE, DEEP, NF1),
PAD_CFG_GPI(GPIO_9, UP_20K, DEEP), /* SPI_TPM_IRQ_N */
PAD_NC(GPIO_10, DN_20K), /* RSVD for MIPI (unused) */
- PAD_CFG_GPI_SCI(GPIO_11, UP_20K, DEEP, LEVEL, NONE),
+ PAD_CFG_GPI_SCI(GPIO_11, UP_20K, DEEP, EDGE_SINGLE, INVERT),
/* SOC_WAKE_SCI_N */
PAD_NC(GPIO_12, DN_20K),
PAD_NC(GPIO_13, DN_20K),