lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting

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
This commit is contained in:
John Crispin 2013-05-30 16:01:06 +00:00
parent c2b1e9eeef
commit e60cb01c45

View File

@ -153,17 +153,17 @@
};*/ };*/
restart { restart {
label = "restart"; label = "restart";
gpios = <&gpio 12 0>; gpios = <&gpio 12 1>;
linux,code = <0x110>; linux,code = <0x110>;
}; };
dsl { dsl {
label = "dsl"; label = "dsl";
gpios = <&gpio 13 0>; gpios = <&gpio 13 1>;
linux,code = <0x111>; linux,code = <0x111>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&gpio 28 0>; gpios = <&gpio 28 1>;
linux,code = <0x198>; linux,code = <0x198>;
}; };
}; };