lantiq: update TDW8970.dts to support buttons properly
[openwrt.git] / target / linux / lantiq / dts / TDW8970.dts
index a632086..006df1c 100644 (file)
@@ -6,7 +6,7 @@
        model = "TDW8970 - TP-LINK TD-W8970";
 
        chosen {
-               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit rootfstype=jffs2";
+               bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
        };
 
        memory@0 {
                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>;
                };
        };