diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2015-07-23 10:56:41 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-07-23 20:46:24 +0000 |
commit | 8cb7670b00ec16eab82bfd8dc66f2905eb8a16dc (patch) | |
tree | 2e65c8c11928b6622b22c598c268ed24e802e643 /board | |
parent | a14029e6725dfb4fdcced46969c9652426c059a1 (diff) | |
download | chrome-ec-8cb7670b00ec16eab82bfd8dc66f2905eb8a16dc.tar.gz |
glados: Add LED control GPIOs
LEDs should be under control of the mec1322 specialized LED control
unit, but it's not yet functional. In order to test LEDs for the
upcoming build, add GPIOs which can be toggled through the EC console or
ectool.
BUG=chrome-os-partner:40848
TEST=Verify `gpioset CHARGE_LED_1 1` turns LED red. Verify `gpioset
CHARGE_LED_2 1` turns LED green.
BRANCH=None
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I64b5109e10aeb6a1f38ae9410dc5205f4cc6a117
Reviewed-on: https://chromium-review.googlesource.com/287675
Reviewed-by: Alec Berg <alecaberg@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/glados/gpio.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/board/glados/gpio.inc b/board/glados/gpio.inc index ef38331675..c8dd407d12 100644 --- a/board/glados/gpio.inc +++ b/board/glados/gpio.inc @@ -93,6 +93,14 @@ GPIO(BOARD_ID2, PIN(10), GPIO_INPUT) GPIO(PVT_CS0, PIN(146), GPIO_ODR_HIGH) GPIO(SYS_RESET_L, PIN(121), GPIO_ODR_HIGH) +/* + * TODO(crosbug.com/p/40848): These LEDs should be under control of the mec1322 + * LED control unit. Remove these GPIO definitions once the LED control unit + * is functional. + */ +GPIO(CHARGE_LED_1, PIN(155), GPIO_OUT_LOW) +GPIO(CHARGE_LED_2, PIN(156), GPIO_OUT_LOW) + /* Alternate functions GPIO definitions */ /* GPIO162(UART_RX), GPIO165(UART_TX) */ |