Patrick Georgi | ac95903 | 2020-05-05 22:49:26 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
T Michael Turney | 626a537 | 2019-10-15 07:40:30 -0700 | [diff] [blame] | 2 | |
| 3 | #ifndef _COREBOOT_SRC_MAINBOARD_GOOGLE_TROGDOR_BOARD_H_ |
| 4 | #define _COREBOOT_SRC_MAINBOARD_GOOGLE_TROGDOR_BOARD_H_ |
| 5 | |
Julius Werner | 561b8cc | 2020-02-06 16:44:40 -0800 | [diff] [blame^] | 6 | #include <boardid.h> |
T Michael Turney | 626a537 | 2019-10-15 07:40:30 -0700 | [diff] [blame] | 7 | #include <gpio.h> |
| 8 | #include <soc/gpio.h> |
| 9 | |
| 10 | #define GPIO_EC_IN_RW GPIO(118) |
| 11 | #define GPIO_AP_EC_INT GPIO(94) |
| 12 | #define GPIO_AP_SUSPEND GPIO(20) |
| 13 | #define GPIO_WP_STATE GPIO(42) |
| 14 | #define GPIO_H1_AP_INT GPIO(21) |
| 15 | |
| 16 | void setup_chromeos_gpios(void); |
| 17 | |
| 18 | #endif /* _COREBOOT_SRC_MAINBOARD_GOOGLE_TROGDOR_BOARD_H_ */ |