summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/FONERA20N.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/FONERA20N.dts')
-rw-r--r--target/linux/ramips/dts/FONERA20N.dts8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/FONERA20N.dts b/target/linux/ramips/dts/FONERA20N.dts
index b7eb91e..c409f9b 100644
--- a/target/linux/ramips/dts/FONERA20N.dts
+++ b/target/linux/ramips/dts/FONERA20N.dts
@@ -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>;
};
};
};