blob: 55c4744fa7e7a136bfc32af8d69015ed39036012 [file] [log] [blame]
Thomas Gleixnerd2912cb2019-06-04 10:11:33 +02001// SPDX-License-Identifier: GPL-2.0-only
Doug Andersoneba92952014-06-04 15:20:18 -07002/*
3 * Keyboard dts fragment for devices that use cros-ec-keyboard
4 *
5 * Copyright (c) 2014 Google, Inc
Doug Andersoneba92952014-06-04 15:20:18 -07006*/
7
8#include <dt-bindings/input/input.h>
Philip Chen497c3182021-02-22 21:13:21 -08009#include <dt-bindings/input/cros-ec-keyboard.h>
Doug Andersoneba92952014-06-04 15:20:18 -070010
11&cros_ec {
Philip Chen497c3182021-02-22 21:13:21 -080012 keyboard_controller: keyboard-controller {
Doug Andersoneba92952014-06-04 15:20:18 -070013 compatible = "google,cros-ec-keyb";
14 keypad,num-rows = <8>;
15 keypad,num-columns = <13>;
16 google,needs-ghost-filter;
17
18 linux,keymap = <
Philip Chen497c3182021-02-22 21:13:21 -080019 CROS_STD_TOP_ROW_KEYMAP
20 CROS_STD_MAIN_KEYMAP
Doug Andersoneba92952014-06-04 15:20:18 -070021 >;
22 };
23};