ramips: use pinmux nodes from dtsi
[openwrt/openwrt.git] / target / linux / ramips / dts / WT1520-4M.dts
index b3cff48d81afb21e9908fa2f8f91cd98a39dac32..358d839534e50940669ae10449aa057e8f64dd41 100644 (file)
@@ -2,6 +2,11 @@
 
 #include "WT1520.dtsi"
 
+/ {
+       compatible = "nexx,wt1520-4m", "nexx,wt1520", "ralink,rt5350-soc";
+       model = "Nexx WT1520 (4M)";
+};
+
 &spi0 {
        status = "okay";
 
@@ -9,8 +14,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 {