summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/parrot/onboard.h
blob: d564c5695c4339048f4deb3ea83d0a73b75642b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* SPDX-License-Identifier: GPL-2.0-only */

#ifndef PARROT_ONBOARD_H
#define PARROT_ONBOARD_H

#define BOARD_TRACKPAD_NAME         "trackpad"
#define BOARD_TRACKPAD_I2C_ADDR     0x67
#define BOARD_TRACKPAD_IRQ_DVT      16
#define BOARD_TRACKPAD_IRQ_PVT      20
#define BOARD_TRACKPAD_WAKE_GPIO    0x1c

#define GPIO_LID	15

/* GPIO68, active low. For Servo support
 * Treat as active high and let the caller invert if needed. */
#define GPIO_REC_MODE	68


#define GPIO_SPI_WP	70

#endif