summaryrefslogtreecommitdiff
path: root/board/arcada_ish/gpio.inc
blob: 7660d2c9ff64bf71a7bfe0997265f5c95a3afa58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* -*- mode:c -*-
 *
 * Copyright 2018 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_INT(ACCEL_GYRO_INT_L,	PIN(0), GPIO_INT_FALLING | GPIO_SEL_1P8V, lsm6dsm_interrupt)
GPIO_INT(LID_OPEN,              PIN(5), GPIO_INT_BOTH, lid_interrupt) /* LID_CL_NB_L */

GPIO(NB_MODE_L,		PIN(4), GPIO_OUT_LOW)
GPIO(LID_CL_TAB_L,	PIN(6), GPIO_INPUT)

/*
 * We don't have a ENTERING_RW signal wired to the cr50 but common code needs
 * it to be defined.
 */
UNIMPLEMENTED(ENTERING_RW)