Stefan Reinauer | 155e9b5 | 2012-04-27 23:19:58 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2011 The ChromiumOS Authors. All rights reserved. |
| 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 | 155e9b5 | 2012-04-27 23:19:58 +0200 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef LUMPY_ONBOARD_H |
| 17 | #define LUMPY_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 20 |
Stefan Reinauer | 155e9b5 | 2012-04-27 23:19:58 +0200 | [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 0x67 |
| 25 | #define BOARD_TRACKPAD_IRQ 21 |
| 26 | #define BOARD_TRACKPAD_WAKE_GPIO 0x1b |
Stefan Reinauer | 155e9b5 | 2012-04-27 23:19:58 +0200 | [diff] [blame] | 27 | |
| 28 | #endif |