lantiq: update TDW8970.dts to support buttons properly
[openwrt.git] / target / linux / lantiq / dts / TDW8970.dts
index 32fea9f..006df1c 100644 (file)
 
                        partition@20000 {
                                reg = <0x20000 0x7a0000>;
-                               label = "linux";
+                               label = "firmware";
                        };
 
                        partition@7c0000 {
                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>;
                };
        };