1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef BUTTERFLY_ONBOARD_H
4 #define BUTTERFLY_ONBOARD_H
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
13 /* defines for programming the MAC address */
14 #define BUTTERFLY_NIC_VENDOR_ID 0x10EC
15 #define BUTTERFLY_NIC_DEVICE_ID 0x8136
17 /* 0x00: White LINK LED and Amber ACTIVE LED */
18 #define BUTTERFLY_NIC_LED_MODE 0x00
20 /* SPI write protect, active low */