ramips: replace remaining instances of ralink, port-map
[openwrt/openwrt.git] / target / linux / ramips / dts / RUT5XX.dts
index d84126307b58e3193fba3750946f2c5abb484f88..7a09d4312516e412bd26c7f1635a2a2a65b9fc9b 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt3050.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "RUT5XX", "ralink,rt3050-soc";
        model = "Teltonika RUT5XX";
@@ -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", "n25q128a13";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {