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/ArcherMR200.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/ArcherMR200.dts') diff --git a/target/linux/ramips/dts/ArcherMR200.dts b/target/linux/ramips/dts/ArcherMR200.dts index 2736a05b35..ec28d39672 100644 --- a/target/linux/ramips/dts/ArcherMR200.dts +++ b/target/linux/ramips/dts/ArcherMR200.dts @@ -92,7 +92,7 @@ power_usb { gpio-export,name = "power_usb1"; gpio-export,output = <1>; - gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; + gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; }; }; -- cgit v1.2.3