summaryrefslogtreecommitdiff
path: root/zephyr/shim/chip/it8xxx2/include/gpio_it8xxx2.h
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/shim/chip/it8xxx2/include/gpio_it8xxx2.h')
-rw-r--r--zephyr/shim/chip/it8xxx2/include/gpio_it8xxx2.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/zephyr/shim/chip/it8xxx2/include/gpio_it8xxx2.h b/zephyr/shim/chip/it8xxx2/include/gpio_it8xxx2.h
new file mode 100644
index 0000000000..7abf9f560a
--- /dev/null
+++ b/zephyr/shim/chip/it8xxx2/include/gpio_it8xxx2.h
@@ -0,0 +1,28 @@
+/* Copyright 2023 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __CROS_EC_GPIO_IT8XXX2_H
+#define __CROS_EC_GPIO_IT8XXX2_H
+
+enum gpio_port_to_node {
+ GPIO_A,
+ GPIO_B,
+ GPIO_C,
+ GPIO_D,
+ GPIO_E,
+ GPIO_F,
+ GPIO_G,
+ GPIO_H,
+ GPIO_I,
+ GPIO_J,
+ GPIO_K,
+ GPIO_L,
+ GPIO_M,
+ GPIO_KSI = 50,
+ GPIO_KSOH = 51,
+ GPIO_KSOL = 52
+};
+
+#endif /* __CROS_EC_GPIO_IT8XXX2_H */