lantiq: update TDW8970.dts to support buttons properly
authorJohn Crispin <john@openwrt.org>
Mon, 11 Nov 2013 12:19:18 +0000 (12:19 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 11 Nov 2013 12:19:18 +0000 (12:19 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 38728

target/linux/lantiq/dts/TDW8970.dts

index a31cf9a74f845c18f66c26976baa3bd7c7101792..006df1c3a8e610d9a2fac44bbdd1d90952f4a4c8 100644 (file)
                wifi {
                        label = "wifi";
                        gpios = <&gpio 9 0>;
-                       linux,code = <0x101>;
+                       linux,code = <0xf7>;
                        linux,input-type = <5>; /* EV_SW */
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio 39 1>;
-                       linux,code = <0x102>;
+                       linux,code = <0x211>;
                };
        };