From de0f916de62b57c64e3f599b4cfe52b94ea63c0d 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46391 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/brcm63xx/dts/nb4-ser-r0.dts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'target/linux/brcm63xx/dts/nb4-ser-r0.dts') diff --git a/target/linux/brcm63xx/dts/nb4-ser-r0.dts b/target/linux/brcm63xx/dts/nb4-ser-r0.dts index d7abbf1ab8..1a48b72822 100644 --- a/target/linux/brcm63xx/dts/nb4-ser-r0.dts +++ b/target/linux/brcm63xx/dts/nb4-ser-r0.dts @@ -1,6 +1,8 @@ /dts-v1/; -/include/ "bcm6358.dtsi" +#include "bcm6358.dtsi" + +#include / { model = "SFR Neuf Box 4 (Sercomm)"; @@ -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