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 LINK_ONBOARD_H
4 #define LINK_ONBOARD_H
5 
6 #define BOARD_LIGHTSENSOR_NAME "lightsensor"
7 #define BOARD_LIGHTSENSOR_I2C_ADDR 0x44
8 #define BOARD_LIGHTSENSOR_IRQ 0
9 
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
14 
15 #define BOARD_TOUCHSCREEN_NAME "touchscreen"
16 #define BOARD_TOUCHSCREEN_I2C_ADDR 0x4a
17 #define BOARD_TOUCHSCREEN_IRQ 22
18 
19 #define GPIO_REC_MODE 9
20 
21 #define GPIO_SPI_WP 57
22 
23 #endif