aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Scott <michael.scott@linaro.org>2014-10-16 20:41:30 -0700
committerRob Herring <robh@kernel.org>2014-11-14 18:13:20 -0600
commit602f8bbaf468d6a04529ce9217f377b2b0af8343 (patch)
tree96b88a580942179bd5dfbd264cc74e54f1e51dd4
parent0a8b117a40e7076235950776786b298551d4cbcc (diff)
arm: tegra: jetson: enable Tegra GPIO PI1 for input (recovery button)
Signed-off-by: Michael Scott <michael.scott@linaro.org>
-rw-r--r--board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h b/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h
index d338818a64..eebf5456c1 100644
--- a/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h
+++ b/board/nvidia/jetson-tk1/pinmux-config-jetson-tk1.h
@@ -27,6 +27,7 @@ static const struct tegra_gpio_config jetson_tk1_gpio_inits[] = {
GPIO_INIT(H6, IN),
GPIO_INIT(H7, OUT0),
GPIO_INIT(I0, OUT0),
+ GPIO_INIT(I1, IN),
GPIO_INIT(I2, OUT0),
GPIO_INIT(I4, OUT0),
GPIO_INIT(I5, IN),
@@ -151,7 +152,7 @@ static const struct pmux_pingrp_config jetson_tk1_pingrps[] = {
PINCFG(PH6, DEFAULT, UP, NORMAL, INPUT, DEFAULT, DEFAULT),
PINCFG(PH7, DEFAULT, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
PINCFG(PI0, DEFAULT, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
- PINCFG(PI1, RSVD1, DOWN, TRISTATE, OUTPUT, DEFAULT, DEFAULT),
+ PINCFG(PI1, DEFAULT, UP, TRISTATE, INPUT, DEFAULT, DEFAULT),
PINCFG(PI2, DEFAULT, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
PINCFG(PI3, SPI4, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),
PINCFG(PI4, DEFAULT, NORMAL, NORMAL, OUTPUT, DEFAULT, DEFAULT),