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 | de0f916de62b57c64e3f599b4cfe52b94ea63c0d (patch) | |
tree | d0cd4e2f8ffe85fc231c3ce9b5b0587656ce1d16 /target/linux/brcm63xx/dts/a226m.dts | |
parent | 5713daa1e7082429ab25c5c9e233854b5a7739d4 (diff) | |
download | master-187ad058-de0f916de62b57c64e3f599b4cfe52b94ea63c0d.tar.gz master-187ad058-de0f916de62b57c64e3f599b4cfe52b94ea63c0d.tar.bz2 master-187ad058-de0f916de62b57c64e3f599b4cfe52b94ea63c0d.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46391 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/dts/a226m.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/a226m.dts | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/brcm63xx/dts/a226m.dts b/target/linux/brcm63xx/dts/a226m.dts index 13400f2b42..d3f628da84 100644 --- a/target/linux/brcm63xx/dts/a226m.dts +++ b/target/linux/brcm63xx/dts/a226m.dts @@ -1,6 +1,8 @@ /dts-v1/; -/include/ "bcm6358.dtsi" +#include "bcm6358.dtsi" + +#include <dt-bindings/input/input.h> / { model = "Pirelli A226M"; @@ -16,12 +18,12 @@ wps { label = "wps"; gpios = <&gpio1 2 1>; - linux,code = <0x211>; + linux,code = <KEY_WPS_BUTTON>; }; reset { label = "reset"; gpios = <&gpio1 5 1>; - linux,code = <0x198>; + linux,code = <KEY_RESTART>; }; }; |