summaryrefslogtreecommitdiff
path: root/zephyr/projects/minimal/npcx9.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/minimal/npcx9.dts')
-rw-r--r--zephyr/projects/minimal/npcx9.dts28
1 files changed, 28 insertions, 0 deletions
diff --git a/zephyr/projects/minimal/npcx9.dts b/zephyr/projects/minimal/npcx9.dts
new file mode 100644
index 0000000000..3a9f3b26e4
--- /dev/null
+++ b/zephyr/projects/minimal/npcx9.dts
@@ -0,0 +1,28 @@
+/* Copyright 2022 The ChromiumOS Authors
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+/ {
+ aliases {
+ gpio-wp = &ec_wp_l;
+ };
+
+ named-gpios {
+ compatible = "named-gpios";
+
+ ec_wp_l: write-protect {
+ gpios = <&gpioa 0 GPIO_INPUT>;
+ };
+ /* unimplemented GPIOs */
+ entering-rw {
+ enum-name = "GPIO_ENTERING_RW";
+ };
+ };
+};
+
+&cros_kb_raw {
+ status = "okay";
+ pinctrl-0 = <>;
+ pinctrl-names = "default";
+};