blob: f83ca06003eb6026e01c7b9ae65f14250c753b7f [file] [log] [blame]
T Michael Turney4ba64c92018-10-26 07:03:14 -07001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2018, The Linux Foundation. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 and
8 * only version 2 as published by the Free Software Foundation.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 */
15
16#ifndef __COREBOOT_SRC_MAINBOARD_GOOGLE_CHEZA_BOARD_H
17#define __COREBOOT_SRC_MAINBOARD_GOOGLE_CHEZA_BOARD_H
18
19#include <gpio.h>
20#include <soc/gpio.h>
21
22#define GPIO_EC_IN_RW GPIO(11)
23#define GPIO_AP_EC_INT GPIO(122)
24#define GPIO_AP_SUSPEND GPIO(126)
25#define GPIO_WP_STATE GPIO(128)
26#define GPIO_H1_AP_INT GPIO(129)
27
28void setup_chromeos_gpios(void);
29
30#endif /* ! __COREBOOT_SRC_MAINBOARD_GOOGLE_CHEZA_BOARD_H */