summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYB.Ha <ybha@samsung.com>2018-02-01 15:39:53 +0900
committerchrome-bot <chrome-bot@chromium.org>2018-02-01 21:29:42 -0800
commitc721ad9162b9fe20ce872c1d28cd8b1ad60e2c25 (patch)
treefb966eb9026321d3c1b7249fa9e716f4505433df
parent5bfeef6bb36f7fe450f87c14e7d2791e0a33406a (diff)
downloadchrome-ec-c721ad9162b9fe20ce872c1d28cd8b1ad60e2c25.tar.gz
nautilus : clean up gpios
clean up unused gpios BUG=none BRANCH=none TEST=build/flash nautilus Change-Id: Ifdebc885d7f81b560b27bfed5abb93d8976e9641 Signed-off-by: YB.Ha <ybha@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/897305 Commit-Ready: YongBeum Ha <ybha@samsung.com> Tested-by: YongBeum Ha <ybha@samsung.com> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r--board/nautilus/board.h1
-rw-r--r--board/nautilus/gpio.inc10
2 files changed, 4 insertions, 7 deletions
diff --git a/board/nautilus/board.h b/board/nautilus/board.h
index f319f4c420..b64973fc20 100644
--- a/board/nautilus/board.h
+++ b/board/nautilus/board.h
@@ -47,7 +47,6 @@
(EC_WIRELESS_SWITCH_WLAN | EC_WIRELESS_SWITCH_WLAN_POWER)
#define WIRELESS_GPIO_WLAN GPIO_WLAN_OFF_L
#define WIRELESS_GPIO_WLAN_POWER GPIO_PP3300_DX_WLAN
-#define WIRELESS_GPIO_WWAN GPIO_PP3300_DX_LTE
/* EC console commands */
#define CONFIG_CMD_ACCELS
diff --git a/board/nautilus/gpio.inc b/board/nautilus/gpio.inc
index a5565cc388..f10302f3f2 100644
--- a/board/nautilus/gpio.inc
+++ b/board/nautilus/gpio.inc
@@ -55,16 +55,14 @@ GPIO(PCH_SLP_S0_L, PIN(7, 5), GPIO_INPUT)
#endif
/* NC pins */
+GPIO(GPIO02_NC, PIN(0, 2), GPIO_INPUT | GPIO_PULL_UP)
+GPIO(GPIO71_NC, PIN(7, 1), GPIO_INPUT | GPIO_PULL_UP)
+GPIO(GPIO80_NC, PIN(8, 0), GPIO_INPUT | GPIO_PULL_UP)
GPIO(GPIOD2_NC, PIN(D, 2), GPIO_INPUT | GPIO_PULL_UP)
-/* TODO(b/35585396): Make use of these GPIOs */
+/* Sensor Power */
GPIO(PP1800_DX_SENSOR, PIN(E, 7), GPIO_OUTPUT)
-GPIO(PP3300_DX_LTE, PIN(0, 2), GPIO_OUT_LOW)
-GPIO(LTE_WAKE_L, PIN(7, 1), GPIO_INPUT)
-GPIO(LTE_OFF_ODL, PIN(8, 0), GPIO_ODR_LOW)
-/* end of TODO */
-
/* I2C pins - these will be reconfigured for alternate function below */
GPIO(I2C0_0_SCL, PIN(B, 5), GPIO_INPUT) /* EC_I2C0_0_USBC_3V3_SCL */
GPIO(I2C0_0_SDA, PIN(B, 4), GPIO_INPUT) /* EC_I2C0_0_USBC_3V3_SDA */