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:
@@ -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>;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user