diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-07-16 11:15:02 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-07-16 11:15:02 +0000 |
commit | 4981c7da0d8e4a7c882f0665f8857cfd56e7b797 (patch) | |
tree | 35a0c6443a2150a17f92657a1a05490734a8d976 /target/linux/brcm63xx/dts/dsl-275xb-d.dts | |
parent | 71e0bd0165e4efc6c49cddaab80f1660b7fc58db (diff) | |
download | mtk-20170518-4981c7da0d8e4a7c882f0665f8857cfd56e7b797.zip mtk-20170518-4981c7da0d8e4a7c882f0665f8857cfd56e7b797.tar.gz mtk-20170518-4981c7da0d8e4a7c882f0665f8857cfd56e7b797.tar.bz2 |
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/dsl-275xb-d.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/dsl-275xb-d.dts | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/target/linux/brcm63xx/dts/dsl-275xb-d.dts b/target/linux/brcm63xx/dts/dsl-275xb-d.dts index 44c4c5e..dd00e2c 100644 --- a/target/linux/brcm63xx/dts/dsl-275xb-d.dts +++ b/target/linux/brcm63xx/dts/dsl-275xb-d.dts @@ -1,6 +1,8 @@ /dts-v1/; -/include/ "bcm6318.dtsi" +#include "bcm6318.dtsi" + +#include <dt-bindings/input/input.h> / { model = "D-Link DSL-2750B/DSL-2751 rev D1"; @@ -16,19 +18,19 @@ wifi { label = "wifi"; gpios = <&gpio0 2 1>; - linux,code = <0xee>; + linux,code = <KEY_WLAN>; }; wps { label = "wps"; gpios = <&gpio1 1 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; reset { label = "reset"; gpios = <&gpio1 2 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; }; |