cros-ec-keyboard.dtsi 493 B

1234567891011121314151617181920212223
  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. #include <dt-bindings/input/input.h>
  8. #include <dt-bindings/input/cros-ec-keyboard.h>
  9. &cros_ec {
  10. keyboard_controller: keyboard-controller {
  11. compatible = "google,cros-ec-keyb";
  12. keypad,num-rows = <8>;
  13. keypad,num-columns = <13>;
  14. google,needs-ghost-filter;
  15. linux,keymap = <
  16. CROS_STD_TOP_ROW_KEYMAP
  17. CROS_STD_MAIN_KEYMAP
  18. >;
  19. };
  20. };