diff options
author | Andrew Turner <andrew@FreeBSD.org> | 2016-07-27 10:33:45 +0000 |
---|---|---|
committer | Andrew Turner <andrew@FreeBSD.org> | 2016-07-27 10:33:45 +0000 |
commit | c7716441be3a4a48aa7b7cdf69a15625c1cd8ef5 (patch) | |
tree | 2a59dacd09463974e72f84b0e05f237b0ba3f57b /Bindings/input/gpio-keys.txt | |
parent | 235ad806ee815395bce54dc1b0ce1c06cd29b44a (diff) |
Notes
Diffstat (limited to 'Bindings/input/gpio-keys.txt')
-rw-r--r-- | Bindings/input/gpio-keys.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Bindings/input/gpio-keys.txt b/Bindings/input/gpio-keys.txt index 21641236c095d..a94940481e55a 100644 --- a/Bindings/input/gpio-keys.txt +++ b/Bindings/input/gpio-keys.txt @@ -32,17 +32,17 @@ Optional subnode-properties: Example nodes: - gpio_keys { + gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; autorepeat; - button@21 { + + up { label = "GPIO Key UP"; linux,code = <103>; gpios = <&gpio1 0 1>; }; - button@22 { + + down { label = "GPIO Key DOWN"; linux,code = <108>; interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>; |