From: Andreas Eberlein Date: Thu, 29 Sep 2016 16:22:23 +0000 (+0200) Subject: lantiq: Fix buttons for ARV752DPW X-Git-Tag: v17.01.0-rc1~1099 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=72d12672de933274f6a0c54277e5621b0ea275e1 lantiq: Fix buttons for ARV752DPW The GPIO for reset switch is wrong in definition. Further the key codes for the two additional buttons are ineffective. Both is fixed here. Signed-off-by: Andreas Eberlein --- diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts index 743d3ece4a..a350daf257 100644 --- a/target/linux/lantiq/dts/ARV752DPW.dts +++ b/target/linux/lantiq/dts/ARV752DPW.dts @@ -157,24 +157,24 @@ #size-cells = <0>; poll-interval = <100>; - /* wps { + wps { label = "wps"; gpios = <&gpio 11 1>; linux,code = <0x211>; - }; */ + }; restart { label = "restart"; gpios = <&gpio 12 1>; - linux,code = <0x110>; + linux,code = <0x100>; }; dsl { label = "dsl"; gpios = <&gpio 13 1>; - linux,code = <0x111>; + linux,code = <0x101>; }; reset { label = "reset"; - gpios = <&gpio 28 1>; + gpios = <&gpio 30 1>; linux,code = <0x198>; }; };