diff options
Diffstat (limited to 'target/linux/ramips/dts/CS-QR10.dts')
-rw-r--r-- | target/linux/ramips/dts/CS-QR10.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/CS-QR10.dts b/target/linux/ramips/dts/CS-QR10.dts index c3cb711a05..bdd828fe8f 100644 --- a/target/linux/ramips/dts/CS-QR10.dts +++ b/target/linux/ramips/dts/CS-QR10.dts @@ -2,6 +2,8 @@ #include "mt7620a.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "ralink,mt7620a-soc"; model = "Planex CS-QR10"; @@ -35,13 +37,13 @@ s1 { label = "reset"; gpios = <&gpio1 1 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; s2 { label = "wps"; gpios = <&gpio1 3 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; }; |