aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/JHR-N926R.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/JHR-N926R.dts')
-rw-r--r--target/linux/ramips/dts/JHR-N926R.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/JHR-N926R.dts b/target/linux/ramips/dts/JHR-N926R.dts
index 1a63656ed9..e5b64c5b96 100644
--- a/target/linux/ramips/dts/JHR-N926R.dts
+++ b/target/linux/ramips/dts/JHR-N926R.dts
@@ -2,6 +2,8 @@
#include "rt3050.dtsi"
+#include <dt-bindings/input/input.h>
+
/ {
compatible = "JHR-N926R", "ralink,rt3052-soc";
model = "JCG JHR-N926R";
@@ -94,13 +96,13 @@
reset_wps {
label = "reset_wps";
gpios = <&gpio0 10 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wlan {
label = "wlan";
gpios = <&gpio0 1 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
};
};