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