ramips: cleanup SPI flash device tree properties usage
[openwrt/staging/chunkeey.git] / target / linux / ramips / dts / M4-4M.dts
index 0502714c3b0e8b031fd6b29ba276a83f033e53a9..3e147e53b3833f0f5e0dc9fb42712b0e680f6f41 100644 (file)
@@ -2,9 +2,11 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "M4", "ralink,rt5350-soc";
-       model = "Poray M4";
+       model = "Poray M4 (4M)";
 
        gpio-leds {
                compatible = "gpio-leds";
@@ -24,7 +26,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -37,7 +39,6 @@
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
                reg = <0>;
-               linux,modalias = "m25p80", "pm25lq032";
                spi-max-frequency = <10000000>;
 
                partition@0 {