lantiq: Fix buttons for ARV752DPW
authorAndreas Eberlein <foodeas@aeberlein.de>
Thu, 29 Sep 2016 16:22:23 +0000 (18:22 +0200)
committerMathias Kresin <dev@kresin.me>
Wed, 19 Oct 2016 17:06:15 +0000 (19:06 +0200)
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 <foodeas@aeberlein.de>
target/linux/lantiq/dts/ARV752DPW.dts

index 743d3ece4a0cf8e263ba29df22a48391597d0ceb..a350daf257dd6f80bac64e12ec4e25180262c903 100644 (file)
                #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>;
                };
        };