diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2014-01-07 12:37:59 -0800 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2014-05-13 16:10:41 +0200 |
commit | b697eab9383b9ab23b7cdd2bc2a1969e6e135717 (patch) | |
tree | de36bdcf11ed324d32e8e46503f8bb9dff9cd777 /src/mainboard/google/rambi | |
parent | e1fe688c9bf69781d40ef8568b35ea307eaa41a8 (diff) | |
download | coreboot-b697eab9383b9ab23b7cdd2bc2a1969e6e135717.tar.xz |
rambi: Move KBD_IRQ pin for Rambi 2.0 board
KBD_IRQ# is moved to GPIO SC101, with SC50 going back to its original
SERIRQ function.
Note that this change breaks Rambi 1.5 keyboard functionality.
BUG=chrome-os-partner:24424
TEST=Manual on Rambi 2.0. Verify KB functions in OS with SC50 / SERIRQ KB
interrupt toggling removed from EC code.
BRANCH=Rambi, Glimmer, Clapper
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I3fa40441741ea9d52a6e2ff15925570510b5b82b
Reviewed-on: https://chromium-review.googlesource.com/181757
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/5030
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/mainboard/google/rambi')
-rw-r--r-- | src/mainboard/google/rambi/gpio.c | 4 | ||||
-rw-r--r-- | src/mainboard/google/rambi/irqroute.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mainboard/google/rambi/gpio.c b/src/mainboard/google/rambi/gpio.c index 235dc4821f..f1d9ef4d45 100644 --- a/src/mainboard/google/rambi/gpio.c +++ b/src/mainboard/google/rambi/gpio.c @@ -106,7 +106,7 @@ static const struct soc_gpio_map gpscore_gpio_map[] = { GPIO_FUNC1, /* S0-SC047 - PCLK_TPM */ GPIO_FUNC1, /* S0-SC048 - CLK_PCI_EC */ GPIO_FUNC1, /* S0-SC049 - LPC_CLKRUN_L */ - GPIO_DIRQ, /* S0-SC050 - IRQ_SERIRQ -- using for keyboard irq */ + GPIO_FUNC(1, PULL_UP, 10K), /* S0-SC050 - IRQ_SERIRQ */ GPIO_NC, /* S0-SC051 - SMB_SOC_DATA (XDP) */ GPIO_NC, /* S0-SC052 - SMB_SOC_CLK (XDP) */ GPIO_NC, /* S0-SC053 - SMB_SOC_ALERTB (NC) */ @@ -157,7 +157,7 @@ static const struct soc_gpio_map gpscore_gpio_map[] = { GPIO_NC, /* S0-SC098 - NC */ GPIO_NC, /* S0-SC099 - NC */ GPIO_NC, /* S0-SC100 - NC */ - GPIO_NC, /* S0-SC101 - NC*/ + GPIO_DIRQ, /* S0-SC101 - KBD_IRQ# */ GPIO_END }; diff --git a/src/mainboard/google/rambi/irqroute.h b/src/mainboard/google/rambi/irqroute.h index ddf6a76160..3e1d1a9428 100644 --- a/src/mainboard/google/rambi/irqroute.h +++ b/src/mainboard/google/rambi/irqroute.h @@ -53,4 +53,4 @@ /* Corresponding SCORE GPIO pins */ #define TPAD_IRQ_GPIO 55 #define TOUCH_IRQ_GPIO 72 -#define I8042_IRQ_GPIO 50 +#define I8042_IRQ_GPIO 101 |