diff options
author | Edward Hill <ecgh@chromium.org> | 2020-04-08 20:49:15 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-04-10 06:59:16 +0000 |
commit | e120f024f3861a08fe4d77a81e3e1310d956cd8a (patch) | |
tree | 796ff003ca73f9ecde917685252fabb95d6a8a88 /board/morphius | |
parent | b6e5de831c1099019a17c9ccd32a3e2043aad02a (diff) | |
download | chrome-ec-e120f024f3861a08fe4d77a81e3e1310d956cd8a.tar.gz |
Zork: Use CONFIG_SCI_GPIO for all Zork boards.
BUG=b:147745443 b:146088361
BRANCH=none
TEST=EC_HOST_EVENT_AC_CONNECTED works on trembyle
Signed-off-by: Edward Hill <ecgh@chromium.org>
Change-Id: I7128744b7538e1d6743286a2d24574e7ac257921
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2142547
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Paul Ma <magf@bitland.corp-partner.google.com>
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
Tested-by: Denis Brockus <dbrockus@chromium.org>
Diffstat (limited to 'board/morphius')
-rw-r--r-- | board/morphius/board.h | 1 | ||||
-rw-r--r-- | board/morphius/gpio.inc | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/board/morphius/board.h b/board/morphius/board.h index b1ce3e439a..74e3fbe65e 100644 --- a/board/morphius/board.h +++ b/board/morphius/board.h @@ -46,6 +46,7 @@ /* GPIO mapping from board specific name to EC common name. */ #define CONFIG_BATTERY_PRESENT_GPIO GPIO_EC_BATT_PRES_ODL +#define CONFIG_SCI_GPIO GPIO_EC_FCH_SCI_ODL #define GPIO_AC_PRESENT GPIO_ACOK_OD #define GPIO_CPU_PROCHOT GPIO_PROCHOT_ODL #define GPIO_EC_INT_L GPIO_EC_AP_INT_ODL diff --git a/board/morphius/gpio.inc b/board/morphius/gpio.inc index 22b6ca3658..25ced04086 100644 --- a/board/morphius/gpio.inc +++ b/board/morphius/gpio.inc @@ -42,6 +42,7 @@ GPIO(EC_FCH_PWR_BTN_L, PIN(6, 2), GPIO_OUT_HIGH) /* Power Button to SOC */ GPIO(EC_FCH_RSMRST_L, PIN(A, 1), GPIO_OUT_LOW) /* RSMRST# to SOC */ GPIO(EC_FCH_PWROK, PIN(D, 3), GPIO_OUT_LOW) /* Power OK to SOC */ GPIO(EC_FCH_WAKE_L, PIN(0, 3), GPIO_OUT_HIGH) /* Wake SOC */ +GPIO(EC_FCH_SCI_ODL, PIN(7, 6), GPIO_ODR_HIGH) /* SCI to SOC */ GPIO(EC_SYS_RST_L, PIN(C, 7), GPIO_ODR_HIGH) /* Cold Reset to SOC */ GPIO(USB_C0_TCPC_RST_L, PIN(E, 1), GPIO_OUT_HIGH) /* C0 TCPC Reset */ GPIO(USB_C1_TCPC_RST_L, PIN(F, 0), GPIO_OUT_HIGH) /* C1 TCPC Reset */ @@ -51,6 +52,8 @@ GPIO(DP1_HPD, PIN(F, 4), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */ GPIO(DP2_HPD, PIN(C, 1), GPIO_OUT_LOW) /* C1 DP Hotplug Detect */ GPIO(EC_PS2_RESET, PIN(3, 2), GPIO_OUT_LOW) /* Trackpoint reset pin */ +UNIMPLEMENTED(PCH_SMI_L) + GPIO(LED_FULL_L, PIN(6, 0), GPIO_OUT_HIGH) GPIO(LED_CHRG_L, PIN(C, 0), GPIO_OUT_HIGH) |