Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Doug Anderson | eba9295 | 2014-06-04 15:20:18 -0700 | [diff] [blame] | 2 | /* |
| 3 | * Keyboard dts fragment for devices that use cros-ec-keyboard |
| 4 | * |
| 5 | * Copyright (c) 2014 Google, Inc |
Doug Anderson | eba9295 | 2014-06-04 15:20:18 -0700 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #include <dt-bindings/input/input.h> |
Philip Chen | 497c318 | 2021-02-22 21:13:21 -0800 | [diff] [blame] | 9 | #include <dt-bindings/input/cros-ec-keyboard.h> |
Doug Anderson | eba9295 | 2014-06-04 15:20:18 -0700 | [diff] [blame] | 10 | |
| 11 | &cros_ec { |
Philip Chen | 497c318 | 2021-02-22 21:13:21 -0800 | [diff] [blame] | 12 | keyboard_controller: keyboard-controller { |
Doug Anderson | eba9295 | 2014-06-04 15:20:18 -0700 | [diff] [blame] | 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 = < |
Philip Chen | 497c318 | 2021-02-22 21:13:21 -0800 | [diff] [blame] | 19 | CROS_STD_TOP_ROW_KEYMAP |
| 20 | CROS_STD_MAIN_KEYMAP |
Doug Anderson | eba9295 | 2014-06-04 15:20:18 -0700 | [diff] [blame] | 21 | >; |
| 22 | }; |
| 23 | }; |