Angel Pons | 54c5472 | 2020-04-05 13:20:54 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 2 | |
| 3 | #ifndef BUTTERFLY_ONBOARD_H |
| 4 | #define BUTTERFLY_ONBOARD_H |
| 5 | |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 6 | /* uses 7-bit I2C address */ |
| 7 | /* must be set to edge triggered */ |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 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 |
Stefan Reinauer | d7bd4eb | 2013-02-11 11:11:36 -0800 | [diff] [blame] | 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 | #endif |