ramips: cleanup SPI flash device tree properties usage
[openwrt/openwrt.git] / target / linux / ramips / dts / PSG1208.dts
index 92a8de89f3b577303c988248e047f18d729897d9..547da2fdfa7353d4e4874aa343a57e0be2a62ff7 100644 (file)
@@ -2,6 +2,8 @@
 
 #include "mt7620a.dtsi"
 
+#include <dt-bindings/input/input.h>
+
 / {
        compatible = "PSG1208", "ralink,mt7620a-soc";
        model = "Phicomm PSG1208";
@@ -29,7 +31,7 @@
                reset {
                        label = "reset";
                        gpios = <&gpio0 1 1>;
-                       linux,code = <0x198>;
+                       linux,code = <KEY_RESTART>;
                };
        };
 };
@@ -49,8 +51,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "en25q64";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {
                        reg = <0x0000 0 0 0 0>;
                        device_type = "pci";
                        mediatek,mtd-eeprom = <&factory 0x8000>;
-                       mediatek,2ghz = <0>;
+                       ieee80211-freq-limit = <5000000 6000000>;
                };
        };
 };