summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/dts/p870hw-51a-v2.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/dts/p870hw-51a-v2.dts')
-rw-r--r--target/linux/brcm63xx/dts/p870hw-51a-v2.dts8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/dts/p870hw-51a-v2.dts b/target/linux/brcm63xx/dts/p870hw-51a-v2.dts
index 7c9c65c..606b896 100644
--- a/target/linux/brcm63xx/dts/p870hw-51a-v2.dts
+++ b/target/linux/brcm63xx/dts/p870hw-51a-v2.dts
@@ -1,6 +1,8 @@
/dts-v1/;
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Zyxel P870HW-51a v2";
@@ -16,12 +18,12 @@
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio1 3 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};