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/nb4-fxc-r1.dts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'target/linux/brcm63xx/dts/nb4-fxc-r1.dts') diff --git a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts index 0e9cc24986..65f26c7281 100644 --- a/target/linux/brcm63xx/dts/nb4-fxc-r1.dts +++ b/target/linux/brcm63xx/dts/nb4-fxc-r1.dts @@ -1,6 +1,8 @@ /dts-v1/; -/include/ "bcm6358.dtsi" +#include "bcm6358.dtsi" + +#include / { model = "SFR Neuf Box 4 (Foxconn)"; @@ -36,22 +38,22 @@ service { label = "service"; gpios = <&gpio0 27 1>; - linux,code = <0x100>; + linux,code = ; }; clip { label = "clip"; gpios = <&gpio0 31 1>; - linux,code = <0x101>; + linux,code = ; }; reset { label = "reset"; gpios = <&gpio1 2 1>; - linux,code = <0x198>; + linux,code = ; }; wps { label = "wps"; gpios = <&gpio1 5 1>; - linux,code = <0x211>; + linux,code = ; }; }; -- cgit v1.2.3