| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef ONBOARD_H |
| 4 | #define ONBOARD_H |
| 5 | |
| 6 | #include <mainboard/google/rambi/irqroute.h> |
| 7 | |
| 8 | #ifndef __ACPI__ |
| 9 | void lan_init(void); |
| 10 | #endif |
| 11 | |
| 12 | /* defines for programming the MAC address */ |
| 13 | #define NINJA_NIC_VENDOR_ID 0x10EC |
| 14 | #define NINJA_NIC_DEVICE_ID 0x8168 |
| 15 | |
| 16 | /* 0x00: White LINK LED and Amber ACTIVE LED */ |
| 17 | #define NINJA_NIC_LED_MODE 0x00 |
| 18 | |
| 19 | /* PCH wake signal from EC. */ |
| 20 | #define BOARD_PCH_WAKE_GPIO ACPI_ENABLE_WAKE_SUS_GPIO(0) |
| 21 | |
| 22 | #define BOARD_CODEC_IRQ GPIO_S5_DED_IRQ(CODEC_IRQ_OFFSET) |
| 23 | |
| 24 | #endif |