diff options
Diffstat (limited to 'target/linux/ramips/dts/SAP-G3200U3.dts')
-rw-r--r-- | target/linux/ramips/dts/SAP-G3200U3.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/SAP-G3200U3.dts b/target/linux/ramips/dts/SAP-G3200U3.dts index d6f2f30576..9069f7cff2 100644 --- a/target/linux/ramips/dts/SAP-G3200U3.dts +++ b/target/linux/ramips/dts/SAP-G3200U3.dts @@ -2,6 +2,8 @@ #include "mt7621.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "STORYLiNK SAP-G3200U3"; @@ -33,13 +35,13 @@ reset { label = "reset"; gpios = <&gpio0 16 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; rfkill { label = "rfkill"; gpios = <&gpio0 14 1>; - linux,code = <0xf7>; + linux,code = <KEY_RFKILL>; }; }; }; |