aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/NBG-419N.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/NBG-419N.dts')
-rw-r--r--target/linux/ramips/dts/NBG-419N.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/NBG-419N.dts b/target/linux/ramips/dts/NBG-419N.dts
index 59ab665da7..e19ce34b5c 100644
--- a/target/linux/ramips/dts/NBG-419N.dts
+++ b/target/linux/ramips/dts/NBG-419N.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "NBG-419N", "ralink,rt3052-soc";
model = "ZyXEL NBG-419N";
@@ -61,13 +63,13 @@
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>;
};
};
};