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 ONBOARD_H
4 #define ONBOARD_H
5 
6 /* defines for programming the MAC address */
7 #define BUDDY_NIC_VENDOR_ID 0x10EC
8 #define BUDDY_NIC_DEVICE_ID 0x8168
9 
10 /* 0x00: White LINK LED and Amber ACTIVE LED */
11 #define BUDDY_NIC_LED_MODE 0x00
12 
13 #define BOARD_TOUCHSCREEN_NAME "touchscreen"
14 #define BOARD_TOUCHSCREEN_IRQ 38 /* PIRQW */
15 #define BOARD_TOUCHSCREEN_WAKE_GPIO 25 /* GPIO25 */
16 #define BOARD_TOUCHSCREEN_I2C_BUS 2 /* I2C1 */
17 #define BOARD_TOUCHSCREEN_I2C_ADDR 0x10
18 
19 /* NIC wake is GPIO 8 */
20 #define BUDDY_NIC_WAKE_GPIO 8
21 
22 /* WLAN wake is GPIO 10 */
23 #define BOARD_WLAN_WAKE_GPIO 10
24 #define BOARD_PP3300_CODEC_GPIO 45 /* GPIO45 */
25 #define BOARD_WLAN_DISABLE_GPIO 46 /* GPIO46 */
26 
27 #endif