ramips: Archer C50v1: fix LEDs active levels
[openwrt/openwrt.git] / target / linux / ramips / dts / MZK-EX750NP.dts
index cecc58a96e3b48d8216a85617a92d1e0dc82ea03..3aa2a57dfb07c2b60e4859e22b54b1a8b1014e91 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "ralink,mt7620a-soc";
        model = "Planex MZK-EX750NP";
                reset {
                        label = "reset";
                        gpios = <&gpio0 9 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
 
                wps {
                        label = "wps";
                        gpios = <&gpio0 13 0>;
-                       linux,code = <0x211>;
+                       linux,code = <KEY_RFKILL>;
                };
        };
 };
@@ -80,8 +82,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "w25q64";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {