ramips: cleanup SPI flash device tree properties usage
[openwrt/openwrt.git] / target / linux / ramips / dts / PX-4885-4M.dts
index bd8a5a4c663a3c6deea1e6614a246b5dc5804c1a..bd3b271925d73314b5261200ad6e33f6e5eb7ee7 100644 (file)
@@ -2,6 +2,10 @@
 
 #include "PX-4885.dtsi"
 
+/ {
+       model = "7Links PX-4885 (4M)";
+};
+
 &spi0 {
        status = "okay";
 
@@ -9,8 +13,7 @@
                #address-cells = <1>;
                #size-cells = <1>;
                compatible = "jedec,spi-nor";
-               reg = <0 0>;
-               linux,modalias = "m25p80", "mx25l3205d";
+               reg = <0>;
                spi-max-frequency = <10000000>;
 
                partition@0 {