Matt DeVillier | 1b25f1b | 2018-09-14 21:39:00 -0500 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2014 Google Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License as |
| 8 | * published by the Free Software Foundation; version 2 of |
| 9 | * the License. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | */ |
| 16 | |
| 17 | #ifndef ONBOARD_H |
| 18 | #define ONBOARD_H |
| 19 | |
| 20 | /* defines for programming the MAC address */ |
| 21 | #define BUDDY_NIC_VENDOR_ID 0x10EC |
| 22 | #define BUDDY_NIC_DEVICE_ID 0x8168 |
| 23 | |
| 24 | /* 0x00: White LINK LED and Amber ACTIVE LED */ |
| 25 | #define BUDDY_NIC_LED_MODE 0x00 |
| 26 | |
| 27 | #define BOARD_TOUCHSCREEN_NAME "touchscreen" |
| 28 | #define BOARD_TOUCHSCREEN_IRQ 38 /* PIRQW */ |
| 29 | #define BOARD_TOUCHSCREEN_WAKE_GPIO 25 /* GPIO25 */ |
| 30 | #define BOARD_TOUCHSCREEN_I2C_BUS 2 /* I2C1 */ |
| 31 | #define BOARD_TOUCHSCREEN_I2C_ADDR 0x10 |
| 32 | |
| 33 | /* NIC wake is GPIO 8 */ |
| 34 | #define BUDDY_NIC_WAKE_GPIO 8 |
| 35 | |
| 36 | /* WLAN wake is GPIO 10 */ |
| 37 | #define BOARD_WLAN_WAKE_GPIO 10 |
| 38 | #define BOARD_PP3300_CODEC_GPIO 45 /* GPIO45 */ |
| 39 | #define BOARD_WLAN_DISABLE_GPIO 46 /* GPIO46 */ |
| 40 | |
| 41 | #endif |