diff options
-rw-r--r-- | board/samus/board.c | 7 | ||||
-rw-r--r-- | board/samus/board.h | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/board/samus/board.c b/board/samus/board.c index 7aca8afc10..68f3f787a7 100644 --- a/board/samus/board.c +++ b/board/samus/board.c @@ -17,6 +17,7 @@ #include "gpio.h" #include "host_command.h" #include "i2c.h" +#include "jtag.h" #include "keyboard_scan.h" #include "lid_switch.h" #include "peci.h" @@ -30,6 +31,7 @@ #include "temp_sensor_chip.h" #include "timer.h" #include "thermal.h" +#include "uart.h" #include "util.h" /* GPIO signal list. Must match order from enum gpio_signal. */ @@ -67,6 +69,11 @@ const struct gpio_info gpio_list[] = { backlight_interrupt}, {"CAPSENSE_INT_L", LM4_GPIO_N, (1<<0), GPIO_INT_FALLING, capsense_interrupt}, + {"JTAG_TCK", LM4_GPIO_C, (1<<0), GPIO_DEFAULT, + jtag_interrupt}, + {"UART0_RX", LM4_GPIO_A, (1<<0), GPIO_PULL_UP| + GPIO_INT_BOTH_DSLEEP, + uart_deepsleep_interrupt}, /* Other inputs */ {"BOARD_VERSION1", LM4_GPIO_Q, (1<<5), GPIO_INPUT, NULL}, diff --git a/board/samus/board.h b/board/samus/board.h index c4c04df347..ed0aa4005a 100644 --- a/board/samus/board.h +++ b/board/samus/board.h @@ -24,6 +24,7 @@ #define CONFIG_KEYBOARD_BOARD_CONFIG #define CONFIG_KEYBOARD_PROTOCOL_8042 #define CONFIG_LED_DRIVER_DS2413 +#define CONFIG_LOW_POWER_IDLE #define CONFIG_ONEWIRE #define CONFIG_POWER_BUTTON #define CONFIG_POWER_BUTTON_X86 @@ -97,6 +98,8 @@ enum gpio_signal { GPIO_WP_L, /* Write protect input */ GPIO_PCH_BL_EN, /* PCH backlight input */ GPIO_CAPSENSE_INT_L, /* Capsense interrupt */ + GPIO_JTAG_TCK, /* JTAG clock input */ + GPIO_UART0_RX, /* UART0 RX input */ /* Other inputs */ GPIO_BOARD_VERSION1, /* Board version stuffing resistor 1 */ |