lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 30 May 2013 16:01:06 +0000 (16:01 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36783 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/lantiq/dts/ARV752DPW.dts

index 7254f5c..96ac4a5 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>;
                };
        };