|
|
@@ -2,6 +2,8 @@
|
|
|
|
|
|
#include "rt3050.dtsi"
|
|
|
|
|
|
+#include <dt-bindings/input/input.h>
|
|
|
+
|
|
|
/ {
|
|
|
compatible = "FONERA20N", "ralink,rt3052-soc";
|
|
|
model = "La Fonera 2.0N";
|
|
|
@@ -66,14 +68,14 @@
|
|
|
reset {
|
|
|
label = "reset";
|
|
|
gpios = <&gpio0 12 1>;
|
|
|
- linux,code = <0x198>;
|
|
|
+ linux,code = <KEY_RESTART>;
|
|
|
};
|
|
|
|
|
|
switch {
|
|
|
label = "switch";
|
|
|
gpios = <&gpio0 13 1>;
|
|
|
- linux,code = <0xf7>;
|
|
|
- linux,input-type = <5>; /* EV_SW */
|
|
|
+ linux,code = <KEY_RFKILL>;
|
|
|
+ linux,input-type = <EV_SW>;
|
|
|
};
|
|
|
};
|
|
|
};
|