summaryrefslogtreecommitdiff
path: root/board/nipperkin/gpio.inc
diff options
context:
space:
mode:
authorBhanu Prakash Maiya <bhanumaiya@google.com>2021-08-13 15:25:26 -0700
committerCommit Bot <commit-bot@chromium.org>2021-08-13 23:57:21 +0000
commit8c83a01a75414131a5b49aed464215a62d16cb02 (patch)
tree76906d2191ca9e52f7410c1a0c6049bd2e9bc852 /board/nipperkin/gpio.inc
parentbc0ace4efadf7eec7a0ca8eb42f187b9ce7ccdd3 (diff)
downloadchrome-ec-8c83a01a75414131a5b49aed464215a62d16cb02.tar.gz
nipperkin: Initial EC image
Create the initial EC image for the nipperkin variant by copying the guybrush reference board EC files into a new directory named for the variant. (Auto-Generated by create_initial_ec_image.sh version 1.5.0). BUG=b:194031783 BRANCH=None TEST=make BOARD=nipperkin Signed-off-by: Bhanu Prakash Maiya <bhanumaiya@google.com> Change-Id: Ie7b7207a7fee40b120e14199ad3d41e8c0f9d108 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3093489 Commit-Queue: Diana Z <dzigterman@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'board/nipperkin/gpio.inc')
-rw-r--r--board/nipperkin/gpio.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/board/nipperkin/gpio.inc b/board/nipperkin/gpio.inc
new file mode 100644
index 0000000000..c2db7a2a68
--- /dev/null
+++ b/board/nipperkin/gpio.inc
@@ -0,0 +1,13 @@
+/* -*- mode:c -*-
+ *
+ * Copyright 2021 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.
+ */
+
+/* Declare symbolic names for all the board GPIOs that we care about. */
+
+#include "base_gpio.inc"
+
+GPIO_INT(6AXIS_INT_L, PIN(A, 0), GPIO_INT_FALLING | GPIO_PULL_UP, motion_interrupt) /* 6 Axis IMU */
+GPIO_INT(TABLET_MODE, PIN(C, 1), GPIO_INT_BOTH, gmr_tablet_switch_isr) /* 360 Tablet Mode */