From 4981c7da0d8e4a7c882f0665f8857cfd56e7b797 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Thu, 16 Jul 2015 11:15:02 +0000 Subject: 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 SVN-Revision: 46391 --- target/linux/brcm63xx/dts/hg556a-c.dts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'target/linux/brcm63xx/dts/hg556a-c.dts') diff --git a/target/linux/brcm63xx/dts/hg556a-c.dts b/target/linux/brcm63xx/dts/hg556a-c.dts index 4c845edd4a..9798091871 100644 --- a/target/linux/brcm63xx/dts/hg556a-c.dts +++ b/target/linux/brcm63xx/dts/hg556a-c.dts @@ -1,6 +1,8 @@ /dts-v1/; -/include/ "bcm6358.dtsi" +#include "bcm6358.dtsi" + +#include / { model = "Huawei EchoLife HG556a (version C)"; @@ -16,22 +18,22 @@ help { label = "help"; gpios = <&gpio0 8 1>; - linux,code = <0x8a>; + linux,code = ; }; wlan { label = "wlan"; gpios = <&gpio0 9 1>; - linux,code = <0xee>; + linux,code = ; }; restart { label = "restart"; gpios = <&gpio0 10 1>; - linux,code = <0x198>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio0 11 1>; - linux,code = <0xab>; + linux,code = ; }; }; -- cgit v1.2.3