summaryrefslogtreecommitdiff
path: root/src/mainboard/google/asurada/gpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/asurada/gpio.h')
-rw-r--r--src/mainboard/google/asurada/gpio.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/gpio.h b/src/mainboard/google/asurada/gpio.h
new file mode 100644
index 0000000000..90de583f77
--- /dev/null
+++ b/src/mainboard/google/asurada/gpio.h
@@ -0,0 +1,20 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
+#ifndef __MAINBOARD_GOOGLE_ASURADA_GPIO_H__
+#define __MAINBOARD_GOOGLE_ASURADA_GPIO_H__
+
+#include <soc/gpio.h>
+
+/* AP_FLASH_WP */
+#define GPIO_WP GPIO(EINT14)
+#define GPIO_EC_AP_INT GPIO(EINT5)
+#define GPIO_EC_IN_RW GPIO(ANT_SEL8)
+#define GPIO_H1_AP_INT GPIO(ANT_SEL9)
+/* SD Card Detection */
+#define GPIO_SD_CD GPIO(EINT17)
+/* AP_EC_WARM_RST_REQ */
+#define GPIO_RESET GPIO(CAM_PDN2)
+
+void setup_chromeos_gpios(void);
+
+#endif