ramips: add support for ZBT-WE1326
[openwrt/staging/florian.git] / target / linux / ramips / dts / ASL26555-16M.dts
index 56f3c9d99c9fb854ece6b76f57338ca3886d2fe6..83798513fd1be48ecfad7dd9923d8b0ae6b58859 100644 (file)
@@ -2,9 +2,11 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ASL26555", "ralink,rt3050-soc";
-       model = "Alpha ASL26555";
+       model = "Alpha ASL26555 (16M)";
 
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 0>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio0 12 0>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_WPS_BUTTON>;
                };
        };
 
@@ -82,7 +84,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80", "s25sl12801";
                spi-max-frequency = <10000000>;
 
                partition@0 {