diff options
Diffstat (limited to 'target/linux/ramips/dts/NBG-419N2.dts')
-rw-r--r-- | target/linux/ramips/dts/NBG-419N2.dts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/ramips/dts/NBG-419N2.dts b/target/linux/ramips/dts/NBG-419N2.dts index 981b4e5872..8bb0cc5280 100644 --- a/target/linux/ramips/dts/NBG-419N2.dts +++ b/target/linux/ramips/dts/NBG-419N2.dts @@ -2,6 +2,8 @@ #include "rt3352.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "NBG-419N2", "ralink,rt3352-soc"; model = "ZyXEL NBG-419N v2"; @@ -70,18 +72,18 @@ reset { label = "reset"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; wps { label = "wps"; gpios = <&gpio0 0 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; rfkill { label = "rfkill"; - linux,input-type = <5>; + linux,input-type = <EV_SW>; gpios = <&gpio0 12 0>; - linux,code = <0xf7>; + linux,code = <KEY_RFKILL>; }; }; |