ramips: add support for ZBT-WE1326
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / RT-G32-B1.dts
index ab8e3fdad3c12e921adc0e3c50a0e14931efa875..38d6992f0cd155514fbab81b0945100a4dc3ec08 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "RT-G32-B1", "ralink,rt3050-soc";
        model = "Asus RT-G32 B1";
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio0 0 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };
@@ -34,7 +36,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80", "mx25l3205d";
                spi-max-frequency = <10000000>;
 
                partition@0 {