The GPIO buttons of ARV752DPW are active low.

Treating them as active high caused a reboot loop as a reset-button
press is detected by gpio-button-hotplug/gpio-keys-polled on startup.

This fixes: https://dev.openwrt.org/ticket/12642

Signed-off-by: Rafael Gieschke <raf...@gieschke.de>
---
 target/linux/lantiq/dts/ARV752DPW.dts | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/target/linux/lantiq/dts/ARV752DPW.dts 
b/target/linux/lantiq/dts/ARV752DPW.dts
index 7254f5c..96ac4a5 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -153,17 +153,17 @@
                };*/
                restart {
                        label = "restart";
-                       gpios = <&gpio 12 0>;
+                       gpios = <&gpio 12 1>;
                        linux,code = <0x110>;
                };
                dsl {
                        label = "dsl";
-                       gpios = <&gpio 13 0>;
+                       gpios = <&gpio 13 1>;
                        linux,code = <0x111>;
                };
                reset {
                        label = "reset";
-                       gpios = <&gpio 28 0>;
+                       gpios = <&gpio 28 1>;
                        linux,code = <0x198>;
                };
        };
-- 
1.8.1.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to