From 2792503f6dea9c3a925b84c57603203e866c7f43 Mon Sep 17 00:00:00 2001 From: David Bauer Date: Wed, 26 Aug 2020 15:39:54 +0200 Subject: [PATCH] ramips: fix logic level for DIR-645 buttons The D-Link DIR-645 currently uses an incorrect logic level for its buttons. Correct them in order to prevent unintentional activation of failsafe mode. Reported-by: Perry Melange Signed-off-by: David Bauer Signed-off-by: maurerr --- target/linux/ramips/dts/rt3662_dlink_dir-645.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts index 778ee3c1e76..23313759c79 100644 --- a/target/linux/ramips/dts/rt3662_dlink_dir-645.dts +++ b/target/linux/ramips/dts/rt3662_dlink_dir-645.dts @@ -27,13 +27,13 @@ reset { label = "reset"; - gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; linux,code = ; }; wps { label = "wps"; - gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; linux,code = ; }; };