diff options
Diffstat (limited to 'target/linux/ramips/dts/MINIEMBPLUG.dts')
-rw-r--r-- | target/linux/ramips/dts/MINIEMBPLUG.dts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/MINIEMBPLUG.dts b/target/linux/ramips/dts/MINIEMBPLUG.dts index eefac574c1..5f1cfe93cb 100644 --- a/target/linux/ramips/dts/MINIEMBPLUG.dts +++ b/target/linux/ramips/dts/MINIEMBPLUG.dts @@ -2,6 +2,8 @@ #include "rt5350.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "MINIEMBPLUG", "ralink,rt5350-soc"; model = "Omnima MiniEMBPlug"; @@ -29,25 +31,25 @@ wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; mode-one { label = "mode1"; gpios = <&gpio0 11 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; mode-two { label = "mode2"; gpios = <&gpio0 12 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; }; |