0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Keyboard dts fragment for devices that use cros-ec-keyboard
0004 *
0005 * Copyright (c) 2014 Google, Inc
0006 */
0007
0008 #include <dt-bindings/input/input.h>
0009 #include <dt-bindings/input/cros-ec-keyboard.h>
0010
0011 &cros_ec {
0012 keyboard_controller: keyboard-controller {
0013 compatible = "google,cros-ec-keyb";
0014 keypad,num-rows = <8>;
0015 keypad,num-columns = <13>;
0016 google,needs-ghost-filter;
0017
0018 linux,keymap = <
0019 CROS_STD_TOP_ROW_KEYMAP
0020 CROS_STD_MAIN_KEYMAP
0021 >;
0022 };
0023 };