summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/nb6-ser-r0.dts
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-07-16 11:15:02 +0000
committerJonas Gorski <jogo@openwrt.org>2015-07-16 11:15:02 +0000
commit4981c7da0d8e4a7c882f0665f8857cfd56e7b797 (patch)
tree35a0c6443a2150a17f92657a1a05490734a8d976 /target/linux/brcm63xx/dts/nb6-ser-r0.dts
parent71e0bd0165e4efc6c49cddaab80f1660b7fc58db (diff)
downloadmaster-31e0f0ae-4981c7da0d8e4a7c882f0665f8857cfd56e7b797.tar.gz
master-31e0f0ae-4981c7da0d8e4a7c882f0665f8857cfd56e7b797.tar.bz2
master-31e0f0ae-4981c7da0d8e4a7c882f0665f8857cfd56e7b797.zip
brcm63xx: make use of dt-includes
Now that we have a dtc command that invokes the preprocessor, make use of it and replace the magic numbers with KEY_* defines. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 46391
Diffstat (limited to 'target/linux/brcm63xx/dts/nb6-ser-r0.dts')
-rw-r--r--target/linux/brcm63xx/dts/nb6-ser-r0.dts12
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/dts/nb6-ser-r0.dts b/target/linux/brcm63xx/dts/nb6-ser-r0.dts
index ae16ad3965..c23ff904c3 100644
--- a/target/linux/brcm63xx/dts/nb6-ser-r0.dts
+++ b/target/linux/brcm63xx/dts/nb6-ser-r0.dts
@@ -1,6 +1,8 @@
/dts-v1/;
-/include/ "bcm6362.dtsi"
+#include "bcm6362.dtsi"
+
+#include <dt-bindings/input/input.h>
/ {
model = "SFR neufbox 6 (Sercomm)";
@@ -16,22 +18,22 @@
service {
label = "service";
gpios = <&gpio0 10 1>;
- linux,code = <0x100>;
+ linux,code = <BTN_0>;
};
wlan {
label = "wlan";
gpios = <&gpio0 12 1>;
- linux,code = <0xee>;
+ linux,code = <KEY_WLAN>;
};
reset {
label = "reset";
gpios = <&gpio0 24 1>;
- linux,code = <0x198>;
+ linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 25 1>;
- linux,code = <0x211>;
+ linux,code = <KEY_WPS_BUTTON>;
};
};
};