From: John Crispin Date: Thu, 30 May 2013 16:01:06 +0000 (+0000) Subject: lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e60cb01c45e0f3d7172ecf0717d0e8b84170d613;p=librecmc%2Flibrecmc.git 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 SVN-Revision: 36783 --- diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts index 7254f5ce73..96ac4a522d 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>; }; };