ramips: Archer C50v1: fix power led
[openwrt/openwrt.git] / target / linux / ramips / dts / DIR-610-A1.dts
index 9ec66b4b003c19a746265702dcfc819aa2fb3dc1..a70b4604b01ae2d0e10d8b8f5761c4a711781bb8 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "DIR-610-A1", "ralink,rt5350-soc";
        model = "D-Link DIR-610 A1";
                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>;
                };
        };
 };
@@ -48,7 +50,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80";
                spi-max-frequency = <10000000>;
 
                partition@0 {