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/BR-6475ND.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ramips/dts/BR-6475ND.dts') diff --git a/target/linux/ramips/dts/BR-6475ND.dts b/target/linux/ramips/dts/BR-6475ND.dts index 4e52da04b5..11611b083f 100644 --- a/target/linux/ramips/dts/BR-6475ND.dts +++ b/target/linux/ramips/dts/BR-6475ND.dts @@ -103,7 +103,7 @@ usb { gpio-export,name="usb"; gpio-export,output=<0>; - gpios = <&gpio0 19 GPIO_ACTIVE_HIGH>; + gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; }; }; */ -- cgit v1.2.3