summaryrefslogtreecommitdiff
path: root/zephyr/projects/nissa/joxer/cbi.dts
diff options
context:
space:
mode:
Diffstat (limited to 'zephyr/projects/nissa/joxer/cbi.dts')
-rw-r--r--zephyr/projects/nissa/joxer/cbi.dts32
1 files changed, 32 insertions, 0 deletions
diff --git a/zephyr/projects/nissa/joxer/cbi.dts b/zephyr/projects/nissa/joxer/cbi.dts
new file mode 100644
index 0000000000..afbd125b32
--- /dev/null
+++ b/zephyr/projects/nissa/joxer/cbi.dts
@@ -0,0 +1,32 @@
+/* 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.
+ */
+
+/ {
+ nissa-fw-config {
+ compatible = "cros-ec,cbi-fw-config";
+
+ /*
+ * FW_CONFIG field to indicate which keyboard layout
+ * should be used.
+ */
+ keyboard {
+ enum-name = "FW_KB_LAYOUT";
+ start = <3>;
+ size = <2>;
+
+ layout-1 {
+ compatible = "cros-ec,cbi-fw-config-value";
+ enum-name = "FW_KB_LAYOUT_DEFAULT";
+ value = <0>;
+ default;
+ };
+ layout-2 {
+ compatible = "cros-ec,cbi-fw-config-value";
+ enum-name = "FW_KB_LAYOUT_US2";
+ value = <1>;
+ };
+ };
+ };
+};