1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Keyboard dts fragment for devices that use cros-ec-keyboard
4 *
5 * Copyright (c) 2014 Google, Inc
6*/
7
8#include <dt-bindings/input/input.h>
9#include <dt-bindings/input/cros-ec-keyboard.h>
10
11&cros_ec {
12	keyboard_controller: keyboard-controller {
13		compatible = "google,cros-ec-keyb";
14		keypad,num-rows = <8>;
15		keypad,num-columns = <13>;
16		google,needs-ghost-filter;
17
18		linux,keymap = <
19			CROS_STD_TOP_ROW_KEYMAP
20			CROS_STD_MAIN_KEYMAP
21		>;
22	};
23};
24