diff options
Diffstat (limited to 'zephyr/projects/volteer')
-rw-r--r-- | zephyr/projects/volteer/volteer/keyboard.dts | 28 | ||||
-rw-r--r-- | zephyr/projects/volteer/volteer/zmake.yaml | 3 |
2 files changed, 30 insertions, 1 deletions
diff --git a/zephyr/projects/volteer/volteer/keyboard.dts b/zephyr/projects/volteer/volteer/keyboard.dts new file mode 100644 index 0000000000..e9b5cdf0a1 --- /dev/null +++ b/zephyr/projects/volteer/volteer/keyboard.dts @@ -0,0 +1,28 @@ +/* Copyright 2021 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/ { + cros-keyscan { + compatible = "cros-keyscan"; + + actual-key-mask = < + 0x14 /* C0 */ + 0xff /* C1 */ + 0xff /* C2 */ + 0xff /* C3 */ + 0xff /* C4 */ + 0xf5 /* C5 */ + 0xff /* C6 */ + 0xa4 /* C7 */ + 0xff /* C8 */ + 0xfe /* C9 */ + 0x55 /* C10 */ + 0xfa /* C11 */ + 0xca /* C12 */ + 0 /* C13 - for keypad */ + 0 /* C14 - for keypad */ + >; + }; +}; diff --git a/zephyr/projects/volteer/volteer/zmake.yaml b/zephyr/projects/volteer/volteer/zmake.yaml index ace5404e29..031de05cca 100644 --- a/zephyr/projects/volteer/volteer/zmake.yaml +++ b/zephyr/projects/volteer/volteer/zmake.yaml @@ -6,8 +6,9 @@ board: volteer dts-overlays: - bb_retimer.dts - cbi_eeprom.dts - - gpio.dts - fan.dts + - gpio.dts + - keyboard.dts - motionsense.dts - pwm.dts supported-zephyr-versions: |