From: Sven Roederer Date: Fri, 5 May 2017 20:18:44 +0000 (+0200) Subject: ramips: use GPIO_ACTIVE macros in UBNT-ERX.dts X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=4c3953ba291abfb1d28b1452b6e519367bf4f242;p=openwrt%2Fstaging%2Faparcar.git ramips: use GPIO_ACTIVE macros in UBNT-ERX.dts - reorder includes - use GPIO_ACTIVE_LOW macro instead of hardcoded "1" Signed-off-by: Sven Roederer --- diff --git a/target/linux/ramips/dts/UBNT-ERX.dts b/target/linux/ramips/dts/UBNT-ERX.dts index 0b2da95b30..cf86bbb7e6 100644 --- a/target/linux/ramips/dts/UBNT-ERX.dts +++ b/target/linux/ramips/dts/UBNT-ERX.dts @@ -1,9 +1,10 @@ -#include - /dts-v1/; #include "mt7621.dtsi" +#include +#include + / { model = "UBNT-ERX"; @@ -24,7 +25,7 @@ reset { label = "reset"; - gpios = <&gpio0 12 1>; + gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; linux,code = ; }; };