diff options
Diffstat (limited to 'target/linux/ramips/dts/CY-SWR1100.dts')
-rw-r--r-- | target/linux/ramips/dts/CY-SWR1100.dts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/CY-SWR1100.dts b/target/linux/ramips/dts/CY-SWR1100.dts index 95827d5017..e772279525 100644 --- a/target/linux/ramips/dts/CY-SWR1100.dts +++ b/target/linux/ramips/dts/CY-SWR1100.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "CY-SWR1100", "ralink,rt3883-soc"; model = "Samsung CY-SWR1100"; @@ -64,13 +66,13 @@ reset { label = "reset"; gpios = <&gpio0 6 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio0 3 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; }; |