[OpenWrt-Devel,v2] ramips: fix inverted reset led for ravpower wd03
diff mbox series

Message ID 20191203223313.11820-1-moritzwarning@web.de
State Superseded
Headers show
Series
  • [OpenWrt-Devel,v2] ramips: fix inverted reset led for ravpower wd03
Related show

Commit Message

Moritz Warning Dec. 3, 2019, 10:33 p.m. UTC
Signed-off-by: Moritz Warning <moritzwarning@web.de>
---
 target/linux/ramips/dts/mt7620n_ravpower_wd03.dts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.23.0

Comments

Daniel Golle Dec. 3, 2019, 10:37 p.m. UTC | #1
Still, now commit description and title mentions 'led' though this
is a key and not an LED.

On Tue, Dec 03, 2019 at 11:33:13PM +0100, Moritz Warning wrote:
> Signed-off-by: Moritz Warning <moritzwarning@web.de>
> ---
>  target/linux/ramips/dts/mt7620n_ravpower_wd03.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts b/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts
> index 7dcff46917..bcc1e2c27b 100644
> --- a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts
> +++ b/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts
> @@ -32,7 +32,7 @@
> 
>  		reset {
>  			label = "reset";
> -			gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
> +			gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
>  			linux,code = <KEY_RESTART>;
>  		};
>  	};
> --
> 2.23.0
> 
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Patch
diff mbox series

diff --git a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts b/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts
index 7dcff46917..bcc1e2c27b 100644
--- a/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts
+++ b/target/linux/ramips/dts/mt7620n_ravpower_wd03.dts
@@ -32,7 +32,7 @@ 

 		reset {
 			label = "reset";
-			gpios = <&gpio2 1 GPIO_ACTIVE_HIGH>;
+			gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
 			linux,code = <KEY_RESTART>;
 		};
 	};