diff options
author | Vladimir Barinov <vladimir.barinov@cogentembedded.com> | 2016-09-02 18:24:58 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2016-09-08 09:35:17 +0200 |
commit | 0e3886a981e062740fbb89670f79fd57caed8137 (patch) | |
tree | 6d4d7f8f38c1dc1cf1e346548e53184c3350a1b3 /arch/arm64 | |
parent | arm64: dts: r8a7795: remove unnecessary cap-mmc-highspeed property (diff) | |
download | linux-0e3886a981e062740fbb89670f79fd57caed8137.tar.xz linux-0e3886a981e062740fbb89670f79fd57caed8137.zip |
arm64: dts: h3ulcb: enable GPIO keys
This supports GPIO keys on H3ULCB board
Signed-off-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts index 234b66a9e163..adf2b0e44dac 100644 --- a/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts +++ b/arch/arm64/boot/dts/renesas/r8a7795-h3ulcb.dts @@ -12,6 +12,7 @@ /dts-v1/; #include "r8a7795.dtsi" #include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> / { model = "Renesas H3ULCB board based on r8a7795"; @@ -31,6 +32,18 @@ /* first 128MB is reserved for secure area. */ reg = <0x0 0x48000000 0x0 0x38000000>; }; + + keyboard { + compatible = "gpio-keys"; + + key-1 { + linux,code = <KEY_1>; + label = "SW3"; + wakeup-source; + debounce-interval = <20>; + gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; + }; + }; }; &extal_clk { |