diff options
Diffstat (limited to 'target/linux/ramips/dts/HLKRM04.dts')
-rw-r--r-- | target/linux/ramips/dts/HLKRM04.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/HLKRM04.dts b/target/linux/ramips/dts/HLKRM04.dts index 2f4e43548f..cbd860967a 100644 --- a/target/linux/ramips/dts/HLKRM04.dts +++ b/target/linux/ramips/dts/HLKRM04.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "HLKRM04", "ralink,rt5350-soc"; model = "HILINK HLK-RM04"; @@ -42,12 +44,12 @@ reset { label = "reset"; gpios = <&gpio0 0 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio0 14 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; }; |