summaryrefslogtreecommitdiff
path: root/board/host/gpio.inc
diff options
context:
space:
mode:
Diffstat (limited to 'board/host/gpio.inc')
-rw-r--r--board/host/gpio.inc17
1 files changed, 17 insertions, 0 deletions
diff --git a/board/host/gpio.inc b/board/host/gpio.inc
new file mode 100644
index 0000000000..578e97c066
--- /dev/null
+++ b/board/host/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.
+ */
+
+GPIO(EC_INT, 0, 0, 0, NULL)
+GPIO(LID_OPEN, 0, 0, GPIO_INT_BOTH, lid_interrupt)
+GPIO(POWER_BUTTON_L, 0, 0, GPIO_INT_BOTH, power_button_interrupt)
+GPIO(WP, 0, 0, 0, NULL)
+GPIO(ENTERING_RW, 0, 0, 0, NULL)
+GPIO(AC_PRESENT, 0, 0, GPIO_INT_BOTH, extpower_interrupt)
+GPIO(PCH_BKLTEN, 0, 0, 0, NULL)
+GPIO(ENABLE_BACKLIGHT, 0, 0, 0, NULL)
+GPIO(BUTTON_VOLUME_DOWN_L, 0, 0, GPIO_INT_BOTH, button_interrupt)
+GPIO(BUTTON_VOLUME_UP, 0, 0, GPIO_INT_BOTH, button_interrupt)