coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
onboard.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef BUTTERFLY_ONBOARD_H
4 #define BUTTERFLY_ONBOARD_H
5 
6 /* uses 7-bit I2C address */
7 /* must be set to edge triggered */
8 #define BOARD_TRACKPAD_NAME "trackpad"
9 #define BOARD_TRACKPAD_I2C_ADDR 0x67
10 #define BOARD_TRACKPAD_IRQ 22 /* PIRQG - 22 Edge triggered */
11 #define BOARD_TRACKPAD_WAKE_GPIO 0x1b
12 
13 /* defines for programming the MAC address */
14 #define BUTTERFLY_NIC_VENDOR_ID 0x10EC
15 #define BUTTERFLY_NIC_DEVICE_ID 0x8136
16 
17 /* 0x00: White LINK LED and Amber ACTIVE LED */
18 #define BUTTERFLY_NIC_LED_MODE 0x00
19 
20 /* SPI write protect, active low */
21 #define WP_GPIO 6
22 
23 #endif