summaryrefslogtreecommitdiff
path: root/board/bds/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/bds/gpio.inc')
-rw-r--r--board/bds/gpio.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/board/bds/gpio.inc b/board/bds/gpio.inc
new file mode 100644
index 0000000000..f22d0d0d7a
--- /dev/null
+++ b/board/bds/gpio.inc
@@ -0,0 +1,17 @@
+/* -*- mode:c -*-
+ *
+ * Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/* Recovery signal from DOWN button */
+GPIO(RECOVERY_L, D, 1, GPIO_PULL_UP, NULL)
+GPIO(DEBUG_LED, A, 7, GPIO_OUT_LOW, NULL)
+
+/*
+ * Signals which aren't implemented on BDS but we'll emulate anyway, to
+ * make it more convenient to debug other code.
+ */
+UNIMPLEMENTED(WP) /* Write protect input */
+UNIMPLEMENTED(ENTERING_RW) /* EC entering RW code */