aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/nb4-fxc-r1.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/dts/nb4-fxc-r1.dts')
-rw-r--r--target/linux/brcm63xx/dts/nb4-fxc-r1.dts12
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts
index 0e9cc24986..65f26c7281 100644
--- a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts
+++ b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts
@@ -1,6 +1,8 @@
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "SFR Neuf Box 4 (Foxconn)";
@@ -36,22 +38,22 @@
service {
label = "service";
gpios = <&gpio0 27 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
clip {
label = "clip";
gpios = <&gpio0 31 1>;
- linux,code = <0x101>;
+ linux,code = <BTN_1>;
};
reset {
label = "reset";
gpios = <&gpio1 2 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio1 5 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};