summaryrefslogtreecommitdiff
path: root/board/drallion_ish/gpio.inc
blob: 93e6752e2bb728ece953650a25fa0c99c3de8fe1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* -*- mode:c -*-
 *
 * Copyright 2019 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, lsm6dsm_interrupt)
GPIO_INT(LID_OPEN,		PIN(5), GPIO_INT_BOTH, lid_interrupt)   /* LID_CL_NB_L */
GPIO_INT(TABLET_MODE_L,		PIN(6), GPIO_INT_BOTH, gmr_tablet_switch_isr) /* LID_CL_TAB_L */

GPIO(NB_MODE_L,			PIN(4), GPIO_OUT_LOW)

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

/*
 * SDA and SCL gpio must be set correctly in coreboot gpio
 */