Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 1 | /* |
| 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 Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef LINK_ONBOARD_H |
| 17 | #define LINK_ONBOARD_H |
| 18 | |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 19 | #define BOARD_LIGHTSENSOR_NAME "lightsensor" |
| 20 | #define BOARD_LIGHTSENSOR_I2C_ADDR 0x44 |
| 21 | #define BOARD_LIGHTSENSOR_IRQ 0 |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 22 | |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 23 | #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 Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 27 | |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 28 | #define BOARD_TOUCHSCREEN_NAME "touchscreen" |
| 29 | #define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a |
| 30 | #define BOARD_TOUCHSCREEN_IRQ 22 |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 31 | |
| 32 | #endif |