diff options
Diffstat (limited to 'target/linux/ramips/dts/DIR-860L-B1.dts')
-rw-r--r-- | target/linux/ramips/dts/DIR-860L-B1.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/DIR-860L-B1.dts b/target/linux/ramips/dts/DIR-860L-B1.dts index 579df585c7..5154a4dedb 100644 --- a/target/linux/ramips/dts/DIR-860L-B1.dts +++ b/target/linux/ramips/dts/DIR-860L-B1.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "ralink,mt7621-eval-board", "ralink,mt7621-soc"; model = "D-Link DIR-860L B1"; @@ -48,13 +50,13 @@ reset { label = "reset"; gpios = <&gpio0 7 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio0 18 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; }; |