summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kukui/gpio.h
blob: f03f0f93cba67800a863cd3f91bf18c3a6b80928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: GPL-2.0-only */
/* This file is part of the coreboot project. */

#ifndef __MAINBOARD_GOOGLE_KUKUI_GPIO_H__
#define __MAINBOARD_GOOGLE_KUKUI_GPIO_H__

#include <soc/gpio.h>

#define GPIO_WP		GPIO(PERIPHERAL_EN0)
#define EC_IRQ		GPIO(PERIPHERAL_EN1)
#define EC_IN_RW	GPIO(PERIPHERAL_EN14)
#define CR50_IRQ	GPIO(PERIPHERAL_EN3)
#define GPIO_RESET	GPIO(PERIPHERAL_EN8)
#define GPIO_EN_SPK_AMP	GPIO(PERIPHERAL_EN12)

void setup_chromeos_gpios(void);

#endif