From: blogic Date: Thu, 30 May 2013 16:01:06 +0000 (+0000) Subject: lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=7a8b8e816654a00b08e0bd93a1b579abc4d2f4e6;p=openwrt.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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36783 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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>; }; };