ramips: add support for ZBT-WE1326
[openwrt/staging/florian.git] / target / linux / ramips / dts / AIR3GII.dts
index 2b6932da353d1cab6cb9212515bed62b444f1654..e9c1434734c76913e9a5fc52bddd1cc329887dd5 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "AIR3GII", "ralink,rt5350-soc";
        model = "AirLive Air3GII";
@@ -29,7 +31,7 @@
                wps {
                        label = "wps";
                        gpios = <&gpio0 7 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };
@@ -45,8 +47,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "en25q32b";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {