ramips: add support for ZBT-WE1326
[openwrt/staging/florian.git] / target / linux / ramips / dts / DB-WRT01.dts
index 8014859bf538fbdd9c93a9331654011c8a8e781d..c4a32ea9e9a29117b43bd42c41cc194ba42bf8aa 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ralink,mt7620a-soc";
        model = "Planex DB-WRT01";
@@ -24,7 +26,7 @@
                s1 {
                        label = "wps";
                        gpios = <&gpio0 2 1>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 };
@@ -40,8 +42,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "mx25l6405d";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {