From 4c3953ba291abfb1d28b1452b6e519367bf4f242 Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Fri, 5 May 2017 22:18:44 +0200 Subject: [PATCH] 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 --- target/linux/ramips/dts/UBNT-ERX.dts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/target/linux/ramips/dts/UBNT-ERX.dts b/target/linux/ramips/dts/UBNT-ERX.dts index 0b2da95b30f0..cf86bbb7e67b 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 = ; }; }; -- 2.30.2