From 95fe3c51e5e1219fc29ce1776f94c23642e84474 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sun, 17 Dec 2017 00:02:06 +0100 Subject: ramips: fix polarity in gpio-export node If we need to set the initial output value to GPIOF_OUT_INIT_HIGH (1) to enable something, the pin is ACTIVE_HIGH. The same applies to GPIOF_OUT_INIT_LOW (0) and ACTIVE_LOW. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/DWR-512-B.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/DWR-512-B.dts') diff --git a/target/linux/ramips/dts/DWR-512-B.dts b/target/linux/ramips/dts/DWR-512-B.dts index f531df80a1..afcac21c6c 100644 --- a/target/linux/ramips/dts/DWR-512-B.dts +++ b/target/linux/ramips/dts/DWR-512-B.dts @@ -68,7 +68,7 @@ modem3g_enable { gpio-export,name = "modem3g_enable"; gpio-export,output = <1>; - gpios = <&gpio0 18 GPIO_ACTIVE_LOW>; + gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; }; }; }; -- cgit v1.2.3