lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting
authorJohn Crispin <john@openwrt.org>
Thu, 30 May 2013 16:01:06 +0000 (16:01 +0000)
committerJohn Crispin <john@openwrt.org>
Thu, 30 May 2013 16:01:06 +0000 (16:01 +0000)
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 <rafael@gieschke.de>
SVN-Revision: 36783

target/linux/lantiq/dts/ARV752DPW.dts

index 7254f5ce73832b473c74353430993cbc12160130..96ac4a522dc0f1cb4ab24ac26d248e6b052c0b21 100644 (file)
                };*/
                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>;
                };
        };