diff options
Diffstat (limited to 'target/linux/ramips/dts/BR-6475ND.dts')
-rw-r--r-- | target/linux/ramips/dts/BR-6475ND.dts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/BR-6475ND.dts b/target/linux/ramips/dts/BR-6475ND.dts index 2ab2cba894..a93b8177be 100644 --- a/target/linux/ramips/dts/BR-6475ND.dts +++ b/target/linux/ramips/dts/BR-6475ND.dts @@ -2,6 +2,8 @@ #include "rt3883.dtsi" +#include <dt-bindings/input/input.h> + / { compatible = "BR-6475ND", "ralink,rt3883-soc"; model = "Edimax BR-6475nD"; @@ -15,14 +17,14 @@ reset { label = "reset"; gpios = <&gpio0 7 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; rfkill { label = "rfkill"; gpios = <&gpio0 9 1>; - linux,input-type = <5>; - linux,code = <0xf7>; + linux,input-type = <EV_SW>; + linux,code = <KEY_RFKILL>; }; }; |