ramips: split Phicomm PSG1218 and PSG1218K2C
[openwrt/staging/noltari.git] / target / linux / ramips / dts / DIR-300-B7.dts
index a634bb77542f7a18e7410d8aee30c8b47d0cb009..9bb4345e33e8bf6e3983233e22eb45a5f9055ffe 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "rt5350.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "DIR-300-B7", "ralink,rt5350-soc";
        model = "D-Link DIR-300 B7";
                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>;
                };
        };
 };
@@ -47,8 +49,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "s25fl064k";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {