cpu/x86/smm/pci_resource_store: Store DEV/VEN ID
[coreboot2.git] / src / mainboard / google / beltino / onboard.h
blob8bd21ce3d59e013cb2ad22ca900ec6dc6ab6aa02
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __MAINBOARD_ONBOARD_H
4 #define __MAINBOARD_ONBOARD_H
6 /* defines for programming the MAC address */
7 #define NIC_VENDOR_ID 0x10EC
8 #define NIC_DEVICE_ID 0x8168
10 /* 0x00: White LINK LED and Amber ACTIVE LED */
11 #define NIC_LED_MODE 0x00
13 /* NIC wake is GPIO 8 */
14 #define NIC_WAKE_GPIO 8
16 /* WLAN wake is GPIO 10 */
17 #define WLAN_WAKE_GPIO 10
19 /* Recovery: GPIO12 = RECOVERY_L, active low */
20 #define GPIO_REC_MODE 12
22 /* Write Protect: GPIO58 = GPIO_SPI_WP, active high */
23 #define GPIO_SPI_WP 58
25 /* IT8772F defs */
26 #define IT8772F_BASE 0x2e
27 #define IT8772F_SERIAL_DEV PNP_DEV(IT8772F_BASE, IT8772F_SP1)
28 #define IT8772F_GPIO_DEV PNP_DEV(IT8772F_BASE, IT8772F_GPIO)
29 #define IT8772F_SUPERIO_DEV PNP_DEV(IT8772F_BASE, 0)
31 #ifndef __ACPI__
32 void lan_init(void);
34 void set_power_led(int state);
36 enum {
37 LED_OFF = 0,
38 LED_ON,
39 LED_BLINK,
41 #endif
43 #endif /* __MAINBOARD_ONBOARD_H */