diff options
Diffstat (limited to 'target/linux/ramips/dts/DCS-930.dts')
-rw-r--r-- | target/linux/ramips/dts/DCS-930.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DCS-930.dts b/target/linux/ramips/dts/DCS-930.dts index 373973c3df..d57682ec7b 100644 --- a/target/linux/ramips/dts/DCS-930.dts +++ b/target/linux/ramips/dts/DCS-930.dts @@ -2,6 +2,8 @@ #include "rt3050.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "DCS-930", "ralink,rt3050-soc"; model = "D-Link DCS-930"; @@ -76,13 +78,13 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x101>; + linux,code = <BTN_1>; }; reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; }; }; |