diff options
Diffstat (limited to 'src/arm/rk3188-radxarock.dts')
| -rw-r--r-- | src/arm/rk3188-radxarock.dts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/arm/rk3188-radxarock.dts b/src/arm/rk3188-radxarock.dts index 66fa87d1e2c2..1da46d138029 100644 --- a/src/arm/rk3188-radxarock.dts +++ b/src/arm/rk3188-radxarock.dts @@ -41,6 +41,7 @@ */ /dts-v1/; +#include <dt-bindings/input/input.h> #include "rk3188.dtsi" / { @@ -54,16 +55,14 @@ gpio-keys { compatible = "gpio-keys"; - #address-cells = <1>; - #size-cells = <0>; autorepeat; - button@0 { + power { gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; - linux,code = <116>; + linux,code = <KEY_POWER>; label = "GPIO Key Power"; linux,input-type = <1>; - gpio-key,wakeup = <1>; + wakeup-source; debounce-interval = <100>; }; }; |
