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
This commit is contained in:
Jonas Gorski
2015-07-16 11:15:02 +00:00
parent 71e0bd0165
commit 4981c7da0d
78 changed files with 340 additions and 184 deletions

View File

@@ -1,6 +1,8 @@
/dts-v1/;
/include/ "bcm6358.dtsi"
#include "bcm6358.dtsi"
#include <dt-bindings/input/input.h>
/ {
model = "BT Home Hub 2.0 Type A";
@@ -42,12 +44,12 @@
reset {
label = "reset";
gpios = <&gpio0 9 1>;
linux,code = <0x198>;
linux,code = <KEY_RESTART>;
};
wps {
label = "wps";
gpios = <&gpio0 11 1>;
linux,code = <0x211>;
linux,code = <KEY_WPS_BUTTON>;
};
};