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/WNDR3700V5.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/WNDR3700V5.dts') diff --git a/target/linux/ramips/dts/WNDR3700V5.dts b/target/linux/ramips/dts/WNDR3700V5.dts index c7800115d4..ce96440369 100644 --- a/target/linux/ramips/dts/WNDR3700V5.dts +++ b/target/linux/ramips/dts/WNDR3700V5.dts @@ -64,7 +64,7 @@ usbpower { gpio-export,name = "usbpower"; gpio-export,output = <1>; - gpios = <&gpio0 10 GPIO_ACTIVE_LOW>; + gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>; }; }; }; -- cgit v1.2.3