blob: f890eb3cf8fa94d1874087adea2b61f544531eed [file] [log] [blame]
Stefan Reinauerd7bd4eb2013-02-11 11:11:36 -08001/*
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 Reinauerd7bd4eb2013-02-11 11:11:36 -080014 */
15
16#ifndef BUTTERFLY_ONBOARD_H
17#define BUTTERFLY_ONBOARD_H
18
Stefan Reinauerd7bd4eb2013-02-11 11:11:36 -080019/* uses 7-bit I2C address */
20/* must be set to edge triggered */
Kyösti Mälkkib9cd5ec2015-04-24 16:05:58 +030021#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 Reinauerd7bd4eb2013-02-11 11:11:36 -080025
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