| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef __MAINBOARD_GPIO_H__ |
| 4 | #define __MAINBOARD_GPIO_H__ |
| 5 | |
| 6 | #include <soc/gpe.h> |
| 7 | #include <soc/gpio.h> |
| 8 | |
| 9 | /* EC in RW */ |
| 10 | #define GPIO_EC_IN_RW GPP_C6 |
| 11 | |
| 12 | /* BIOS Flash Write Protect */ |
| 13 | #define GPIO_PCH_WP GPP_C23 |
| 14 | |
| 15 | /* Memory configuration board straps */ |
| 16 | #define GPIO_MEM_CONFIG_0 GPP_C12 |
| 17 | #define GPIO_MEM_CONFIG_1 GPP_C13 |
| 18 | #define GPIO_MEM_CONFIG_2 GPP_C14 |
| 19 | #define GPIO_MEM_CONFIG_3 GPP_C15 |
| 20 | #define GPIO_MEM_CONFIG_4 GPP_E15 |
| 21 | |
| 22 | /* EC wake is LAN_WAKE# which is a special DeepSX wake pin */ |
| 23 | #define GPE_EC_WAKE GPE0_LAN_WAK |
| 24 | |
| 25 | /* eSPI virtual wire reporting */ |
| 26 | #define EC_SCI_GPI GPE0_ESPI |
| 27 | |
| 28 | #endif /* __MAINBOARD_GPIO_H__ */ |