Angel Pons | feedf23 | 2020-04-05 13:22:01 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 2 | |
| 3 | #ifndef LINK_ONBOARD_H |
| 4 | #define LINK_ONBOARD_H |
| 5 | |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 6 | #define BOARD_LIGHTSENSOR_NAME "lightsensor" |
| 7 | #define BOARD_LIGHTSENSOR_I2C_ADDR 0x44 |
| 8 | #define BOARD_LIGHTSENSOR_IRQ 0 |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 9 | |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 10 | #define BOARD_TRACKPAD_NAME "trackpad" |
| 11 | #define BOARD_TRACKPAD_I2C_ADDR 0x4b |
| 12 | #define BOARD_TRACKPAD_IRQ 20 |
| 13 | #define BOARD_TRACKPAD_WAKE_GPIO 0x1c |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 14 | |
Kyösti Mälkki | b9cd5ec | 2015-04-24 16:05:58 +0300 | [diff] [blame] | 15 | #define BOARD_TOUCHSCREEN_NAME "touchscreen" |
| 16 | #define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a |
| 17 | #define BOARD_TOUCHSCREEN_IRQ 22 |
CoolStar | 545d999 | 2023-06-28 13:10:50 -0700 | [diff] [blame] | 18 | #define BOARD_TOUCHSCREEN_WAKE_GPIO 0x1e |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 19 | |
Kyösti Mälkki | 4bcc275 | 2021-11-05 22:02:26 +0200 | [diff] [blame] | 20 | #define GPIO_REC_MODE 9 |
| 21 | |
| 22 | #define GPIO_SPI_WP 57 |
| 23 | |
CoolStar | 545d999 | 2023-06-28 13:10:50 -0700 | [diff] [blame] | 24 | #define GMBUS_PIN_VGADDC 2 |
| 25 | #define GMBUS_PIN_PANEL 3 |
| 26 | |
Stefan Reinauer | 49428d8 | 2013-02-21 15:48:37 -0800 | [diff] [blame] | 27 | #endif |