1 Device-Tree bindings for input/gpio_keys_polled.c keyboard driver
4 - compatible = "gpio-keys-polled";
5 - poll-interval: Poll interval time in milliseconds
8 - autorepeat: Boolean, Enable auto repeat feature of Linux input
11 Each button (key) is represented as a sub-node of "gpio-keys-polled":
14 - gpios: OF device-tree gpio specification.
15 - label: Descriptive name of the key.
16 - linux,code: Keycode to emit.
18 Optional subnode-properties:
19 - linux,input-type: Specify event type this button/key generates.
20 If not specified defaults to <1> == EV_KEY.
21 - debounce-interval: Debouncing interval time in milliseconds.
22 If not specified defaults to 5.
23 - gpio-key,wakeup: Boolean, button can wake-up the system.
28 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
34 label = "GPIO Key UP";