aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/nb4-ser-r0.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/brcm63xx/dts/nb4-ser-r0.dts')
-rw-r--r--target/linux/brcm63xx/dts/nb4-ser-r0.dts12
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/dts/nb4-ser-r0.dts b/target/linux/brcm63xx/dts/nb4-ser-r0.dts
index d7abbf1ab8..1a48b72822 100644
--- a/target/linux/brcm63xx/dts/nb4-ser-r0.dts
+++ b/target/linux/brcm63xx/dts/nb4-ser-r0.dts
@@ -1,6 +1,8 @@
/dts-v1/;
-/include/ "bcm6358.dtsi"
+#include "bcm6358.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "SFR Neuf Box 4 (Sercomm)";
@@ -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>;
};
};