Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [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 | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 14 | */ |
| 15 | |
| 16 | #ifndef BUTTERFLY_ONBOARD_H |
| 17 | #define BUTTERFLY_ONBOARD_H |
| 18 | |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 19 | /* uses 7-bit I2C address */ |
| 20 | /* must be set to edge triggered */ |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 21 | #define BOARD_TRACKPAD_NAME "trackpad" |
| 22 | #define BOARD_TRACKPAD_I2C_ADDR 0x67 |
| 23 | #define BOARD_TRACKPAD_IRQ 22 /* PIRQG - 22 Edge triggered */ |
| 24 | #define BOARD_TRACKPAD_WAKE_GPIO 0x1b |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 25 | |
| 26 | /* defines for programming the MAC address */ |
| 27 | #define BUTTERFLY_NIC_VENDOR_ID 0x10EC |
| 28 | #define BUTTERFLY_NIC_DEVICE_ID 0x8136 |
| 29 | |
| 30 | /* 0x00: White LINK LED and Amber ACTIVE LED */ |
| 31 | #define BUTTERFLY_NIC_LED_MODE 0x00 |
| 32 | #endif |