blob: 7bc213b8e00df98be3a334fccc3a1ed508e4a98f [file] [log] [blame]
Stefan Reinauer49428d82013-02-21 15:48:37 -08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2011 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.
Stefan Reinauer49428d82013-02-21 15:48:37 -080014 */
15
16#ifndef LINK_ONBOARD_H
17#define LINK_ONBOARD_H
18
Kyösti Mälkkib9cd5ec2015-04-24 16:05:58 +030019#define BOARD_LIGHTSENSOR_NAME "lightsensor"
20#define BOARD_LIGHTSENSOR_I2C_ADDR 0x44
21#define BOARD_LIGHTSENSOR_IRQ 0
Stefan Reinauer49428d82013-02-21 15:48:37 -080022
Kyösti Mälkkib9cd5ec2015-04-24 16:05:58 +030023#define BOARD_TRACKPAD_NAME "trackpad"
24#define BOARD_TRACKPAD_I2C_ADDR 0x4b
25#define BOARD_TRACKPAD_IRQ 20
26#define BOARD_TRACKPAD_WAKE_GPIO 0x1c
Stefan Reinauer49428d82013-02-21 15:48:37 -080027
Kyösti Mälkkib9cd5ec2015-04-24 16:05:58 +030028#define BOARD_TOUCHSCREEN_NAME "touchscreen"
29#define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a
30#define BOARD_TOUCHSCREEN_IRQ 22
Stefan Reinauer49428d82013-02-21 15:48:37 -080031
32#endif