blob: 9e1dc8bf69ae549ff47aa6075f16a7b239e94f78 [file] [log] [blame]
Matt DeVillierc12e5ae2016-11-27 02:19:02 -06001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2012 Google Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#ifndef ONBOARD_H
17#define ONBOARD_H
18
19#define BOARD_LIGHTSENSOR_NAME "lightsensor"
20#define BOARD_LIGHTSENSOR_IRQ 51 /* PIRQT */
21#define BOARD_LIGHTSENSOR_I2C_BUS 2 /* I2C1 */
22#define BOARD_LIGHTSENSOR_I2C_ADDR 0x44
23
24#define BOARD_TRACKPAD_NAME "trackpad"
25#define BOARD_TRACKPAD_IRQ 37 /* PIRQV */
26#define BOARD_TRACKPAD_WAKE_GPIO 12 /* GPIO12 */
27#define BOARD_TRACKPAD_I2C_BUS 1 /* I2C0 */
28#define BOARD_TRACKPAD_I2C_ADDR 0x67
29
30#define BOARD_TOUCHSCREEN_NAME "touchscreen"
31#define BOARD_TOUCHSCREEN_IRQ 38 /* PIRQW */
32#define BOARD_TOUCHSCREEN_WAKE_GPIO 25 /* GPIO25 */
33#define BOARD_TOUCHSCREEN_I2C_BUS 2 /* I2C1 */
34#define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a
35
36#define PEPPY_BOARD_VERSION_PROTO 0
37#define PEPPY_BOARD_VERSION_EVT 1
38
39#endif