ramips: add support for ZBT-WE1326
[openwrt/staging/florian.git] / target / linux / ramips / dts / MLWG2.dts
index c9f61c735f373919131bf03cec6769454e6f82c7..fc281934e16162fc8ea587655d73b920a99e52d6 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620n.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "mlwg2", "ralink,mt7620n-soc";
        model = "Kingston MLWG2";
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                system {
                        label = "system";
                        gpios = <&gpio0 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_RFKILL>;
                };
        };
 };
@@ -60,7 +62,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80";
                spi-max-frequency = <10000000>;
 
                partition@0 {