ramips: Archer C50v1: fix power led
[openwrt/openwrt.git] / target / linux / ramips / dts / X8.dts
index 1c8b37af09a2ff23e44078b3455e89764b657299..de5170e2adb541167ec7a637b553b87232a82f94 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "X8", "ralink,rt5350-soc";
        model = "Poray X8";
@@ -24,7 +26,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -36,8 +38,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "gd25q64";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {