aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/wap-5813n.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/dts/wap-5813n.dts')
-rw-r--r--target/linux/brcm63xx/dts/wap-5813n.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/dts/wap-5813n.dts b/target/linux/brcm63xx/dts/wap-5813n.dts
index f7765d59cb..1c31c5713a 100644
--- a/target/linux/brcm63xx/dts/wap-5813n.dts
+++ b/target/linux/brcm63xx/dts/wap-5813n.dts
@@ -1,6 +1,8 @@
/dts-v1/;
-/include/ "bcm6368.dtsi"
+#include "bcm6368.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "Comtrend WAP-5813n";
@@ -16,17 +18,17 @@
wlan {
label = "wlan";
gpios = <&gpio1 0 1>;
- linux,code = <0xee>;
+ linux,code = <KEY_WLAN>;
};
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>;
};
};